blob: fb4c193e644f8299cbf57589c7ced09b07e984bf [file] [log] [blame] [edit]
{
"description": "Security Command Center API provides access to temporal views of assets and findings within an organization.",
"schemas": {
"GoogleCloudSecuritycenterV1NotificationMessage": {
"description": "Cloud SCC's Notification",
"type": "object",
"properties": {
"finding": {
"$ref": "Finding",
"description": "If it's a Finding based notification config, this field will be populated."
},
"resource": {
"$ref": "GoogleCloudSecuritycenterV1Resource",
"description": "The Cloud resource tied to this notification's Finding."
},
"notificationConfigName": {
"description": "Name of the notification config that generated current notification.",
"type": "string"
}
},
"id": "GoogleCloudSecuritycenterV1NotificationMessage"
},
"Folder": {
"type": "object",
"id": "Folder",
"properties": {
"resourceFolderDisplayName": {
"type": "string",
"description": "The user defined display name for this folder."
},
"resourceFolder": {
"type": "string",
"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name"
}
},
"description": "Message that contains the resource name and display name of a folder resource."
},
"SecurityCenterSettings": {
"id": "SecurityCenterSettings",
"properties": {
"orgServiceAccount": {
"description": "The organization level service account to be used for security center components.",
"type": "string"
},
"logSinkProject": {
"description": "The resource name of the project to send logs to. This project must be part of the organization this resource resides in. The format is `projects/{project_id}`. An empty value disables logging. This value is only referenced by services that support log sink. Please refer to the documentation for an updated list of compatible services.",
"type": "string"
},
"name": {
"description": "The resource name of the SecurityCenterSettings. Format: organizations/{organization}/securityCenterSettings",
"type": "string"
}
},
"description": "Resource capturing the settings for Security Center.",
"type": "object"
},
"GoogleCloudSecuritycenterV1p1beta1NotificationMessage": {
"properties": {
"finding": {
"$ref": "GoogleCloudSecuritycenterV1p1beta1Finding",
"description": "If it's a Finding based notification config, this field will be populated."
},
"resource": {
"description": "The Cloud resource tied to the notification.",
"$ref": "GoogleCloudSecuritycenterV1p1beta1Resource"
},
"notificationConfigName": {
"type": "string",
"description": "Name of the notification config that generated current notification."
}
},
"type": "object",
"id": "GoogleCloudSecuritycenterV1p1beta1NotificationMessage",
"description": "Security Command Center's Notification"
},
"WebSecurityScannerSettings": {
"id": "WebSecurityScannerSettings",
"description": "Resource capturing the settings for the Web Security Scanner service.",
"properties": {
"modules": {
"description": "The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's.",
"additionalProperties": {
"$ref": "Config"
},
"type": "object"
},
"serviceEnablementState": {
"description": "The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.",
"enum": [
"ENABLEMENT_STATE_UNSPECIFIED",
"INHERITED",
"ENABLED",
"DISABLED"
],
"type": "string",
"enumDescriptions": [
"Default value. This value is unused.",
"State is inherited from the parent resource.",
"State is enabled.",
"State is disabled."
]
},
"updateTime": {
"format": "google-datetime",
"readOnly": true,
"description": "Output only. The time the settings were last updated.",
"type": "string"
},
"name": {
"type": "string",
"description": "The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings"
}
},
"type": "object"
},
"Details": {
"type": "object",
"properties": {
"startTime": {
"format": "google-datetime",
"description": "The time the subscription has or will start.",
"type": "string"
},
"endTime": {
"format": "google-datetime",
"description": "The time the subscription has or will end.",
"type": "string"
},
"type": {
"description": "The type of subscription",
"type": "string",
"enum": [
"TYPE_UNSPECIFIED",
"STANDARD",
"TRIAL",
"ALPHA"
],
"enumDescriptions": [
"Default value. This value is unused.",
"The standard subscription.",
"The trial subscription.",
"The alpha subscription."
]
}
},
"description": "Details of a subscription.",
"id": "Details"
},
"Config": {
"description": "Configuration of a module.",
"id": "Config",
"type": "object",
"properties": {
"value": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"description": "The configuration value for the module. The absence of this field implies its inheritance from the parent.",
"type": "object"
},
"moduleEnablementState": {
"enum": [
"ENABLEMENT_STATE_UNSPECIFIED",
"INHERITED",
"ENABLED",
"DISABLED"
],
"type": "string",
"enumDescriptions": [
"Default value. This value is unused.",
"State is inherited from the parent resource.",
"State is enabled.",
"State is disabled."
],
"description": "The state of enablement for the module at its level of the resource hierarchy."
}
}
},
"GoogleCloudSecuritycenterV1p1beta1Resource": {
"type": "object",
"properties": {
"parent": {
"description": "The full resource name of resource's parent.",
"type": "string"
},
"name": {
"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name",
"type": "string"
},
"folders": {
"items": {
"$ref": "GoogleCloudSecuritycenterV1p1beta1Folder"
},
"readOnly": true,
"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.",
"type": "array"
},
"projectDisplayName": {
"type": "string",
"description": "The human readable name of project that the resource belongs to."
},
"project": {
"type": "string",
"description": "The full resource name of project that the resource belongs to."
},
"parentDisplayName": {
"type": "string",
"description": "The human readable name of resource's parent."
}
},
"id": "GoogleCloudSecuritycenterV1p1beta1Resource",
"description": "Information related to the Google Cloud resource."
},
"GoogleCloudSecuritycenterV1p1beta1Finding": {
"description": "Security Command Center finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.",
"id": "GoogleCloudSecuritycenterV1p1beta1Finding",
"type": "object",
"properties": {
"resourceName": {
"type": "string",
"description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time."
},
"externalUri": {
"type": "string",
"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL."
},
"sourceProperties": {
"type": "object",
"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.",
"additionalProperties": {
"type": "any"
}
},
"category": {
"type": "string",
"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\""
},
"createTime": {
"format": "google-datetime",
"type": "string",
"description": "The time at which the finding was created in Security Command Center."
},
"severity": {
"type": "string",
"description": "The severity of the finding. This field is managed by the source that writes the finding.",
"enumDescriptions": [
"No severity specified. The default value.",
"Critical severity.",
"High severity.",
"Medium severity.",
"Low severity."
],
"enum": [
"SEVERITY_UNSPECIFIED",
"CRITICAL",
"HIGH",
"MEDIUM",
"LOW"
]
},
"name": {
"description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"",
"type": "string"
},
"parent": {
"description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"",
"type": "string"
},
"state": {
"type": "string",
"enumDescriptions": [
"Unspecified state.",
"The finding requires attention and has not been addressed yet.",
"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active."
],
"enum": [
"STATE_UNSPECIFIED",
"ACTIVE",
"INACTIVE"
],
"description": "The state of the finding."
},
"securityMarks": {
"$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks",
"readOnly": true,
"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding."
},
"eventTime": {
"description": "The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved.",
"format": "google-datetime",
"type": "string"
}
}
},
"GoogleCloudSecuritycenterV1p1beta1Folder": {
"id": "GoogleCloudSecuritycenterV1p1beta1Folder",
"properties": {
"resourceFolder": {
"description": "Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name",
"type": "string"
},
"resourceFolderDisplayName": {
"type": "string",
"description": "The user defined display name for this folder."
}
},
"description": "Message that contains the resource name and display name of a folder resource.",
"type": "object"
},
"SecurityHealthAnalyticsSettings": {
"properties": {
"name": {
"type": "string",
"description": "The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings"
},
"modules": {
"description": "The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's.",
"type": "object",
"additionalProperties": {
"$ref": "Config"
}
},
"serviceEnablementState": {
"enumDescriptions": [
"Default value. This value is unused.",
"State is inherited from the parent resource.",
"State is enabled.",
"State is disabled."
],
"enum": [
"ENABLEMENT_STATE_UNSPECIFIED",
"INHERITED",
"ENABLED",
"DISABLED"
],
"description": "The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.",
"type": "string"
},
"updateTime": {
"description": "Output only. The time the settings were last updated.",
"format": "google-datetime",
"type": "string",
"readOnly": true
},
"serviceAccount": {
"description": "Output only. The service account used by Security Health Analytics detectors.",
"type": "string",
"readOnly": true
}
},
"type": "object",
"id": "SecurityHealthAnalyticsSettings",
"description": "Resource capturing the settings for the Security Health Analytics service."
},
"GoogleCloudSecuritycenterV1Resource": {
"id": "GoogleCloudSecuritycenterV1Resource",
"description": "Information related to the Google Cloud resource.",
"type": "object",
"properties": {
"folders": {
"readOnly": true,
"items": {
"$ref": "Folder"
},
"description": "Output only. Contains a Folder message for each folder in the assets ancestry. The first folder is the deepest nested folder, and the last folder is the folder directly under the Organization.",
"type": "array"
},
"project": {
"type": "string",
"description": "The full resource name of project that the resource belongs to."
},
"name": {
"description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name",
"type": "string"
},
"parentDisplayName": {
"type": "string",
"description": "The human readable name of resource's parent."
},
"parent": {
"type": "string",
"description": "The full resource name of resource's parent."
},
"projectDisplayName": {
"description": "The human readable name of project that the resource belongs to.",
"type": "string"
}
}
},
"SecurityMarks": {
"id": "SecurityMarks",
"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.",
"type": "object",
"properties": {
"marks": {
"additionalProperties": {
"type": "string"
},
"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)",
"type": "object"
},
"name": {
"type": "string",
"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\"."
}
}
},
"Finding": {
"properties": {
"createTime": {
"format": "google-datetime",
"type": "string",
"description": "The time at which the finding was created in Security Command Center."
},
"sourceProperties": {
"description": "Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.",
"type": "object",
"additionalProperties": {
"type": "any"
}
},
"externalUri": {
"description": "The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.",
"type": "string"
},
"parent": {
"type": "string",
"description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\""
},
"resourceName": {
"type": "string",
"description": "For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time."
},
"state": {
"type": "string",
"enumDescriptions": [
"Unspecified state.",
"The finding requires attention and has not been addressed yet.",
"The finding has been fixed, triaged as a non-issue or otherwise addressed and is no longer active."
],
"description": "The state of the finding.",
"enum": [
"STATE_UNSPECIFIED",
"ACTIVE",
"INACTIVE"
]
},
"category": {
"type": "string",
"description": "The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\""
},
"name": {
"description": "The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\"",
"type": "string"
},
"eventTime": {
"description": "The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved.",
"format": "google-datetime",
"type": "string"
},
"securityMarks": {
"$ref": "SecurityMarks",
"description": "Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.",
"readOnly": true
}
},
"type": "object",
"description": "Security Command Center finding. A finding is a record of assessment data like security, risk, health, or privacy, that is ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site scripting (XSS) vulnerability in an App Engine application is a finding.",
"id": "Finding"
},
"ContainerThreatDetectionSettings": {
"type": "object",
"description": "Resource capturing the settings for the Container Threat Detection service.",
"id": "ContainerThreatDetectionSettings",
"properties": {
"serviceEnablementState": {
"enum": [
"ENABLEMENT_STATE_UNSPECIFIED",
"INHERITED",
"ENABLED",
"DISABLED"
],
"description": "The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.",
"type": "string",
"enumDescriptions": [
"Default value. This value is unused.",
"State is inherited from the parent resource.",
"State is enabled.",
"State is disabled."
]
},
"name": {
"type": "string",
"description": "The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings"
},
"serviceAccount": {
"type": "string",
"readOnly": true,
"description": "Output only. The service account used by Container Threat Detection for scanning. Service accounts are scoped at the project level meaning this field will be empty at any level above a project."
},
"updateTime": {
"readOnly": true,
"type": "string",
"description": "Output only. The time the settings were last updated.",
"format": "google-datetime"
},
"modules": {
"type": "object",
"additionalProperties": {
"$ref": "Config"
},
"description": "The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's."
}
}
},
"GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse": {
"type": "object",
"properties": {
"state": {
"enum": [
"STATE_UNSPECIFIED",
"COMPLETED",
"SUPERSEDED",
"TERMINATED"
],
"description": "The state of an asset discovery run.",
"type": "string",
"enumDescriptions": [
"Asset discovery run state was unspecified.",
"Asset discovery run completed successfully.",
"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.",
"Asset discovery run was killed and terminated."
]
},
"duration": {
"type": "string",
"description": "The duration between asset discovery run start and end",
"format": "google-duration"
}
},
"description": "Response of asset discovery run",
"id": "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse"
},
"GoogleCloudSecuritycenterV1p1beta1SecurityMarks": {
"properties": {
"name": {
"description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\".",
"type": "string"
},
"marks": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)"
}
},
"type": "object",
"description": "User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization -- they can be modified and viewed by all users who have proper permissions on the organization.",
"id": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks"
},
"GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse": {
"id": "GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse",
"description": "Response of asset discovery run",
"type": "object",
"properties": {
"duration": {
"type": "string",
"description": "The duration between asset discovery run start and end",
"format": "google-duration"
},
"state": {
"enum": [
"STATE_UNSPECIFIED",
"COMPLETED",
"SUPERSEDED",
"TERMINATED"
],
"description": "The state of an asset discovery run.",
"enumDescriptions": [
"Asset discovery run state was unspecified.",
"Asset discovery run completed successfully.",
"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.",
"Asset discovery run was killed and terminated."
],
"type": "string"
}
}
},
"Subscription": {
"id": "Subscription",
"type": "object",
"properties": {
"details": {
"description": "The details of the most recent active subscription. If there has never been a subscription this will be empty.",
"$ref": "Details"
},
"name": {
"type": "string",
"description": "The resource name of the subscription. Format: organizations/{organization}/subscription"
},
"tier": {
"enumDescriptions": [
"Default value. This value is unused.",
"The standard tier.",
"The premium tier."
],
"description": "The tier of SCC features this organization currently has access to.",
"type": "string",
"enum": [
"TIER_UNSPECIFIED",
"STANDARD",
"PREMIUM"
]
}
},
"description": "Resource capturing the state of an organization's subscription."
},
"EventThreatDetectionSettings": {
"id": "EventThreatDetectionSettings",
"type": "object",
"description": "Resource capturing the settings for the Event Threat Detection service.",
"properties": {
"updateTime": {
"readOnly": true,
"format": "google-datetime",
"type": "string",
"description": "Output only. The time the settings were last updated."
},
"serviceEnablementState": {
"enumDescriptions": [
"Default value. This value is unused.",
"State is inherited from the parent resource.",
"State is enabled.",
"State is disabled."
],
"type": "string",
"description": "The state of enablement for the service at its level of the resource hierarchy. A DISABLED state will override all module enablement_states to DISABLED.",
"enum": [
"ENABLEMENT_STATE_UNSPECIFIED",
"INHERITED",
"ENABLED",
"DISABLED"
]
},
"modules": {
"additionalProperties": {
"$ref": "Config"
},
"type": "object",
"description": "The configurations including the state of enablement for the service's different modules. The absence of a module in the map implies its configuration is inherited from its parent's."
},
"name": {
"description": "The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings",
"type": "string"
}
}
},
"GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": {
"type": "object",
"id": "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse",
"properties": {
"state": {
"type": "string",
"enumDescriptions": [
"Asset discovery run state was unspecified.",
"Asset discovery run completed successfully.",
"Asset discovery run was cancelled with tasks still pending, as another run for the same organization was started with a higher priority.",
"Asset discovery run was killed and terminated."
],
"enum": [
"STATE_UNSPECIFIED",
"COMPLETED",
"SUPERSEDED",
"TERMINATED"
],
"description": "The state of an asset discovery run."
},
"duration": {
"format": "google-duration",
"description": "The duration between asset discovery run start and end",
"type": "string"
}
},
"description": "Response of asset discovery run"
}
},
"kind": "discovery#restDescription",
"batchPath": "batch",
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
}
}
}
},
"ownerName": "Google",
"discoveryVersion": "v1",
"fullyEncodeReservedExpansion": true,
"parameters": {
"key": {
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query",
"type": "string"
},
"alt": {
"location": "query",
"default": "json",
"type": "string",
"enum": [
"json",
"media",
"proto"
],
"description": "Data format for response.",
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
]
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"$.xgafv": {
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string",
"enum": [
"1",
"2"
],
"description": "V1 error format."
},
"quotaUser": {
"location": "query",
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"type": "string"
},
"upload_protocol": {
"location": "query",
"type": "string",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\")."
},
"access_token": {
"type": "string",
"description": "OAuth access token.",
"location": "query"
},
"uploadType": {
"location": "query",
"type": "string",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"type": "boolean",
"location": "query"
},
"callback": {
"type": "string",
"description": "JSONP",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
}
},
"protocol": "rest",
"mtlsRootUrl": "https://securitycenter.mtls.googleapis.com/",
"rootUrl": "https://securitycenter.googleapis.com/",
"baseUrl": "https://securitycenter.googleapis.com/",
"version_module": true,
"resources": {
"organizations": {
"methods": {
"updateContainerThreatDetectionSettings": {
"description": "Update the ContainerThreatDetectionSettings resource.",
"id": "securitycenter.organizations.updateContainerThreatDetectionSettings",
"path": "v1beta2/{+name}",
"parameters": {
"updateMask": {
"type": "string",
"format": "google-fieldmask",
"description": "The list of fields to be updated.",
"location": "query"
},
"name": {
"type": "string",
"location": "path",
"pattern": "^organizations/[^/]+/containerThreatDetectionSettings$",
"description": "The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"httpMethod": "PATCH",
"request": {
"$ref": "ContainerThreatDetectionSettings"
},
"parameterOrder": [
"name"
],
"flatPath": "v1beta2/organizations/{organizationsId}/containerThreatDetectionSettings",
"response": {
"$ref": "ContainerThreatDetectionSettings"
}
},
"getWebSecurityScannerSettings": {
"parameterOrder": [
"name"
],
"flatPath": "v1beta2/organizations/{organizationsId}/webSecurityScannerSettings",
"description": "Get the WebSecurityScannerSettings resource.",
"response": {
"$ref": "WebSecurityScannerSettings"
},
"path": "v1beta2/{+name}",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"httpMethod": "GET",
"parameters": {
"name": {
"required": true,
"type": "string",
"location": "path",
"description": "Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings",
"pattern": "^organizations/[^/]+/webSecurityScannerSettings$"
}
},
"id": "securitycenter.organizations.getWebSecurityScannerSettings"
},
"getSecurityHealthAnalyticsSettings": {
"id": "securitycenter.organizations.getSecurityHealthAnalyticsSettings",
"httpMethod": "GET",
"parameterOrder": [
"name"
],
"path": "v1beta2/{+name}",
"response": {
"$ref": "SecurityHealthAnalyticsSettings"
},
"description": "Get the SecurityHealthAnalyticsSettings resource.",
"parameters": {
"name": {
"location": "path",
"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$",
"type": "string",
"description": "Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings",
"required": true
}
},
"flatPath": "v1beta2/organizations/{organizationsId}/securityHealthAnalyticsSettings",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getEventThreatDetectionSettings": {
"description": "Get the EventThreatDetectionSettings resource.",
"path": "v1beta2/{+name}",
"id": "securitycenter.organizations.getEventThreatDetectionSettings",
"parameterOrder": [
"name"
],
"httpMethod": "GET",
"response": {
"$ref": "EventThreatDetectionSettings"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
"description": "Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings",
"location": "path",
"type": "string",
"required": true,
"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$"
}
},
"flatPath": "v1beta2/organizations/{organizationsId}/eventThreatDetectionSettings"
},
"updateEventThreatDetectionSettings": {
"path": "v1beta2/{+name}",
"request": {
"$ref": "EventThreatDetectionSettings"
},
"httpMethod": "PATCH",
"response": {
"$ref": "EventThreatDetectionSettings"
},
"flatPath": "v1beta2/organizations/{organizationsId}/eventThreatDetectionSettings",
"id": "securitycenter.organizations.updateEventThreatDetectionSettings",
"parameterOrder": [
"name"
],
"description": "Update the EventThreatDetectionSettings resource.",
"parameters": {
"updateMask": {
"description": "The list of fields to be updated.",
"location": "query",
"format": "google-fieldmask",
"type": "string"
},
"name": {
"location": "path",
"type": "string",
"description": "The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings",
"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getSubscription": {
"description": "Get the Subscription resource.",
"path": "v1beta2/{+name}",
"id": "securitycenter.organizations.getSubscription",
"parameterOrder": [
"name"
],
"response": {
"$ref": "Subscription"
},
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
"required": true,
"location": "path",
"type": "string",
"pattern": "^organizations/[^/]+/subscription$",
"description": "Required. The name of the subscription to retrieve. Format: organizations/{organization}/subscription"
}
},
"flatPath": "v1beta2/organizations/{organizationsId}/subscription"
},
"getContainerThreatDetectionSettings": {
"parameterOrder": [
"name"
],
"flatPath": "v1beta2/organizations/{organizationsId}/containerThreatDetectionSettings",
"parameters": {
"name": {
"type": "string",
"description": "Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"pattern": "^organizations/[^/]+/containerThreatDetectionSettings$",
"location": "path",
"required": true
}
},
"httpMethod": "GET",
"id": "securitycenter.organizations.getContainerThreatDetectionSettings",
"path": "v1beta2/{+name}",
"response": {
"$ref": "ContainerThreatDetectionSettings"
},
"description": "Get the ContainerThreatDetectionSettings resource.",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateSecurityHealthAnalyticsSettings": {
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"httpMethod": "PATCH",
"flatPath": "v1beta2/organizations/{organizationsId}/securityHealthAnalyticsSettings",
"description": "Update the SecurityHealthAnalyticsSettings resource.",
"parameters": {
"updateMask": {
"format": "google-fieldmask",
"location": "query",
"description": "The list of fields to be updated.",
"type": "string"
},
"name": {
"description": "The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings",
"required": true,
"type": "string",
"location": "path",
"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$"
}
},
"parameterOrder": [
"name"
],
"path": "v1beta2/{+name}",
"id": "securitycenter.organizations.updateSecurityHealthAnalyticsSettings",
"request": {
"$ref": "SecurityHealthAnalyticsSettings"
},
"response": {
"$ref": "SecurityHealthAnalyticsSettings"
}
},
"getSecurityCenterSettings": {
"description": "Get the SecurityCenterSettings resource.",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1beta2/organizations/{organizationsId}/securityCenterSettings",
"path": "v1beta2/{+name}",
"parameterOrder": [
"name"
],
"response": {
"$ref": "SecurityCenterSettings"
},
"httpMethod": "GET",
"id": "securitycenter.organizations.getSecurityCenterSettings",
"parameters": {
"name": {
"description": "Required. The name of the SecurityCenterSettings to retrieve. Format: organizations/{organization}/securityCenterSettings",
"pattern": "^organizations/[^/]+/securityCenterSettings$",
"location": "path",
"required": true,
"type": "string"
}
}
},
"updateWebSecurityScannerSettings": {
"request": {
"$ref": "WebSecurityScannerSettings"
},
"flatPath": "v1beta2/organizations/{organizationsId}/webSecurityScannerSettings",
"httpMethod": "PATCH",
"parameters": {
"updateMask": {
"format": "google-fieldmask",
"type": "string",
"description": "The list of fields to be updated.",
"location": "query"
},
"name": {
"type": "string",
"location": "path",
"pattern": "^organizations/[^/]+/webSecurityScannerSettings$",
"required": true,
"description": "The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings"
}
},
"path": "v1beta2/{+name}",
"response": {
"$ref": "WebSecurityScannerSettings"
},
"id": "securitycenter.organizations.updateWebSecurityScannerSettings",
"description": "Update the WebSecurityScannerSettings resource.",
"parameterOrder": [
"name"
],
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"containerThreatDetectionSettings": {
"methods": {
"calculate": {
"description": "Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.",
"parameters": {
"name": {
"description": "Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"required": true,
"type": "string",
"pattern": "^organizations/[^/]+/containerThreatDetectionSettings$",
"location": "path"
}
},
"flatPath": "v1beta2/organizations/{organizationsId}/containerThreatDetectionSettings:calculate",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"path": "v1beta2/{+name}:calculate",
"parameterOrder": [
"name"
],
"response": {
"$ref": "ContainerThreatDetectionSettings"
},
"id": "securitycenter.organizations.containerThreatDetectionSettings.calculate",
"httpMethod": "GET"
}
}
},
"webSecurityScannerSettings": {
"methods": {
"calculate": {
"httpMethod": "GET",
"response": {
"$ref": "WebSecurityScannerSettings"
},
"parameters": {
"name": {
"type": "string",
"location": "path",
"description": "Required. The name of the WebSecurityScannerSettings to calculate. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings",
"pattern": "^organizations/[^/]+/webSecurityScannerSettings$",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"path": "v1beta2/{+name}:calculate",
"flatPath": "v1beta2/organizations/{organizationsId}/webSecurityScannerSettings:calculate",
"id": "securitycenter.organizations.webSecurityScannerSettings.calculate",
"description": "Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.",
"parameterOrder": [
"name"
]
}
}
},
"eventThreatDetectionSettings": {
"methods": {
"calculate": {
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"httpMethod": "GET",
"response": {
"$ref": "EventThreatDetectionSettings"
},
"description": "Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.",
"parameters": {
"name": {
"location": "path",
"type": "string",
"description": "Required. The name of the EventThreatDetectionSettings to calculate. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings",
"pattern": "^organizations/[^/]+/eventThreatDetectionSettings$",
"required": true
}
},
"path": "v1beta2/{+name}:calculate",
"flatPath": "v1beta2/organizations/{organizationsId}/eventThreatDetectionSettings:calculate",
"parameterOrder": [
"name"
],
"id": "securitycenter.organizations.eventThreatDetectionSettings.calculate"
}
}
},
"securityHealthAnalyticsSettings": {
"methods": {
"calculate": {
"description": "Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings.",
"path": "v1beta2/{+name}:calculate",
"httpMethod": "GET",
"parameters": {
"name": {
"description": "Required. The name of the SecurityHealthAnalyticsSettings to calculate. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings",
"type": "string",
"required": true,
"location": "path",
"pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"id": "securitycenter.organizations.securityHealthAnalyticsSettings.calculate",
"flatPath": "v1beta2/organizations/{organizationsId}/securityHealthAnalyticsSettings:calculate",
"response": {
"$ref": "SecurityHealthAnalyticsSettings"
},
"parameterOrder": [
"name"
]
}
}
}
}
},
"folders": {
"methods": {
"getWebSecurityScannerSettings": {
"response": {
"$ref": "WebSecurityScannerSettings"
},
"flatPath": "v1beta2/folders/{foldersId}/webSecurityScannerSettings",
"id": "securitycenter.folders.getWebSecurityScannerSettings",
"parameterOrder": [
"name"
],
"description": "Get the WebSecurityScannerSettings resource.",
"httpMethod": "GET",
"path": "v1beta2/{+name}",
"parameters": {
"name": {
"description": "Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings",
"required": true,
"pattern": "^folders/[^/]+/webSecurityScannerSettings$",
"type": "string",
"location": "path"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateContainerThreatDetectionSettings": {
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"httpMethod": "PATCH",
"flatPath": "v1beta2/folders/{foldersId}/containerThreatDetectionSettings",
"parameters": {
"updateMask": {
"location": "query",
"format": "google-fieldmask",
"description": "The list of fields to be updated.",
"type": "string"
},
"name": {
"type": "string",
"required": true,
"description": "The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"pattern": "^folders/[^/]+/containerThreatDetectionSettings$",
"location": "path"
}
},
"parameterOrder": [
"name"
],
"id": "securitycenter.folders.updateContainerThreatDetectionSettings",
"request": {
"$ref": "ContainerThreatDetectionSettings"
},
"description": "Update the ContainerThreatDetectionSettings resource.",
"path": "v1beta2/{+name}",
"response": {
"$ref": "ContainerThreatDetectionSettings"
}
},
"getEventThreatDetectionSettings": {
"flatPath": "v1beta2/folders/{foldersId}/eventThreatDetectionSettings",
"parameters": {
"name": {
"description": "Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings",
"type": "string",
"pattern": "^folders/[^/]+/eventThreatDetectionSettings$",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"name"
],
"id": "securitycenter.folders.getEventThreatDetectionSettings",
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"path": "v1beta2/{+name}",
"description": "Get the EventThreatDetectionSettings resource.",
"response": {
"$ref": "EventThreatDetectionSettings"
}
},
"updateEventThreatDetectionSettings": {
"request": {
"$ref": "EventThreatDetectionSettings"
},
"path": "v1beta2/{+name}",
"parameters": {
"name": {
"location": "path",
"required": true,
"type": "string",
"description": "The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings",
"pattern": "^folders/[^/]+/eventThreatDetectionSettings$"
},
"updateMask": {
"location": "query",
"description": "The list of fields to be updated.",
"format": "google-fieldmask",
"type": "string"
}
},
"description": "Update the EventThreatDetectionSettings resource.",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1beta2/folders/{foldersId}/eventThreatDetectionSettings",
"id": "securitycenter.folders.updateEventThreatDetectionSettings",
"httpMethod": "PATCH",
"parameterOrder": [
"name"
],
"response": {
"$ref": "EventThreatDetectionSettings"
}
},
"getContainerThreatDetectionSettings": {
"parameterOrder": [
"name"
],
"flatPath": "v1beta2/folders/{foldersId}/containerThreatDetectionSettings",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
"location": "path",
"description": "Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"pattern": "^folders/[^/]+/containerThreatDetectionSettings$",
"type": "string",
"required": true
}
},
"description": "Get the ContainerThreatDetectionSettings resource.",
"path": "v1beta2/{+name}",
"httpMethod": "GET",
"id": "securitycenter.folders.getContainerThreatDetectionSettings",
"response": {
"$ref": "ContainerThreatDetectionSettings"
}
},
"getSecurityHealthAnalyticsSettings": {
"httpMethod": "GET",
"parameters": {
"name": {
"type": "string",
"required": true,
"location": "path",
"description": "Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings",
"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$"
}
},
"flatPath": "v1beta2/folders/{foldersId}/securityHealthAnalyticsSettings",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"path": "v1beta2/{+name}",
"parameterOrder": [
"name"
],
"description": "Get the SecurityHealthAnalyticsSettings resource.",
"response": {
"$ref": "SecurityHealthAnalyticsSettings"
},
"id": "securitycenter.folders.getSecurityHealthAnalyticsSettings"
},
"updateSecurityHealthAnalyticsSettings": {
"flatPath": "v1beta2/folders/{foldersId}/securityHealthAnalyticsSettings",
"parameterOrder": [
"name"
],
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"request": {
"$ref": "SecurityHealthAnalyticsSettings"
},
"httpMethod": "PATCH",
"parameters": {
"name": {
"type": "string",
"description": "The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings",
"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$",
"required": true,
"location": "path"
},
"updateMask": {
"description": "The list of fields to be updated.",
"type": "string",
"location": "query",
"format": "google-fieldmask"
}
},
"description": "Update the SecurityHealthAnalyticsSettings resource.",
"id": "securitycenter.folders.updateSecurityHealthAnalyticsSettings",
"path": "v1beta2/{+name}",
"response": {
"$ref": "SecurityHealthAnalyticsSettings"
}
},
"updateWebSecurityScannerSettings": {
"description": "Update the WebSecurityScannerSettings resource.",
"response": {
"$ref": "WebSecurityScannerSettings"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameterOrder": [
"name"
],
"httpMethod": "PATCH",
"path": "v1beta2/{+name}",
"request": {
"$ref": "WebSecurityScannerSettings"
},
"flatPath": "v1beta2/folders/{foldersId}/webSecurityScannerSettings",
"parameters": {
"name": {
"required": true,
"pattern": "^folders/[^/]+/webSecurityScannerSettings$",
"description": "The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings",
"type": "string",
"location": "path"
},
"updateMask": {
"description": "The list of fields to be updated.",
"location": "query",
"format": "google-fieldmask",
"type": "string"
}
},
"id": "securitycenter.folders.updateWebSecurityScannerSettings"
}
},
"resources": {
"webSecurityScannerSettings": {
"methods": {
"calculate": {
"parameters": {
"name": {
"description": "Required. The name of the WebSecurityScannerSettings to calculate. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings",
"type": "string",
"location": "path",
"pattern": "^folders/[^/]+/webSecurityScannerSettings$",
"required": true
}
},
"response": {
"$ref": "WebSecurityScannerSettings"
},
"path": "v1beta2/{+name}:calculate",
"httpMethod": "GET",
"parameterOrder": [
"name"
],
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"description": "Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.",
"flatPath": "v1beta2/folders/{foldersId}/webSecurityScannerSettings:calculate",
"id": "securitycenter.folders.webSecurityScannerSettings.calculate"
}
}
},
"securityHealthAnalyticsSettings": {
"methods": {
"calculate": {
"path": "v1beta2/{+name}:calculate",
"description": "Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings.",
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameterOrder": [
"name"
],
"response": {
"$ref": "SecurityHealthAnalyticsSettings"
},
"id": "securitycenter.folders.securityHealthAnalyticsSettings.calculate",
"flatPath": "v1beta2/folders/{foldersId}/securityHealthAnalyticsSettings:calculate",
"parameters": {
"name": {
"required": true,
"location": "path",
"pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$",
"type": "string",
"description": "Required. The name of the SecurityHealthAnalyticsSettings to calculate. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings"
}
}
}
}
},
"containerThreatDetectionSettings": {
"methods": {
"calculate": {
"parameters": {
"name": {
"pattern": "^folders/[^/]+/containerThreatDetectionSettings$",
"description": "Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"type": "string",
"location": "path",
"required": true
}
},
"httpMethod": "GET",
"id": "securitycenter.folders.containerThreatDetectionSettings.calculate",
"flatPath": "v1beta2/folders/{foldersId}/containerThreatDetectionSettings:calculate",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"response": {
"$ref": "ContainerThreatDetectionSettings"
},
"path": "v1beta2/{+name}:calculate",
"description": "Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.",
"parameterOrder": [
"name"
]
}
}
},
"eventThreatDetectionSettings": {
"methods": {
"calculate": {
"parameterOrder": [
"name"
],
"id": "securitycenter.folders.eventThreatDetectionSettings.calculate",
"description": "Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1beta2/folders/{foldersId}/eventThreatDetectionSettings:calculate",
"httpMethod": "GET",
"response": {
"$ref": "EventThreatDetectionSettings"
},
"path": "v1beta2/{+name}:calculate",
"parameters": {
"name": {
"description": "Required. The name of the EventThreatDetectionSettings to calculate. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings",
"required": true,
"type": "string",
"location": "path",
"pattern": "^folders/[^/]+/eventThreatDetectionSettings$"
}
}
}
}
}
}
},
"projects": {
"resources": {
"webSecurityScannerSettings": {
"methods": {
"calculate": {
"description": "Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings.",
"response": {
"$ref": "WebSecurityScannerSettings"
},
"httpMethod": "GET",
"flatPath": "v1beta2/projects/{projectsId}/webSecurityScannerSettings:calculate",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"path": "v1beta2/{+name}:calculate",
"id": "securitycenter.projects.webSecurityScannerSettings.calculate",
"parameters": {
"name": {
"location": "path",
"type": "string",
"required": true,
"description": "Required. The name of the WebSecurityScannerSettings to calculate. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings",
"pattern": "^projects/[^/]+/webSecurityScannerSettings$"
}
},
"parameterOrder": [
"name"
]
}
}
},
"securityHealthAnalyticsSettings": {
"methods": {
"calculate": {
"description": "Calculates the effective SecurityHealthAnalyticsSettings based on its level in the resource hierarchy and its settings.",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"required": true,
"location": "path",
"description": "Required. The name of the SecurityHealthAnalyticsSettings to calculate. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings",
"type": "string",
"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$"
}
},
"path": "v1beta2/{+name}:calculate",
"flatPath": "v1beta2/projects/{projectsId}/securityHealthAnalyticsSettings:calculate",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"httpMethod": "GET",
"id": "securitycenter.projects.securityHealthAnalyticsSettings.calculate",
"response": {
"$ref": "SecurityHealthAnalyticsSettings"
}
}
}
},
"locations": {
"resources": {
"clusters": {
"resources": {
"containerThreatDetectionSettings": {
"methods": {
"calculate": {
"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/containerThreatDetectionSettings:calculate",
"id": "securitycenter.projects.locations.clusters.containerThreatDetectionSettings.calculate",
"description": "Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
"required": true,
"location": "path",
"type": "string",
"description": "Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/containerThreatDetectionSettings$"
}
},
"response": {
"$ref": "ContainerThreatDetectionSettings"
},
"parameterOrder": [
"name"
],
"httpMethod": "GET",
"path": "v1beta2/{+name}:calculate"
}
}
}
},
"methods": {
"updateContainerThreatDetectionSettings": {
"parameters": {
"name": {
"type": "string",
"required": true,
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/containerThreatDetectionSettings$",
"description": "The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings"
},
"updateMask": {
"description": "The list of fields to be updated.",
"format": "google-fieldmask",
"type": "string",
"location": "query"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"path": "v1beta2/{+name}",
"response": {
"$ref": "ContainerThreatDetectionSettings"
},
"id": "securitycenter.projects.locations.clusters.updateContainerThreatDetectionSettings",
"description": "Update the ContainerThreatDetectionSettings resource.",
"parameterOrder": [
"name"
],
"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/containerThreatDetectionSettings",
"request": {
"$ref": "ContainerThreatDetectionSettings"
},
"httpMethod": "PATCH"
},
"getContainerThreatDetectionSettings": {
"flatPath": "v1beta2/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/containerThreatDetectionSettings",
"description": "Get the ContainerThreatDetectionSettings resource.",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameterOrder": [
"name"
],
"path": "v1beta2/{+name}",
"response": {
"$ref": "ContainerThreatDetectionSettings"
},
"id": "securitycenter.projects.locations.clusters.getContainerThreatDetectionSettings",
"parameters": {
"name": {
"location": "path",
"description": "Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"required": true,
"type": "string",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/containerThreatDetectionSettings$"
}
},
"httpMethod": "GET"
}
}
}
}
},
"eventThreatDetectionSettings": {
"methods": {
"calculate": {
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"description": "Calculates the effective EventThreatDetectionSettings based on its level in the resource hierarchy and its settings.",
"parameters": {
"name": {
"required": true,
"description": "Required. The name of the EventThreatDetectionSettings to calculate. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings",
"location": "path",
"type": "string",
"pattern": "^projects/[^/]+/eventThreatDetectionSettings$"
}
},
"id": "securitycenter.projects.eventThreatDetectionSettings.calculate",
"httpMethod": "GET",
"parameterOrder": [
"name"
],
"path": "v1beta2/{+name}:calculate",
"flatPath": "v1beta2/projects/{projectsId}/eventThreatDetectionSettings:calculate",
"response": {
"$ref": "EventThreatDetectionSettings"
}
}
}
},
"containerThreatDetectionSettings": {
"methods": {
"calculate": {
"path": "v1beta2/{+name}:calculate",
"response": {
"$ref": "ContainerThreatDetectionSettings"
},
"parameters": {
"name": {
"type": "string",
"location": "path",
"required": true,
"description": "Required. The name of the ContainerThreatDetectionSettings to calculate. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"pattern": "^projects/[^/]+/containerThreatDetectionSettings$"
}
},
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1beta2/projects/{projectsId}/containerThreatDetectionSettings:calculate",
"parameterOrder": [
"name"
],
"description": "Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.",
"id": "securitycenter.projects.containerThreatDetectionSettings.calculate"
}
}
}
},
"methods": {
"getWebSecurityScannerSettings": {
"id": "securitycenter.projects.getWebSecurityScannerSettings",
"path": "v1beta2/{+name}",
"parameters": {
"name": {
"description": "Required. The name of the WebSecurityScannerSettings to retrieve. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings",
"required": true,
"location": "path",
"type": "string",
"pattern": "^projects/[^/]+/webSecurityScannerSettings$"
}
},
"flatPath": "v1beta2/projects/{projectsId}/webSecurityScannerSettings",
"httpMethod": "GET",
"parameterOrder": [
"name"
],
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"description": "Get the WebSecurityScannerSettings resource.",
"response": {
"$ref": "WebSecurityScannerSettings"
}
},
"getEventThreatDetectionSettings": {
"description": "Get the EventThreatDetectionSettings resource.",
"httpMethod": "GET",
"flatPath": "v1beta2/projects/{projectsId}/eventThreatDetectionSettings",
"id": "securitycenter.projects.getEventThreatDetectionSettings",
"response": {
"$ref": "EventThreatDetectionSettings"
},
"parameterOrder": [
"name"
],
"path": "v1beta2/{+name}",
"parameters": {
"name": {
"pattern": "^projects/[^/]+/eventThreatDetectionSettings$",
"required": true,
"location": "path",
"type": "string",
"description": "Required. The name of the EventThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings"
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getSecurityHealthAnalyticsSettings": {
"parameters": {
"name": {
"location": "path",
"description": "Required. The name of the SecurityHealthAnalyticsSettings to retrieve. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings",
"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$",
"type": "string",
"required": true
}
},
"path": "v1beta2/{+name}",
"flatPath": "v1beta2/projects/{projectsId}/securityHealthAnalyticsSettings",
"response": {
"$ref": "SecurityHealthAnalyticsSettings"
},
"parameterOrder": [
"name"
],
"description": "Get the SecurityHealthAnalyticsSettings resource.",
"id": "securitycenter.projects.getSecurityHealthAnalyticsSettings",
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateSecurityHealthAnalyticsSettings": {
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"updateMask": {
"location": "query",
"format": "google-fieldmask",
"type": "string",
"description": "The list of fields to be updated."
},
"name": {
"pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$",
"required": true,
"description": "The resource name of the SecurityHealthAnalyticsSettings. Formats: * organizations/{organization}/securityHealthAnalyticsSettings * folders/{folder}/securityHealthAnalyticsSettings * projects/{project}/securityHealthAnalyticsSettings",
"type": "string",
"location": "path"
}
},
"description": "Update the SecurityHealthAnalyticsSettings resource.",
"httpMethod": "PATCH",
"flatPath": "v1beta2/projects/{projectsId}/securityHealthAnalyticsSettings",
"path": "v1beta2/{+name}",
"parameterOrder": [
"name"
],
"request": {
"$ref": "SecurityHealthAnalyticsSettings"
},
"id": "securitycenter.projects.updateSecurityHealthAnalyticsSettings",
"response": {
"$ref": "SecurityHealthAnalyticsSettings"
}
},
"updateWebSecurityScannerSettings": {
"flatPath": "v1beta2/projects/{projectsId}/webSecurityScannerSettings",
"path": "v1beta2/{+name}",
"id": "securitycenter.projects.updateWebSecurityScannerSettings",
"request": {
"$ref": "WebSecurityScannerSettings"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
"type": "string",
"location": "path",
"pattern": "^projects/[^/]+/webSecurityScannerSettings$",
"required": true,
"description": "The resource name of the WebSecurityScannerSettings. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings"
},
"updateMask": {
"type": "string",
"format": "google-fieldmask",
"location": "query",
"description": "The list of fields to be updated."
}
},
"httpMethod": "PATCH",
"description": "Update the WebSecurityScannerSettings resource.",
"response": {
"$ref": "WebSecurityScannerSettings"
},
"parameterOrder": [
"name"
]
},
"updateContainerThreatDetectionSettings": {
"path": "v1beta2/{+name}",
"request": {
"$ref": "ContainerThreatDetectionSettings"
},
"parameters": {
"updateMask": {
"format": "google-fieldmask",
"location": "query",
"type": "string",
"description": "The list of fields to be updated."
},
"name": {
"required": true,
"description": "The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"pattern": "^projects/[^/]+/containerThreatDetectionSettings$",
"location": "path",
"type": "string"
}
},
"description": "Update the ContainerThreatDetectionSettings resource.",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"id": "securitycenter.projects.updateContainerThreatDetectionSettings",
"flatPath": "v1beta2/projects/{projectsId}/containerThreatDetectionSettings",
"httpMethod": "PATCH",
"response": {
"$ref": "ContainerThreatDetectionSettings"
},
"parameterOrder": [
"name"
]
},
"updateEventThreatDetectionSettings": {
"httpMethod": "PATCH",
"path": "v1beta2/{+name}",
"response": {
"$ref": "EventThreatDetectionSettings"
},
"flatPath": "v1beta2/projects/{projectsId}/eventThreatDetectionSettings",
"parameterOrder": [
"name"
],
"request": {
"$ref": "EventThreatDetectionSettings"
},
"description": "Update the EventThreatDetectionSettings resource.",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
"type": "string",
"pattern": "^projects/[^/]+/eventThreatDetectionSettings$",
"description": "The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings",
"location": "path",
"required": true
},
"updateMask": {
"type": "string",
"location": "query",
"description": "The list of fields to be updated.",
"format": "google-fieldmask"
}
},
"id": "securitycenter.projects.updateEventThreatDetectionSettings"
},
"getContainerThreatDetectionSettings": {
"parameterOrder": [
"name"
],
"id": "securitycenter.projects.getContainerThreatDetectionSettings",
"description": "Get the ContainerThreatDetectionSettings resource.",
"path": "v1beta2/{+name}",
"flatPath": "v1beta2/projects/{projectsId}/containerThreatDetectionSettings",
"response": {
"$ref": "ContainerThreatDetectionSettings"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"name": {
"pattern": "^projects/[^/]+/containerThreatDetectionSettings$",
"required": true,
"location": "path",
"description": "Required. The name of the ContainerThreatDetectionSettings to retrieve. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings",
"type": "string"
}
},
"httpMethod": "GET"
}
}
}
},
"id": "securitycenter:v1beta2",
"title": "Security Command Center API",
"servicePath": "",
"ownerDomain": "google.com",
"canonicalName": "Security Command Center",
"icons": {
"x32": "http://www.google.com/images/icons/product/search-32.gif",
"x16": "http://www.google.com/images/icons/product/search-16.gif"
},
"revision": "20201112",
"documentationLink": "https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview",
"basePath": "",
"name": "securitycenter",
"version": "v1beta2"
}