openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 181 kB
JSON
{"openapi":"3.0.0","servers":[{"url":"https://securitycenter.googleapis.com/"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"Security Command Center API provides access to temporal views of assets and findings within an organization.","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Security Command Center API","version":"v1beta2","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},"x-origin":[{"format":"google","url":"https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"securitycenter"},"externalDocs":{"url":"https://cloud.google.com/security-command-center"},"tags":[{"name":"folders"},{"name":"organizations"},{"name":"projects"}],"paths":{"/v1beta2/{name}":{"get":{"description":"Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.","operationId":"securitycenter.projects.locations.clusters.getContainerThreatDetectionSettings","parameters":[{"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","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContainerThreatDetectionSettings"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"patch":{"description":"Update the ContainerThreatDetectionSettings resource.","operationId":"securitycenter.projects.locations.clusters.updateContainerThreatDetectionSettings","parameters":[{"description":"The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"The list of fields to be updated.","in":"query","name":"updateMask","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContainerThreatDetectionSettings"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContainerThreatDetectionSettings"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1beta2/{name}:calculate":{"get":{"description":"Calculates the effective WebSecurityScannerSettings based on its level in the resource hierarchy and its settings. Settings provided closer to the target resource take precedence over those further away (e.g. folder will override organization level settings). The default SCC setting for the detector service defaults can be overridden at organization, folder and project levels. No assumptions should be made about the SCC defaults as it is considered an internal implementation detail.","operationId":"securitycenter.projects.webSecurityScannerSettings.calculate","parameters":[{"description":"Required. The name of the WebSecurityScannerSettings to calculate. Formats: * organizations/{organization}/webSecurityScannerSettings * folders/{folder}/webSecurityScannerSettings * projects/{project}/webSecurityScannerSettings","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebSecurityScannerSettings"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]}},"components":{"parameters":{"_.xgafv":{"description":"V1 error format.","in":"query","name":"$.xgafv","schema":{"enum":["1","2"],"type":"string"}},"access_token":{"description":"OAuth access token.","in":"query","name":"access_token","schema":{"type":"string"}},"alt":{"description":"Data format for response.","in":"query","name":"alt","schema":{"enum":["json","media","proto"],"type":"string"}},"callback":{"description":"JSONP","in":"query","name":"callback","schema":{"type":"string"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"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.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean"}},"quotaUser":{"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.","in":"query","name":"quotaUser","schema":{"type":"string"}},"uploadType":{"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").","in":"query","name":"uploadType","schema":{"type":"string"}},"upload_protocol":{"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").","in":"query","name":"upload_protocol","schema":{"type":"string"}}},"schemas":{"Access":{"description":"Represents an access event.","properties":{"callerIp":{"description":"Caller's IP address, such as \"1.1.1.1\".","type":"string"},"callerIpGeo":{"$ref":"#/components/schemas/Geolocation","description":"The caller IP's geolocation, which identifies where the call came from."},"methodName":{"description":"The method that the service account called, e.g. \"SetIamPolicy\".","type":"string"},"principalEmail":{"description":"Associated email, such as \"foo@google.com\". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).","type":"string"},"principalSubject":{"description":"A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.","type":"string"},"serviceAccountDelegationInfo":{"description":"The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.","items":{"$ref":"#/components/schemas/ServiceAccountDelegationInfo"},"type":"array"},"serviceAccountKeyName":{"description":"The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: \"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\". ","type":"string"},"serviceName":{"description":"This is the API service that the service account made a call to, e.g. \"iam.googleapis.com\"","type":"string"},"userAgent":{"description":"The caller's user agent string associated with the finding.","type":"string"},"userAgentFamily":{"description":"Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.","type":"string"},"userName":{"description":"A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.","type":"string"}},"type":"object"},"AccessReview":{"description":"Conveys information about a Kubernetes access review (such as one returned by a [`kubectl auth can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) command) that was involved in a finding.","properties":{"group":{"description":"The API group of the resource. \"*\" means all.","type":"string"},"name":{"description":"The name of the resource being requested. Empty means all.","type":"string"},"ns":{"description":"Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by \"\" (empty).","type":"string"},"resource":{"description":"The optional resource type requested. \"*\" means all.","type":"string"},"subresource":{"description":"The optional subresource type.","type":"string"},"verb":{"description":"A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. \"*\" means all.","type":"string"},"version":{"description":"The API version of the resource. \"*\" means all.","type":"string"}},"type":"object"},"Application":{"description":"Represents an application associated with a finding.","properties":{"baseUri":{"description":"The base URI that identifies the network location of the application in which the vulnerability was detected. For example, `http://example.com`.","type":"string"},"fullUri":{"description":"The full URI with payload that can be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.","type":"string"}},"type":"object"},"AttackExposure":{"description":"An attack exposure contains the results of an attack path simulation run.","properties":{"attackExposureResult":{"description":"The resource name of the attack path simulation result that contains the details regarding this attack exposure score. Example: organizations/123/simulations/456/attackExposureResults/789","type":"string"},"exposedHighValueResourcesCount":{"description":"The number of high value resources that are exposed as a result of this finding.","format":"int32","type":"integer"},"exposedLowValueResourcesCount":{"description":"The number of high value resources that are exposed as a result of this finding.","format":"int32","type":"integer"},"exposedMediumValueResourcesCount":{"description":"The number of medium value resources that are exposed as a result of this finding.","format":"int32","type":"integer"},"latestCalculationTime":{"description":"The most recent time the attack exposure was updated on this finding.","format":"google-datetime","type":"string"},"score":{"description":"A number between 0 (inclusive) and infinity that represents how important this finding is to remediate. The higher the score, the more important it is to remediate.","format":"double","type":"number"},"state":{"description":"What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.","enum":["STATE_UNSPECIFIED","CALCULATED","NOT_CALCULATED"],"type":"string"}},"type":"object"},"BackupDisasterRecovery":{"description":"Information related to Google Cloud Backup and DR Service findings.","properties":{"appliance":{"description":"The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, `backup-server-57137`.","type":"string"},"applications":{"description":"The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, `centos7-01-vol00`, `centos7-01-vol01`, `centos7-01-vol02`.","items":{"type":"string"},"type":"array"},"backupCreateTime":{"description":"The timestamp at which the Backup and DR backup was created.","format":"google-datetime","type":"string"},"backupTemplate":{"description":"The name of a Backup and DR template which comprises one or more backup policies. See the [Backup and DR documentation](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information. For example, `snap-ov`.","type":"string"},"backupType":{"description":"The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.","type":"string"},"host":{"description":"The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the [Backup and DR documentation on hosts](https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-hosts-and-their-applications) for more information. For example, `centos7-01`.","type":"string"},"policies":{"description":"The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, `onvaults`.","items":{"type":"string"},"type":"array"},"policyOptions":{"description":"The names of Backup and DR advanced policy options of a policy applying to an application. See the [Backup and DR documentation on policy options](https://cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings). For example, `skipofflineappsincongrp, nounmap`.","items":{"type":"string"},"type":"array"},"profile":{"description":"The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the [Backup and DR documentation on profiles](https://cloud.google.com/backup-disaster-recovery/docs/concepts/backup-plan#profile). For example, `GCP`.","type":"string"},"storagePool":{"description":"The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools). For example, `DiskPoolOne`.","type":"string"}},"type":"object"},"CloudDlpDataProfile":{"description":"The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.","properties":{"dataProfile":{"description":"Name of the data profile, for example, `projects/123/locations/europe/tableProfiles/8383929`.","type":"string"},"parentType":{"description":"The resource hierarchy level at which the data profile was generated.","enum":["PARENT_TYPE_UNSPECIFIED","ORGANIZATION","PROJECT"],"type":"string"}},"type":"object"},"CloudDlpInspection":{"description":"Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the finding.","properties":{"fullScan":{"description":"Whether Cloud DLP scanned the complete resource or a sampled subset.","type":"boolean"},"infoType":{"description":"The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)*) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.","type":"string"},"infoTypeCount":{"description":"The number of times Cloud DLP found this infoType within this job and resource.","format":"int64","type":"string"},"inspectJob":{"description":"Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.","type":"string"}},"type":"object"},"CloudLoggingEntry":{"description":"Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)","properties":{"insertId":{"description":"A unique identifier for the log entry.","type":"string"},"logId":{"description":"The type of the log (part of `log_name`. `log_name` is the resource name of the log to which this log entry belongs). For example: `cloudresourcemanager.googleapis.com/activity`. Note that this field is not URL-encoded, unlike the `LOG_ID` field in `LogEntry`.","type":"string"},"resourceContainer":{"description":"The organization, folder, or project of the monitored resource that produced this log entry.","type":"string"},"timestamp":{"description":"The time the event described by the log entry occurred.","format":"google-datetime","type":"string"}},"type":"object"},"Compliance":{"description":"Contains compliance information about a security standard indicating unmet recommendations.","properties":{"ids":{"description":"Policies within the standard or benchmark, for example, A.12.4.1","items":{"type":"string"},"type":"array"},"standard":{"description":"Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.","type":"string"},"version":{"description":"Version of the standard or benchmark, for example, 1.1","type":"string"}},"type":"object"},"ComplianceSnapshot":{"description":"Result containing the properties and count of a ComplianceSnapshot request.","properties":{"category":{"description":"The category of Findings matching.","type":"string"},"complianceStandard":{"description":"The compliance standard (ie CIS).","type":"string"},"complianceVersion":{"description":"The compliance version (ie 1.3) in CIS 1.3.","type":"string"},"count":{"description":"Total count of findings for the given properties.","format":"int64","type":"string"},"leafContainerResource":{"description":"The leaf container resource name that is closest to the snapshot.","type":"string"},"name":{"description":"The compliance snapshot name. Format: //sources//complianceSnapshots/","type":"string"},"projectDisplayName":{"description":"The CRM resource display name that is closest to the snapshot the Findings belong to.","type":"string"},"snapshotTime":{"description":"The snapshot time of the snapshot.","format":"google-datetime","type":"string"}},"type":"object"},"Config":{"description":"Configuration of a module.","properties":{"moduleEnablementState":{"description":"The state of enablement for the module at its level of the resource hierarchy.","enum":["ENABLEMENT_STATE_UNSPECIFIED","INHERITED","ENABLED","DISABLED"],"type":"string"},"value":{"additionalProperties":{"description":"Properties of the object."},"description":"The configuration value for the module. The absence of this field implies its inheritance from the parent.","type":"object"}},"type":"object"},"Connection":{"description":"Contains information about the IP connection associated with the finding.","properties":{"destinationIp":{"description":"Destination IP address. Not present for sockets that are listening and not connected.","type":"string"},"destinationPort":{"description":"Destination port. Not present for sockets that are listening and not connected.","format":"int32","type":"integer"},"protocol":{"description":"IANA Internet Protocol Number such as TCP(6) and UDP(17).","enum":["PROTOCOL_UNSPECIFIED","ICMP","TCP","UDP","GRE","ESP"],"type":"string"},"sourceIp":{"description":"Source IP address.","type":"string"},"sourcePort":{"description":"Source port.","format":"int32","type":"integer"}},"type":"object"},"Contact":{"description":"The email address of a contact.","properties":{"email":{"description":"An email address. For example, \"`person123@company.com`\".","type":"string"}},"type":"object"},"ContactDetails":{"description":"Details about specific contacts","properties":{"contacts":{"description":"A list of contacts","items":{"$ref":"#/components/schemas/Contact"},"type":"array"}},"type":"object"},"Container":{"description":"Container associated with the finding.","properties":{"createTime":{"description":"The time that the container was created.","format":"google-datetime","type":"string"},"imageId":{"description":"Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.","type":"string"},"labels":{"description":"Container labels, as provided by the container runtime.","items":{"$ref":"#/components/schemas/Label"},"type":"array"},"name":{"description":"Name of the container.","type":"string"},"uri":{"description":"Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.","type":"string"}},"type":"object"},"ContainerThreatDetectionSettings":{"description":"Resource capturing the settings for the Container Threat Detection service.","properties":{"modules":{"additionalProperties":{"$ref":"#/components/schemas/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.","type":"object"},"name":{"description":"The resource name of the ContainerThreatDetectionSettings. Formats: * organizations/{organization}/containerThreatDetectionSettings * folders/{folder}/containerThreatDetectionSettings * projects/{project}/containerThreatDetectionSettings * projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings","type":"string"},"serviceAccount":{"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.","readOnly":true,"type":"string"},"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"},"updateTime":{"description":"Output only. The time the settings were last updated.","format":"google-datetime","readOnly":true,"type":"string"}},"type":"object"},"Cve":{"description":"CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.","properties":{"cvssv3":{"$ref":"#/components/schemas/Cvssv3","description":"Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document"},"exploitationActivity":{"description":"The exploitation activity of the vulnerability in the wild.","enum":["EXPLOITATION_ACTIVITY_UNSPECIFIED","WIDE","CONFIRMED","AVAILABLE","ANTICIPATED","NO_KNOWN"],"type":"string"},"id":{"description":"The unique identifier for the vulnerability. e.g. CVE-2021-34527","type":"string"},"impact":{"description":"The potential impact of the vulnerability if it was to be exploited.","enum":["RISK_RATING_UNSPECIFIED","LOW","MEDIUM","HIGH","CRITICAL"],"type":"string"},"observedInTheWild":{"description":"Whether or not the vulnerability has been observed in the wild.","type":"boolean"},"references":{"description":"Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527","items":{"$ref":"#/components/schemas/Reference"},"type":"array"},"upstreamFixAvailable":{"description":"Whether upstream fix is available for the CVE.","type":"boolean"},"zeroDay":{"description":"Whether or not the vulnerability was zero day when the finding was published.","type":"boolean"}},"type":"object"},"Cvssv3":{"description":"Common Vulnerability Scoring System version 3.","properties":{"attackComplexity":{"description":"This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.","enum":["ATTACK_COMPLEXITY_UNSPECIFIED","ATTACK_COMPLEXITY_LOW","ATTACK_COMPLEXITY_HIGH"],"type":"string"},"attackVector":{"description":"Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.","enum":["ATTACK_VECTOR_UNSPECIFIED","ATTACK_VECTOR_NETWORK","ATTACK_VECTOR_ADJACENT","ATTACK_VECTOR_LOCAL","ATTACK_VECTOR_PHYSICAL"],"type":"string"},"availabilityImpact":{"description":"This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.","enum":["IMPACT_UNSPECIFIED","IMPACT_HIGH","IMPACT_LOW","IMPACT_NONE"],"type":"string"},"baseScore":{"description":"The base score is a function of the base metric scores.","format":"double","type":"number"},"confidentialityImpact":{"description":"This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.","enum":["IMPACT_UNSPECIFIED","IMPACT_HIGH","IMPACT_LOW","IMPACT_NONE"],"type":"string"},"integrityImpact":{"description":"This metric measures the impact to integrity of a successfully exploited vulnerability.","enum":["IMPACT_UNSPECIFIED","IMPACT_HIGH","IMPACT_LOW","IMPACT_NONE"],"type":"string"},"privilegesRequired":{"description":"This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.","enum":["PRIVILEGES_REQUIRED_UNSPECIFIED","PRIVILEGES_REQUIRED_NONE","PRIVILEGES_REQUIRED_LOW","PRIVILEGES_REQUIRED_HIGH"],"type":"string"},"scope":{"description":"The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.","enum":["SCOPE_UNSPECIFIED","SCOPE_UNCHANGED","SCOPE_CHANGED"],"type":"string"},"userInteraction":{"description":"This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.","enum":["USER_INTERACTION_UNSPECIFIED","USER_INTERACTION_NONE","USER_INTERACTION_REQUIRED"],"type":"string"}},"type":"object"},"Database":{"description":"Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.","properties":{"displayName":{"description":"The human-readable name of the database that the user connected to.","type":"string"},"grantees":{"description":"The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.","items":{"type":"string"},"type":"array"},"name":{"description":"Some database resources may not have the [full resource name](https://google.aip.dev/122#full-resource-names) populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The [full resource name](https://google.aip.dev/122#full-resource-names) of the database that the user connected to, if it is supported by Cloud Asset Inventory.","type":"string"},"query":{"description":"The SQL statement that is associated with the database access.","type":"string"},"userName":{"description":"The username used to connect to the database. The username might not be an IAM principal and does not have a set format.","type":"string"},"version":{"description":"The version of the database, for example, POSTGRES_14. See [the complete list](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).","type":"string"}},"type":"object"},"Details":{"description":"Details of a subscription.","properties":{"endTime":{"description":"The time the subscription has or will end.","format":"google-datetime","type":"string"},"startTime":{"description":"The time the subscription has or will start.","format":"google-datetime","type":"string"},"type":{"description":"The type of subscription","enum":["TYPE_UNSPECIFIED","STANDARD","TRIAL","ALPHA","DEMO","PAY_AS_YOU_GO"],"type":"string"}},"type":"object"},"Detection":{"description":"Memory hash detection contributing to the binary family match.","properties":{"binary":{"description":"The name of the binary associated with the memory hash signature detection.","type":"string"},"percentPagesMatched":{"description":"The percentage of memory page hashes in the signature that were matched.","format":"double","type":"number"}},"type":"object"},"DiskPath":{"description":"Path of the file in terms of underlying disk/partition identifiers.","properties":{"partitionUuid":{"description":"UUID of the partition (format https://wiki.archlinux.org/title/persistent_block_device_naming#by-uuid)","type":"string"},"relativePath":{"description":"Relative path of the file in the partition as a JSON encoded string. Example: /home/user1/executable_file.sh","type":"string"}},"type":"object"},"EnvironmentVariable":{"description":"A name-value pair representing an environment variable used in an operating system process.","properties":{"name":{"description":"Environment variable name as a JSON encoded string.","type":"string"},"val":{"description":"Environment variable value as a JSON encoded string.","type":"string"}},"type":"object"},"EventThreatDetectionSettings":{"description":"Resource capturing the settings for the Event Threat Detection service.","properties":{"modules":{"additionalProperties":{"$ref":"#/components/schemas/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.","type":"object"},"name":{"description":"The resource name of the EventThreatDetectionSettings. Formats: * organizations/{organization}/eventThreatDetectionSettings * folders/{folder}/eventThreatDetectionSettings * projects/{project}/eventThreatDetectionSettings","type":"string"},"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"},"updateTime":{"description":"Output only. The time the settings were last updated.","format":"google-datetime","readOnly":true,"type":"string"}},"type":"object"},"ExfilResource":{"description":"Resource where data was exfiltrated from or exfiltrated to.","properties":{"components":{"description":"Subcomponents of the asset that was exfiltrated, like URIs used during exfiltration, table names, databases, and filenames. For example, multiple tables might have been exfiltrated from the same Cloud SQL instance, or multiple files might have been exfiltrated from the same Cloud Storage bucket.","items":{"type":"string"},"type":"array"},"name":{"description":"The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).","type":"string"}},"type":"object"},"Exfiltration":{"description":"Exfiltration represents a data exfiltration attempt from one or more sources to one or more targets. The `sources` attribute lists the sources of the exfiltrated data. The `targets` attribute lists the destinations the data was copied to.","properties":{"sources":{"description":"If there are multiple sources, then the data is considered \"joined\" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source.","items":{"$ref":"#/components/schemas/ExfilResource"},"type":"array"},"targets":{"description":"If there are multiple targets, each target would get a complete copy of the \"joined\" source data.","items":{"$ref":"#/components/schemas/ExfilResource"},"type":"array"},"totalExfiltratedBytes":{"description":"Total exfiltrated bytes processed for the entire job.","format":"int64","type":"string"}},"type":"object"},"Expr":{"description":"Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.","properties":{"description":{"description":"Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.","type":"string"},"expression":{"description":"Textual representation of an expression in Common Expression Language syntax.","type":"string"},"location":{"description":"Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.","type":"string"},"title":{"description":"Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.","type":"string"}},"type":"object"},"File":{"description":"File information about the related binary/library used by an executable, or the script used by a script interpreter","properties":{"contents":{"description":"Prefix of the file contents as a JSON-encoded string.","type":"string"},"diskPath":{"$ref":"#/components/schemas/DiskPath","description":"Path of the file in terms of underlying disk/partition identifiers."},"hashedSize":{"description":"The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.","format":"int64","type":"string"},"partiallyHashed":{"description":"True when the hash covers only a prefix of the file.","type":"boolean"},"path":{"description":"Absolute path of the file as a JSON encoded string.","type":"string"},"sha256":{"description":"SHA256 hash of the first hashed_size bytes of the file encoded as a hex string. If hashed_size == size, sha256 represents the SHA256 hash of the entire file.","type":"string"},"size":{"description":"Size of the file in bytes.","format":"int64","type":"string"}},"type":"object"},"Finding":{"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.","properties":{"access":{"$ref":"#/components/schemas/Access","description":"Access details associated with the finding, such as more information on the caller, which method was accessed, and from where."},"application":{"$ref":"#/components/schemas/Application","description":"Represents an application associated with the finding."},"attackExposure":{"$ref":"#/components/schemas/AttackExposure","description":"The results of an attack path simulation relevant to this finding."},"backupDisasterRecovery":{"$ref":"#/components/schemas/BackupDisasterRecovery","description":"Fields related to Backup and DR findings."},"canonicalName":{"description":"The canonical name of the finding. It's either \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\" or \"projects/{project_number}/sources/{source_id}/findings/{finding_id}\", depending on the closest CRM ancestor of the resource associated with the finding.","type":"string"},"category":{"description":"The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: \"XSS_FLASH_INJECTION\"","type":"string"},"cloudDlpDataProfile":{"$ref":"#/components/schemas/CloudDlpDataProfile","description":"Cloud DLP data profile that is associated with the finding."},"cloudDlpInspection":{"$ref":"#/components/schemas/CloudDlpInspection","description":"Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding."},"compliances":{"description":"Contains compliance information for security standards associated to the finding.","items":{"$ref":"#/components/schemas/Compliance"},"type":"array"},"connections":{"description":"Contains information about the IP connection associated with the finding.","items":{"$ref":"#/components/schemas/Connection"},"type":"array"},"contacts":{"additionalProperties":{"$ref":"#/components/schemas/ContactDetails"},"description":"Output only. Map containing the points of contact for the given finding. The key represents the type of contact, while the value contains a list of all the contacts that pertain. Please refer to: https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories { \"security\": { \"contacts\": [ { \"email\": \"person1@company.com\" }, { \"email\": \"person2@company.com\" } ] } }","readOnly":true,"type":"object"},"containers":{"description":"Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.","items":{"$ref":"#/components/schemas/Container"},"type":"array"},"createTime":{"description":"The time at which the finding was created in Security Command Center.","format":"google-datetime","type":"string"},"database":{"$ref":"#/components/schemas/Database","description":"Database associated with the finding."},"description":{"description":"Contains more details about the finding.","type":"string"},"eventTime":{"description":"The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.","format":"google-datetime","type":"string"},"exfiltration":{"$ref":"#/components/schemas/Exfiltration","description":"Represents exfiltrations associated with the finding."},"externalSystems":{"additionalProperties":{"$ref":"#/components/schemas/GoogleCloudSecuritycenterV1ExternalSystem"},"description":"Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.","readOnly":true,"type":"object"},"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"},"files":{"description":"File associated with the finding.","items":{"$ref":"#/components/schemas/File"},"type":"array"},"findingClass":{"description":"The class of the finding.","enum":["FINDING_CLASS_UNSPECIFIED","THREAT","VULNERABILITY","MISCONFIGURATION","OBSERVATION","SCC_ERROR","POSTURE_VIOLATION"],"type":"string"},"iamBindings":{"description":"Represents IAM bindings associated with the finding.","items":{"$ref":"#/components/schemas/IamBinding"},"type":"array"},"indicator":{"$ref":"#/components/schemas/Indicator","description":"Represents what's commonly known as an *indicator of compromise* (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see [Indicator of compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise)."},"kernelRootkit":{"$ref":"#/components/schemas/KernelRootkit","description":"Signature of the kernel rootkit."},"kubernetes":{"$ref":"#/components/schemas/Kubernetes","description":"Kubernetes resources associated with the finding."},"loadBalancers":{"description":"The load balancers associated with the finding.","items":{"$ref":"#/components/schemas/LoadBalancer"},"type":"array"},"logEntries":{"description":"Log entries that are relevant to the finding.","items":{"$ref":"#/components/schemas/LogEntry"},"type":"array"},"mitreAttack":{"$ref":"#/components/schemas/MitreAttack","description":"MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org"},"moduleName":{"description":"Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885","type":"string"},"mute":{"description":"Indicates the mute state of a finding (either muted, unmuted or undefined). Unlike other attributes of a finding, a finding provider shouldn't set the value of mute.","enum":["MUTE_UNSPECIFIED","MUTED","UNMUTED","UNDEFINED"],"type":"string"},"muteInitiator":{"description":"Records additional information about the mute operation, for example, the [mute configuration](/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.","type":"string"},"muteUpdateTime":{"description":"Output only. The most recent time this finding was muted or unmuted.","format":"google-datetime","readOnly":true,"type":"string"},"name":{"description":"The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. Example: \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}\", \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}\", \"projects/{project_id}/sources/{source_id}/findings/{finding_id}\".","type":"string"},"nextSteps":{"description":"Steps to address the finding.","type":"string"},"orgPolicies":{"description":"Contains information about the org policies associated with the finding.","items":{"$ref":"#/components/schemas/OrgPolicy"},"type":"array"},"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"},"parentDisplayName":{"description":"Output only. The human readable display name of the finding source such as \"Event Threat Detection\" or \"Security Health Analytics\".","readOnly":true,"type":"string"},"processes":{"description":"Represents operating system processes associated with the Finding.","items":{"$ref":"#/components/schemas/Process"},"type":"array"},"resourceName":{"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.","type":"string"},"securityMarks":{"$ref":"#/components/schemas/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},"securityPosture":{"$ref":"#/components/schemas/SecurityPosture","description":"The security posture associated with the finding."},"severity":{"description":"The severity of the finding. This field is managed by the source that writes the finding.","enum":["SEVERITY_UNSPECIFIED","CRITICAL","HIGH","MEDIUM","LOW"],"type":"string"},"sourceProperties":{"additionalProperties":{},"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"},"state":{"description":"The state of the finding.","enum":["STATE_UNSPECIFIED","ACTIVE","INACTIVE"],"type":"string"},"vulnerability":{"$ref":"#/components/schemas/Vulnerability","description":"Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)"}},"type":"object"},"Folder":{"description":"Message that contains the resource name and display name of a folder resource.","properties":{"resourceFolder":{"description":"Full resource name of this folder. See: https://cloud.google.com/apis/design/resource_names#full_resource_name","type":"string"},"resourceFolderDisplayName":{"description":"The user defined display name for this folder.","type":"string"}},"type":"object"},"Geolocation":{"description":"Represents a geographical location for a given access.","properties":{"regionCode":{"description":"A CLDR.","type":"string"}},"type":"object"},"GoogleCloudSecuritycenterV1BigQueryExport":{"description":"Configures how to deliver Findings to BigQuery Instance.","properties":{"createTime":{"description":"Output only. The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation.","format":"google-datetime","readOnly":true,"type":"string"},"dataset":{"description":"The dataset to write findings' updates to. Its format is \"projects/[project_id]/datasets/[bigquery_dataset_id]\". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).","type":"string"},"description":{"description":"The description of the export (max of 1024 characters).","type":"string"},"filter":{"description":"Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators `AND` and `OR`. Parentheses are supported, and `OR` has higher precedence than `AND`. Restrictions have the form ` ` and may have a `-` character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring matching, for strings. The supported value types are: * string literals in quotes. * integer literals without quotes. * boolean literals `true` and `false` without quotes.","type":"string"},"mostRecentEditor":{"description":"Output only. Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.","readOnly":true,"type":"string"},"name":{"description":"The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. Example format: \"organizations/{organization_id}/bigQueryExports/{export_id}\" Example format: \"folders/{folder_id}/bigQ