Skip to content

Commit

Permalink
feat(securitycenter)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### securitycenter:v1beta1

The following keys were added:
- schemas.AzureResourceGroup.properties.id.description
- schemas.AzureResourceGroup.properties.id.type
- schemas.AzureTenant.properties.displayName.description
- schemas.AzureTenant.properties.displayName.type
- schemas.CelPolicySpec.description
- schemas.CelPolicySpec.id
- schemas.CelPolicySpec.properties.spec.description
- schemas.CelPolicySpec.properties.spec.type
- schemas.CelPolicySpec.type
- schemas.GoogleCloudSecuritycenterV1CustomConfig.properties.celPolicy.$ref
- schemas.GoogleCloudSecuritycenterV1CustomConfig.properties.celPolicy.description
- schemas.GoogleCloudSecuritycenterV2AzureResourceGroup.properties.id.description
- schemas.GoogleCloudSecuritycenterV2AzureResourceGroup.properties.id.type
- schemas.GoogleCloudSecuritycenterV2AzureTenant.properties.displayName.description
- schemas.GoogleCloudSecuritycenterV2AzureTenant.properties.displayName.type

#### securitycenter:v1beta2

The following keys were added:
- resources.folders.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.folders.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.folders.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.folders.resources.eventThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.folders.resources.eventThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.folders.resources.eventThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.folders.resources.securityHealthAnalyticsSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.folders.resources.securityHealthAnalyticsSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.folders.resources.securityHealthAnalyticsSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.folders.resources.virtualMachineThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.folders.resources.virtualMachineThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.folders.resources.virtualMachineThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.folders.resources.webSecurityScannerSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.folders.resources.webSecurityScannerSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.folders.resources.webSecurityScannerSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.organizations.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.organizations.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.organizations.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.organizations.resources.eventThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.organizations.resources.eventThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.organizations.resources.eventThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.organizations.resources.securityHealthAnalyticsSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.organizations.resources.securityHealthAnalyticsSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.organizations.resources.securityHealthAnalyticsSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.organizations.resources.virtualMachineThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.organizations.resources.virtualMachineThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.organizations.resources.virtualMachineThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.organizations.resources.webSecurityScannerSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.organizations.resources.webSecurityScannerSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.organizations.resources.webSecurityScannerSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.projects.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.projects.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.projects.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.projects.resources.eventThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.projects.resources.eventThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.projects.resources.eventThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.projects.resources.locations.resources.clusters.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.projects.resources.locations.resources.clusters.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.projects.resources.locations.resources.clusters.resources.containerThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.projects.resources.securityHealthAnalyticsSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.projects.resources.securityHealthAnalyticsSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.projects.resources.securityHealthAnalyticsSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.projects.resources.virtualMachineThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.projects.resources.virtualMachineThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.projects.resources.virtualMachineThreatDetectionSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- resources.projects.resources.webSecurityScannerSettings.methods.calculate.parameters.showEligibleModulesOnly.description
- resources.projects.resources.webSecurityScannerSettings.methods.calculate.parameters.showEligibleModulesOnly.location
- resources.projects.resources.webSecurityScannerSettings.methods.calculate.parameters.showEligibleModulesOnly.type
- schemas.AzureTenant.properties.displayName.description
- schemas.AzureTenant.properties.displayName.type
- schemas.GoogleCloudSecuritycenterV2AzureTenant.properties.displayName.description
- schemas.GoogleCloudSecuritycenterV2AzureTenant.properties.displayName.type

#### securitycenter:v1

