Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Darwin APIs #525

Merged
merged 21 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,413 changes: 1,413 additions & 0 deletions openapi-specs/cspm/CDEMMicroServices.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions openapi-specs/cspm/CloudAccounts(AWS).json
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,14 @@
"Feature": {
"description": "Model for Feature",
"properties": {
"defaultMemberState": {
"description": "Enable or disable the feature for all the member accounts linked to this organization. You can enable or disable the defaultMemberState only if the feature state is enabled for the organization. Applicable only for ```Serverless Function Scanning``` and ```Agentless Workload Scanning``` features.",
"enum": [
"enabled",
"disabled"
],
"type": "string"
},
"name": {
"description": "Feature name obtained from **[Fetch Supported Features endpoint](/prisma-cloud/api/cspm/fetch-supported-features)**",
"example": "Remediation",
Expand Down
51 changes: 51 additions & 0 deletions openapi-specs/cspm/CloudAccounts(All).json
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@
"format": "int32",
"type": "integer"
},
"autoConsent": {
"type": "string"
},
"cloudAccountOwner": {
"description": "Cloud account owner",
"type": "string"
Expand Down Expand Up @@ -332,6 +335,9 @@
"readOnly": true,
"type": "string"
},
"autoConsent": {
"type": "string"
},
"cloudAccountOwner": {
"description": "Cloud account owner",
"type": "string"
Expand Down Expand Up @@ -501,6 +507,9 @@
"readOnly": true,
"type": "string"
},
"autoConsent": {
"type": "string"
},
"cloudAccountOwner": {
"description": "Cloud account owner",
"type": "string"
Expand All @@ -525,6 +534,9 @@
"readOnly": true,
"type": "string"
},
"customMemberRoleNameEnabled": {
"type": "boolean"
},
"defaultAccountGroupId": {
"description": "Default Account Group",
"type": "string"
Expand Down Expand Up @@ -630,6 +642,9 @@
"description": "Role ARN",
"type": "string"
},
"skipOverrideMemberRoleName": {
"type": "boolean"
},
"storageScanConfig": {
"allOf": [
{
Expand All @@ -647,6 +662,9 @@
"storageUUID": {
"description": "Storage UUID",
"type": "string"
},
"unifiedCftDisabled": {
"type": "boolean"
}
},
"type": "object"
Expand Down Expand Up @@ -688,6 +706,9 @@
"format": "int32",
"type": "integer"
},
"autoConsent": {
"type": "string"
},
"cloudAccountOwner": {
"description": "Cloud account owner",
"type": "string"
Expand Down Expand Up @@ -829,6 +850,9 @@
"format": "int32",
"type": "integer"
},
"autoConsent": {
"type": "string"
},
"cloudAccountOwner": {
"description": "Cloud account owner",
"type": "string"
Expand Down Expand Up @@ -1055,6 +1079,9 @@
"format": "int32",
"type": "integer"
},
"autoConsent": {
"type": "string"
},
"cloudAccountOwner": {
"description": "Cloud account owner",
"type": "string"
Expand Down Expand Up @@ -1162,6 +1189,13 @@
"CloudAccountPatchModel": {
"description": "Model for Account Group View",
"properties": {
"autoConsent": {
"description": "Auto Consent State",
"enum": [
"enabled/disabled"
],
"type": "string"
},
"enabled": {
"description": "Cloud Account Status",
"enum": [
Expand Down Expand Up @@ -1349,6 +1383,14 @@
"Feature": {
"description": "Model for Feature",
"properties": {
"defaultMemberState": {
"description": "Enable or disable the feature for all the member accounts linked to this organization. You can enable or disable the defaultMemberState only if the feature state is enabled for the organization. Applicable only for Serverless Function Scanning and Agentless Workload Scanning features.",
"enum": [
"enabled",
"disabled"
],
"type": "string"
},
"name": {
"description": "Feature name obtained from **[Fetch Supported Features endpoint](/prisma-cloud/api/cspm/fetch-supported-features)**",
"example": "Remediation",
Expand Down Expand Up @@ -1402,6 +1444,9 @@
"format": "int32",
"type": "integer"
},
"autoConsent": {
"type": "string"
},
"cloudAccountOwner": {
"description": "Cloud account owner",
"type": "string"
Expand Down Expand Up @@ -1543,6 +1588,9 @@
"format": "int32",
"type": "integer"
},
"autoConsent": {
"type": "string"
},
"cloudAccountOwner": {
"description": "Cloud account owner",
"type": "string"
Expand Down Expand Up @@ -1723,6 +1771,9 @@
"format": "int32",
"type": "integer"
},
"autoConsent": {
"type": "string"
},
"cloudAccountOwner": {
"description": "Cloud account owner",
"type": "string"
Expand Down
16 changes: 16 additions & 0 deletions openapi-specs/cspm/CloudAccounts(Azure).json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@
"AzureCloudAccountRequestModel": {
"description": "Model containing the request for Azure Standalone and Tenant Cloud Account",
"properties": {
"accountGroupMode": {
"description": "*Applicable only for role: **System Admin** and account type: **tenant** when ```rootSyncEnabled``` is set to ```true```.*\n\n* **MANUAL** - Create account groups manually in Prisma Cloud.\n\n* **AUTOMAP** - Automatically creates the account groups in Prisma Cloud replicating the hierarchy in Azure Cloud.",
"enum": [
"MANUAL",
"AUTOMAP"
],
"type": "string"
},
"clientId": {
"description": "Application (Client) ID",
"type": "string"
Expand Down Expand Up @@ -222,6 +230,14 @@
"Feature": {
"description": "Model for Feature",
"properties": {
"defaultMemberState": {
"description": "Enable or disable the feature for all the member accounts linked to this organization. You can enable or disable the defaultMemberState only if the feature state is enabled for the organization. Applicable only for ```Serverless Function Scanning``` and ```Agentless Workload Scanning``` features.",
"enum": [
"enabled",
"disabled"
],
"type": "string"
},
"name": {
"description": "Feature name obtained from **[Fetch Supported Features endpoint](/prisma-cloud/api/cspm/fetch-supported-features)**",
"example": "Remediation",
Expand Down
25 changes: 25 additions & 0 deletions openapi-specs/cspm/CloudAccounts(GCP).json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@
"Feature": {
"description": "Model for Feature",
"properties": {
"defaultMemberState": {
"description": "Enable or disable the feature for all the member accounts linked to this organization. You can enable or disable the defaultMemberState only if the feature state is enabled for the organization. Applicable only for ```Serverless Function Scanning``` and ```Agentless Workload Scanning``` features.",
"enum": [
"enabled",
"disabled"
],
"type": "string"
},
"name": {
"description": "Feature name obtained from **[Fetch Supported Features endpoint](/prisma-cloud/api/cspm/fetch-supported-features)**",
"example": "Remediation",
Expand Down Expand Up @@ -356,6 +364,23 @@
}
},
"type": "object"
},
"RestApiResponseModel": {
"description": "Model for RestApiResponse",
"properties": {
"nextPageToken": {
"description": "Next page token",
"type": "string"
},
"response": {
"description": "Response",
"items": {
"$ref": "#/components/schemas/GcpNodeModel"
},
"type": "array"
}
},
"type": "object"
}
}
},
Expand Down
17 changes: 17 additions & 0 deletions openapi-specs/cspm/CloudAccounts(OCIandAlibaba).json
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,14 @@
"Feature": {
"description": "Model for Feature",
"properties": {
"defaultMemberState": {
"description": "Enable or disable the feature for all the member accounts linked to this organization. You can enable or disable the defaultMemberState only if the feature state is enabled for the organization. Applicable only for Serverless Function Scanning and Agentless Workload Scanning features.",
"enum": [
"enabled",
"disabled"
],
"type": "string"
},
"name": {
"description": "Feature name obtained from **[Fetch Supported Features endpoint](/prisma-cloud/api/cspm/fetch-supported-features)**",
"example": "Remediation",
Expand Down Expand Up @@ -1701,6 +1709,9 @@
"required": true,
"schema": {
"enum": [
"aws",
"azure",
"gcp",
"alibaba_cloud",
"oci"
],
Expand Down Expand Up @@ -1778,6 +1789,9 @@
"required": true,
"schema": {
"enum": [
"aws",
"azure",
"gcp",
"alibaba_cloud",
"oci"
],
Expand Down Expand Up @@ -1845,6 +1859,9 @@
"required": true,
"schema": {
"enum": [
"aws",
"azure",
"gcp",
"alibaba_cloud",
"oci"
],
Expand Down
Loading
Loading