The following keys were deleted:
- resources.folders.resources.locations.resources.muteConfigs.methods.create.description
- resources.folders.resources.locations.resources.muteConfigs.methods.create.flatPath
- resources.folders.resources.locations.resources.muteConfigs.methods.create.httpMethod
- resources.folders.resources.locations.resources.muteConfigs.methods.create.id
- resources.folders.resources.locations.resources.muteConfigs.methods.create.parameterOrder
- resources.folders.resources.locations.resources.muteConfigs.methods.create.parameters.muteConfigId.description
- resources.folders.resources.locations.resources.muteConfigs.methods.create.parameters.muteConfigId.location
- resources.folders.resources.locations.resources.muteConfigs.methods.create.parameters.muteConfigId.type
- resources.folders.resources.locations.resources.muteConfigs.methods.create.parameters.parent.description
- resources.folders.resources.locations.resources.muteConfigs.methods.create.parameters.parent.location
- resources.folders.resources.locations.resources.muteConfigs.methods.create.parameters.parent.pattern
- resources.folders.resources.locations.resources.muteConfigs.methods.create.parameters.parent.required
- resources.folders.resources.locations.resources.muteConfigs.methods.create.parameters.parent.type
- resources.folders.resources.locations.resources.muteConfigs.methods.create.path
- resources.folders.resources.locations.resources.muteConfigs.methods.create.request.$ref
- resources.folders.resources.locations.resources.muteConfigs.methods.create.response.$ref
- resources.folders.resources.locations.resources.muteConfigs.methods.create.scopes
- resources.folders.resources.locations.resources.muteConfigs.methods.list.description
- resources.folders.resources.locations.resources.muteConfigs.methods.list.flatPath
- resources.folders.resources.locations.resources.muteConfigs.methods.list.httpMethod
- resources.folders.resources.locations.resources.muteConfigs.methods.list.id
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameterOrder
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.description
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.format
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.location
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.type
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.pageToken.description
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.pageToken.location
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.pageToken.type
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.parent.description
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.parent.location
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.parent.pattern
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.parent.required
- resources.folders.resources.locations.resources.muteConfigs.methods.list.parameters.parent.type
- resources.folders.resources.locations.resources.muteConfigs.methods.list.path
- resources.folders.resources.locations.resources.muteConfigs.methods.list.response.$ref
- resources.folders.resources.locations.resources.muteConfigs.methods.list.scopes
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.description
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.flatPath
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.httpMethod
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.id
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.parameterOrder
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.parameters.muteConfigId.description
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.parameters.muteConfigId.location
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.parameters.muteConfigId.type
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.parameters.parent.description
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.parameters.parent.location
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.parameters.parent.pattern
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.parameters.parent.required
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.parameters.parent.type
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.path
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.request.$ref
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.response.$ref
- resources.organizations.resources.locations.resources.muteConfigs.methods.create.scopes
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.description
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.flatPath
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.httpMethod
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.id
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameterOrder
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.description
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.format
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.location
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.type
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.pageToken.description
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.pageToken.location
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.pageToken.type
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.parent.description
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.parent.location
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.parent.pattern
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.parent.required
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.parameters.parent.type
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.path
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.response.$ref
- resources.organizations.resources.locations.resources.muteConfigs.methods.list.scopes
- resources.projects.resources.locations.resources.muteConfigs.methods.create.description
- resources.projects.resources.locations.resources.muteConfigs.methods.create.flatPath
- resources.projects.resources.locations.resources.muteConfigs.methods.create.httpMethod
- resources.projects.resources.locations.resources.muteConfigs.methods.create.id
- resources.projects.resources.locations.resources.muteConfigs.methods.create.parameterOrder
- resources.projects.resources.locations.resources.muteConfigs.methods.create.parameters.muteConfigId.description
- resources.projects.resources.locations.resources.muteConfigs.methods.create.parameters.muteConfigId.location
- resources.projects.resources.locations.resources.muteConfigs.methods.create.parameters.muteConfigId.type
- resources.projects.resources.locations.resources.muteConfigs.methods.create.parameters.parent.description
- resources.projects.resources.locations.resources.muteConfigs.methods.create.parameters.parent.location
- resources.projects.resources.locations.resources.muteConfigs.methods.create.parameters.parent.pattern
- resources.projects.resources.locations.resources.muteConfigs.methods.create.parameters.parent.required
- resources.projects.resources.locations.resources.muteConfigs.methods.create.parameters.parent.type
- resources.projects.resources.locations.resources.muteConfigs.methods.create.path
- resources.projects.resources.locations.resources.muteConfigs.methods.create.request.$ref
- resources.projects.resources.locations.resources.muteConfigs.methods.create.response.$ref
- resources.projects.resources.locations.resources.muteConfigs.methods.create.scopes
- resources.projects.resources.locations.resources.muteConfigs.methods.list.description
- resources.projects.resources.locations.resources.muteConfigs.methods.list.flatPath
- resources.projects.resources.locations.resources.muteConfigs.methods.list.httpMethod
- resources.projects.resources.locations.resources.muteConfigs.methods.list.id
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameterOrder
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.description
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.format
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.location
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.pageSize.type
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.pageToken.description
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.pageToken.location
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.pageToken.type
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.parent.description
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.parent.location
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.parent.pattern
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.parent.required
- resources.projects.resources.locations.resources.muteConfigs.methods.list.parameters.parent.type
- resources.projects.resources.locations.resources.muteConfigs.methods.list.path
- resources.projects.resources.locations.resources.muteConfigs.methods.list.response.$ref
- resources.projects.resources.locations.resources.muteConfigs.methods.list.scopes

The following keys were added:
- schemas.AzureResourceGroup.properties.id.description
- schemas.AzureResourceGroup.properties.id.type
- schemas.AzureTenant.properties.displayName.description
- schemas.AzureTenant.properties.displayName.type
- schemas.CelPolicySpec.description
- schemas.CelPolicySpec.id
- schemas.CelPolicySpec.properties.spec.description
- schemas.CelPolicySpec.properties.spec.type
- schemas.CelPolicySpec.type
- schemas.GoogleCloudSecuritycenterV1CustomConfig.properties.celPolicy.$ref
- schemas.GoogleCloudSecuritycenterV1CustomConfig.properties.celPolicy.description
- schemas.GoogleCloudSecuritycenterV2AzureResourceGroup.properties.id.description
- schemas.GoogleCloudSecuritycenterV2AzureResourceGroup.properties.id.type
- schemas.GoogleCloudSecuritycenterV2AzureTenant.properties.displayName.description
- schemas.GoogleCloudSecuritycenterV2AzureTenant.properties.displayName.type
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 10, 2024
1 parent 1e532c1 commit 9a161ab
Show file tree
Hide file tree
Showing 6 changed files with 302 additions and 890 deletions.
240 changes: 32 additions & 208 deletions discovery/securitycenter-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -732,39 +732,6 @@
"resources": {
"muteConfigs": {
"methods": {
"create": {
"description": "Creates a mute config.",
"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs",
"httpMethod": "POST",
"id": "securitycenter.folders.locations.muteConfigs.create",
"parameterOrder": [
"parent"
],
"parameters": {
"muteConfigId": {
"description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.",
"location": "path",
"pattern": "^folders/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/muteConfigs",
"request": {
"$ref": "GoogleCloudSecuritycenterV1MuteConfig"
},
"response": {
"$ref": "GoogleCloudSecuritycenterV1MuteConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes an existing mute config.",
"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}",
Expand Down Expand Up @@ -815,42 +782,6 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists mute configs.",
"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs",
"httpMethod": "GET",
"id": "securitycenter.folders.locations.muteConfigs.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.",
"location": "path",
"pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}",
"response": {
"$ref": "ListMuteConfigsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a mute config.",
"flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}",
Expand Down Expand Up @@ -2508,39 +2439,6 @@
"resources": {
"muteConfigs": {
"methods": {
"create": {
"description": "Creates a mute config.",
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs",
"httpMethod": "POST",
"id": "securitycenter.organizations.locations.muteConfigs.create",
"parameterOrder": [
"parent"
],
"parameters": {
"muteConfigId": {
"description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/muteConfigs",
"request": {
"$ref": "GoogleCloudSecuritycenterV1MuteConfig"
},
"response": {
"$ref": "GoogleCloudSecuritycenterV1MuteConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes an existing mute config.",
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}",
Expand Down Expand Up @@ -2591,42 +2489,6 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists mute configs.",
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs",
"httpMethod": "GET",
"id": "securitycenter.organizations.locations.muteConfigs.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}",
"response": {
"$ref": "ListMuteConfigsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a mute config.",
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}",
Expand Down Expand Up @@ -5017,39 +4879,6 @@
"resources": {
"muteConfigs": {
"methods": {
"create": {
"description": "Creates a mute config.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs",
"httpMethod": "POST",
"id": "securitycenter.projects.locations.muteConfigs.create",
"parameterOrder": [
"parent"
],
"parameters": {
"muteConfigId": {
"description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. Resource name of the new mute configs's parent. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, or `projects/[project_id]`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/muteConfigs",
"request": {
"$ref": "GoogleCloudSecuritycenterV1MuteConfig"
},
"response": {
"$ref": "GoogleCloudSecuritycenterV1MuteConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes an existing mute config.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}",
Expand Down Expand Up @@ -5100,42 +4929,6 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists mute configs.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs",
"httpMethod": "GET",
"id": "securitycenter.projects.locations.muteConfigs.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent, which owns the collection of mute configs. Its format is `organizations/[organization_id]`, `folders/[folder_id]`, `projects/[project_id]`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}",
"response": {
"$ref": "ListMuteConfigsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates a mute config.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}",
Expand Down Expand Up @@ -6084,7 +5877,7 @@
}
}
},
"revision": "20240827",
"revision": "20240926",
"rootUrl": "https://securitycenter.googleapis.com/",
"schemas": {
"Access": {
Expand Down Expand Up @@ -6630,6 +6423,10 @@
"description": "Represents an Azure resource group.",
"id": "AzureResourceGroup",
"properties": {
"id": {
"description": "The ID of the Azure resource group.",
"type": "string"
},
"name": {
"description": "The name of the Azure resource group. This is not a UUID.",
"type": "string"
Expand All @@ -6656,6 +6453,10 @@
"description": "Represents a Microsoft Entra tenant.",
"id": "AzureTenant",
"properties": {
"displayName": {
"description": "The display name of the Azure tenant.",
"type": "string"
},
"id": {
"description": "The ID of the Microsoft Entra tenant, for example, \"a11aaa11-aa11-1aa1-11aa-1aaa11a\".",
"type": "string"
Expand Down Expand Up @@ -6800,6 +6601,17 @@
},
"type": "object"
},
"CelPolicySpec": {
"description": "YAML-based rule that uses CEL, which supports the declaration of variables and a filtering predicate. A vulnerable resource is emitted if the evaluation is false. Given: 1) the resource types as: - resource_types: \"compute.googleapis.com/Instance\" - resource_types: \"compute.googleapis.com/Firewall\" 2) the CEL policy spec as: name: bad_instance resource_filters: - name: instance resource_type: compute.googleapis.com/Instance filter: > instance.status == 'RUNNING' && 'public' in instance.tags.items - name: firewall resource_type: compute.googleapis.com/Firewall filter: > firewall.direction == 'INGRESS' && !firewall.disabled && firewall.allowed.exists(rule, rule.IPProtocol.upperAscii() in ['TCP', 'ALL'] && rule.ports.exists(port, network.portsInRange(port, '11-256'))) rule: match: - predicate: > instance.networkInterfaces.exists(net, firewall.network == net.network) output: > {'message': 'Compute instance with publicly accessible ports', 'instance': instance.name} Users are able to join resource types together using the exact format as Kubernetes Validating Admission policies.",
"id": "CelPolicySpec",
"properties": {
"spec": {
"description": "The CEL policy to evaluate to produce findings. A finding is generated when the policy validation evaluates to false.",
"type": "string"
}
},
"type": "object"
},
"CloudArmor": {
"description": "Fields related to Google Cloud Armor findings.",
"id": "CloudArmor",
Expand Down Expand Up @@ -8238,6 +8050,10 @@
"description": "Defines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify.",
"id": "GoogleCloudSecuritycenterV1CustomConfig",
"properties": {
"celPolicy": {
"$ref": "CelPolicySpec",
"description": "The CEL policy spec attached to the custom module."
},
"customOutput": {
"$ref": "GoogleCloudSecuritycenterV1CustomOutputSpec",
"description": "Custom output properties."
Expand Down Expand Up @@ -9320,6 +9136,10 @@
"description": "Represents an Azure resource group.",
"id": "GoogleCloudSecuritycenterV2AzureResourceGroup",
"properties": {
"id": {
"description": "The ID of the Azure resource group.",
"type": "string"
},
"name": {
"description": "The name of the Azure resource group. This is not a UUID.",
"type": "string"
Expand All @@ -9346,6 +9166,10 @@
"description": "Represents a Microsoft Entra tenant.",
"id": "GoogleCloudSecuritycenterV2AzureTenant",
"properties": {
"displayName": {
"description": "The display name of the Azure tenant.",
"type": "string"
},
"id": {
"description": "The ID of the Microsoft Entra tenant, for example, \"a11aaa11-aa11-1aa1-11aa-1aaa11a\".",
"type": "string"
Expand Down
Loading

0 comments on commit 9a161ab

Please sign in to comment.