{ "discoveryVersion": "v1", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "servicePath": "", "protocol": "rest", "version_module": true, "mtlsRootUrl": "https://securitycenter.mtls.googleapis.com/", "schemas": { "ListOperationsResponse": { "id": "ListOperationsResponse", "description": "The response message for Operations.ListOperations.", "type": "object", "properties": { "operations": { "description": "A list of operations that matches the specified filter in the request.", "type": "array", "items": { "$ref": "Operation" } }, "nextPageToken": { "description": "The standard List next-page token.", "type": "string" } } }, "Operation": { "id": "Operation", "description": "This resource represents a long-running operation that is the result of a network API call.", "type": "object", "properties": { "name": { "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", "type": "string" }, "metadata": { "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object. Contains field @type with type URL." } }, "done": { "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", "type": "boolean" }, "error": { "description": "The error result of the operation in case of failure or cancellation.", "$ref": "Status" }, "response": { "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object. Contains field @type with type URL." } } } }, "Status": { "id": "Status", "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", "type": "object", "properties": { "code": { "description": "The status code, which should be an enum value of google.rpc.Code.", "type": "integer", "format": "int32" }, "message": { "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", "type": "string" }, "details": { "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", "type": "array", "items": { "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object. Contains field @type with type URL." } } } } }, "Empty": { "id": "Empty", "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "type": "object", "properties": {} }, "BulkMuteFindingsRequest": { "id": "BulkMuteFindingsRequest", "description": "Request message for bulk findings update. Note: 1. If multiple bulk update requests match the same resource, the order in which they get executed is not defined. 2. Once a bulk operation is started, there is no way to stop it.", "type": "object", "properties": { "filter": { "description": "Expression that identifies findings that should be updated. 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. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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" }, "muteAnnotation": { "description": "This can be a mute configuration name or any identifier for mute/unmute of findings based on the filter.", "deprecated": true, "type": "string" } } }, "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule": { "id": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule", "description": "Represents an instance of a Security Health Analytics custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by the child folders and projects.", "type": "object", "properties": { "name": { "description": "Immutable. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.", "type": "string" }, "displayName": { "description": "The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.", "type": "string" }, "enablementState": { "description": "The enablement state of the custom module.", "type": "string", "enumDescriptions": [ "Unspecified enablement state.", "The module is enabled at the given CRM resource.", "The module is disabled at the given CRM resource.", "State is inherited from an ancestor module. The module will either be effectively ENABLED or DISABLED based on its closest non-inherited ancestor module in the CRM hierarchy." ], "enum": [ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED", "INHERITED" ] }, "updateTime": { "description": "Output only. The time at which the custom module was last updated.", "readOnly": true, "type": "string", "format": "google-datetime" }, "lastEditor": { "description": "Output only. The editor that last updated the custom module.", "readOnly": true, "type": "string" }, "ancestorModule": { "description": "Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, `ancestor_module` specifies the organization or folder from which the custom module is inherited.", "readOnly": true, "type": "string" }, "customConfig": { "description": "The user specified custom configuration for the module.", "$ref": "GoogleCloudSecuritycenterV1CustomConfig" } } }, "GoogleCloudSecuritycenterV1CustomConfig": { "id": "GoogleCloudSecuritycenterV1CustomConfig", "description": "Defines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify.", "type": "object", "properties": { "predicate": { "description": "The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated.", "$ref": "Expr" }, "customOutput": { "description": "Custom output properties.", "$ref": "GoogleCloudSecuritycenterV1CustomOutputSpec" }, "resourceSelector": { "description": "The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.", "$ref": "GoogleCloudSecuritycenterV1ResourceSelector" }, "severity": { "description": "The severity to assign to findings generated by the module.", "type": "string", "enumDescriptions": [ "Unspecified severity.", "Critical severity.", "High severity.", "Medium severity.", "Low severity." ], "enum": [ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] }, "description": { "description": "Text that describes the vulnerability or misconfiguration that the custom module detects. This explanation is returned with each finding instance to help investigators understand the detected issue. The text must be enclosed in quotation marks.", "type": "string" }, "recommendation": { "description": "An explanation of the recommended steps that security teams can take to resolve the detected issue. This explanation is returned with each finding generated by this module in the `nextSteps` property of the finding JSON.", "type": "string" } } }, "Expr": { "id": "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() \u003c 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.", "type": "object", "properties": { "expression": { "description": "Textual representation of an expression in Common Expression Language syntax.", "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" }, "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" }, "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" } } }, "GoogleCloudSecuritycenterV1CustomOutputSpec": { "id": "GoogleCloudSecuritycenterV1CustomOutputSpec", "description": "A set of optional name-value pairs that define custom source properties to return with each finding that is generated by the custom module. The custom source properties that are defined here are included in the finding JSON under `sourceProperties`.", "type": "object", "properties": { "properties": { "description": "A list of custom output properties to add to the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV1Property" } } } }, "GoogleCloudSecuritycenterV1Property": { "id": "GoogleCloudSecuritycenterV1Property", "description": "An individual name-value pair that defines a custom source property.", "type": "object", "properties": { "name": { "description": "Name of the property for the custom output.", "type": "string" }, "valueExpression": { "description": "The CEL expression for the custom output. A resource property can be specified to return the value of the property or a text string enclosed in quotation marks.", "$ref": "Expr" } } }, "GoogleCloudSecuritycenterV1ResourceSelector": { "id": "GoogleCloudSecuritycenterV1ResourceSelector", "description": "Resource for selecting resource type.", "type": "object", "properties": { "resourceTypes": { "description": "The resource types to run the detector on.", "type": "array", "items": { "type": "string" } } } }, "Source": { "id": "Source", "description": "Security Command Center finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, and other tools.", "type": "object", "properties": { "name": { "description": "The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}\"", "type": "string" }, "displayName": { "description": "The source's display name. A source's display name must be unique amongst its siblings, for example, two sources with the same parent can't share the same display name. The display name must have a length between 1 and 64 characters (inclusive).", "type": "string" }, "description": { "description": "The description of the source (max of 1024 characters). Example: \"Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in HTTPS), and outdated or insecure libraries.\"", "type": "string" }, "canonicalName": { "description": "The canonical name of the finding source. It's either \"organizations/{organization_id}/sources/{source_id}\", \"folders/{folder_id}/sources/{source_id}\", or \"projects/{project_number}/sources/{source_id}\", depending on the closest CRM ancestor of the resource associated with the finding.", "type": "string" } } }, "Finding": { "id": "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.", "type": "object", "properties": { "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" }, "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" }, "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" }, "state": { "description": "The state of the finding.", "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" ] }, "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" }, "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" }, "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" } }, "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, "$ref": "SecurityMarks" }, "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.", "type": "string", "format": "google-datetime" }, "createTime": { "description": "The time at which the finding was created in Security Command Center.", "type": "string", "format": "google-datetime" }, "severity": { "description": "The severity of the finding. This field is managed by the source that writes the finding.", "type": "string", "enumDescriptions": [ "This value is used for findings when a source doesn't write a severity value.", "Vulnerability: A critical vulnerability is easily discoverable by an external actor, exploitable, and results in the direct ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. Examples include publicly accessible unprotected user data and public SSH access with weak or no passwords. Threat: Indicates a threat that is able to access, modify, or delete data or execute unauthorized code within existing resources.", "Vulnerability: A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities in order to gain direct access and the ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. An example is a database with weak or no passwords that is only accessible internally. This database could easily be compromised by an actor that had access to the internal network. Threat: Indicates a threat that is able to create new computational resources in an environment but not able to access data or execute code in existing resources.", "Vulnerability: A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually (through multiple steps or a complex exploit) gain access and the ability to execute arbitrary code or exfiltrate data. An example is a service account with access to more projects than it should have. If an actor gains access to the service account, they could potentially use that access to manipulate a project the service account was not intended to. Threat: Indicates a threat that is able to cause operational impact but may not access data or execute unauthorized code.", "Vulnerability: A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment, or prevents the root cause investigation of security issues. An example is monitoring and logs being disabled for resource configurations and access. Threat: Indicates a threat that has obtained minimal access to an environment but is not able to access data, execute code, or create resources." ], "enum": [ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] }, "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" }, "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.", "type": "string", "enumDescriptions": [ "Unspecified.", "Finding has been muted.", "Finding has been unmuted.", "Finding has never been muted/unmuted." ], "enum": [ "MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED" ] }, "findingClass": { "description": "The class of the finding.", "type": "string", "enumDescriptions": [ "Unspecified finding class.", "Describes unwanted or malicious activity.", "Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", "Describes a potential weakness in cloud resource/asset configuration that increases risk.", "Describes a security observation that is for informational purposes.", "Describes an error that prevents some SCC functionality.", "Describes a potential security risk due to a change in the security posture." ], "enum": [ "FINDING_CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", "MISCONFIGURATION", "OBSERVATION", "SCC_ERROR", "POSTURE_VIOLATION" ] }, "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).", "$ref": "Indicator" }, "vulnerability": { "description": "Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)", "$ref": "Vulnerability" }, "muteUpdateTime": { "description": "Output only. The most recent time this finding was muted or unmuted.", "readOnly": true, "type": "string", "format": "google-datetime" }, "externalSystems": { "description": "Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.", "readOnly": true, "type": "object", "additionalProperties": { "$ref": "GoogleCloudSecuritycenterV1ExternalSystem" } }, "mitreAttack": { "description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org", "$ref": "MitreAttack" }, "access": { "description": "Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.", "$ref": "Access" }, "connections": { "description": "Contains information about the IP connection associated with the finding.", "type": "array", "items": { "$ref": "Connection" } }, "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" }, "processes": { "description": "Represents operating system processes associated with the Finding.", "type": "array", "items": { "$ref": "Process" } }, "contacts": { "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", "additionalProperties": { "$ref": "ContactDetails" } }, "compliances": { "description": "Contains compliance information for security standards associated to the finding.", "type": "array", "items": { "$ref": "Compliance" } }, "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" }, "description": { "description": "Contains more details about the finding.", "type": "string" }, "exfiltration": { "description": "Represents exfiltrations associated with the finding.", "$ref": "Exfiltration" }, "iamBindings": { "description": "Represents IAM bindings associated with the finding.", "type": "array", "items": { "$ref": "IamBinding" } }, "nextSteps": { "description": "Steps to address the finding.", "type": "string" }, "moduleName": { "description": "Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885", "type": "string" }, "containers": { "description": "Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.", "type": "array", "items": { "$ref": "Container" } }, "kubernetes": { "description": "Kubernetes resources associated with the finding.", "$ref": "Kubernetes" }, "database": { "description": "Database associated with the finding.", "$ref": "Database" }, "attackExposure": { "description": "The results of an attack path simulation relevant to this finding.", "$ref": "AttackExposure" }, "files": { "description": "File associated with the finding.", "type": "array", "items": { "$ref": "File" } }, "cloudDlpInspection": { "description": "Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.", "$ref": "CloudDlpInspection" }, "cloudDlpDataProfile": { "description": "Cloud DLP data profile that is associated with the finding.", "$ref": "CloudDlpDataProfile" }, "kernelRootkit": { "description": "Signature of the kernel rootkit.", "$ref": "KernelRootkit" }, "orgPolicies": { "description": "Contains information about the org policies associated with the finding.", "type": "array", "items": { "$ref": "OrgPolicy" } }, "application": { "description": "Represents an application associated with the finding.", "$ref": "Application" }, "backupDisasterRecovery": { "description": "Fields related to Backup and DR findings.", "$ref": "BackupDisasterRecovery" }, "securityPosture": { "description": "The security posture associated with the finding.", "$ref": "SecurityPosture" }, "logEntries": { "description": "Log entries that are relevant to the finding.", "type": "array", "items": { "$ref": "LogEntry" } }, "loadBalancers": { "description": "The load balancers associated with the finding.", "type": "array", "items": { "$ref": "LoadBalancer" } }, "cloudArmor": { "description": "Fields related to Cloud Armor findings.", "$ref": "CloudArmor" }, "notebook": { "description": "Notebook associated with the finding.", "$ref": "Notebook" } } }, "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": { "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": { "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", "additionalProperties": { "type": "string" } }, "canonicalName": { "description": "The canonical name of the marks. Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"folders/{folder_id}/assets/{asset_id}/securityMarks\" \"projects/{project_number}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks\"", "type": "string" } } }, "Indicator": { "id": "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).", "type": "object", "properties": { "ipAddresses": { "description": "The list of IP addresses that are associated with the finding.", "type": "array", "items": { "type": "string" } }, "domains": { "description": "List of domains associated to the Finding.", "type": "array", "items": { "type": "string" } }, "signatures": { "description": "The list of matched signatures indicating that the given process is present in the environment.", "type": "array", "items": { "$ref": "ProcessSignature" } }, "uris": { "description": "The list of URIs associated to the Findings.", "type": "array", "items": { "type": "string" } } } }, "ProcessSignature": { "id": "ProcessSignature", "description": "Indicates what signature matched this process.", "type": "object", "properties": { "memoryHashSignature": { "description": "Signature indicating that a binary family was matched.", "$ref": "MemoryHashSignature" }, "yaraRuleSignature": { "description": "Signature indicating that a YARA rule was matched.", "$ref": "YaraRuleSignature" }, "signatureType": { "description": "Describes the type of resource associated with the signature.", "type": "string", "enumDescriptions": [ "The default signature type.", "Used for signatures concerning processes.", "Used for signatures concerning disks." ], "enum": [ "SIGNATURE_TYPE_UNSPECIFIED", "SIGNATURE_TYPE_PROCESS", "SIGNATURE_TYPE_FILE" ] } } }, "MemoryHashSignature": { "id": "MemoryHashSignature", "description": "A signature corresponding to memory page hashes.", "type": "object", "properties": { "binaryFamily": { "description": "The binary family.", "type": "string" }, "detections": { "description": "The list of memory hash detections contributing to the binary family match.", "type": "array", "items": { "$ref": "Detection" } } } }, "Detection": { "id": "Detection", "description": "Memory hash detection contributing to the binary family match.", "type": "object", "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.", "type": "number", "format": "double" } } }, "YaraRuleSignature": { "id": "YaraRuleSignature", "description": "A signature corresponding to a YARA rule.", "type": "object", "properties": { "yaraRule": { "description": "The name of the YARA rule.", "type": "string" } } }, "Vulnerability": { "id": "Vulnerability", "description": "Refers to common vulnerability fields e.g. cve, cvss, cwe etc.", "type": "object", "properties": { "cve": { "description": "CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)", "$ref": "Cve" }, "offendingPackage": { "description": "The offending package is relevant to the finding.", "$ref": "Package" }, "fixedPackage": { "description": "The fixed package is relevant to the finding.", "$ref": "Package" }, "securityBulletin": { "description": "The security bulletin is relevant to this finding.", "$ref": "SecurityBulletin" } } }, "Cve": { "id": "Cve", "description": "CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.", "type": "object", "properties": { "id": { "description": "The unique identifier for the vulnerability. e.g. CVE-2021-34527", "type": "string" }, "references": { "description": "Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527", "type": "array", "items": { "$ref": "Reference" } }, "cvssv3": { "description": "Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document", "$ref": "Cvssv3" }, "upstreamFixAvailable": { "description": "Whether upstream fix is available for the CVE.", "type": "boolean" }, "impact": { "description": "The potential impact of the vulnerability if it was to be exploited.", "type": "string", "enumDescriptions": [ "Invalid or empty value.", "Exploitation would have little to no security impact.", "Exploitation would enable attackers to perform activities, or could allow attackers to have a direct impact, but would require additional steps.", "Exploitation would enable attackers to have a notable direct impact without needing to overcome any major mitigating factors.", "Exploitation would fundamentally undermine the security of affected systems, enable actors to perform significant attacks with minimal effort, with little to no mitigating factors to overcome." ], "enum": [ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] }, "exploitationActivity": { "description": "The exploitation activity of the vulnerability in the wild.", "type": "string", "enumDescriptions": [ "Invalid or empty value.", "Exploitation has been reported or confirmed to widely occur.", "Limited reported or confirmed exploitation activities.", "Exploit is publicly available.", "No known exploitation activity, but has a high potential for exploitation.", "No known exploitation activity." ], "enum": [ "EXPLOITATION_ACTIVITY_UNSPECIFIED", "WIDE", "CONFIRMED", "AVAILABLE", "ANTICIPATED", "NO_KNOWN" ] }, "observedInTheWild": { "description": "Whether or not the vulnerability has been observed in the wild.", "type": "boolean" }, "zeroDay": { "description": "Whether or not the vulnerability was zero day when the finding was published.", "type": "boolean" } } }, "Reference": { "id": "Reference", "description": "Additional Links", "type": "object", "properties": { "source": { "description": "Source of the reference e.g. NVD", "type": "string" }, "uri": { "description": "Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.", "type": "string" } } }, "Cvssv3": { "id": "Cvssv3", "description": "Common Vulnerability Scoring System version 3.", "type": "object", "properties": { "baseScore": { "description": "The base score is a function of the base metric scores.", "type": "number", "format": "double" }, "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.", "type": "string", "enumDescriptions": [ "Invalid value.", "The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet.", "The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology.", "The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities.", "The attack requires the attacker to physically touch or manipulate the vulnerable component." ], "enum": [ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL" ] }, "attackComplexity": { "description": "This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.", "type": "string", "enumDescriptions": [ "Invalid value.", "Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.", "A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected." ], "enum": [ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH" ] }, "privilegesRequired": { "description": "This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.", "type": "string", "enumDescriptions": [ "Invalid value.", "The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.", "The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.", "The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files." ], "enum": [ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH" ] }, "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.", "type": "string", "enumDescriptions": [ "Invalid value.", "The vulnerable system can be exploited without interaction from any user.", "Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited." ], "enum": [ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED" ] }, "scope": { "description": "The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.", "type": "string", "enumDescriptions": [ "Invalid value.", "An exploited vulnerability can only affect resources managed by the same security authority.", "An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component." ], "enum": [ "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" ] }, "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.", "type": "string", "enumDescriptions": [ "Invalid value.", "High impact.", "Low impact.", "No impact." ], "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] }, "integrityImpact": { "description": "This metric measures the impact to integrity of a successfully exploited vulnerability.", "type": "string", "enumDescriptions": [ "Invalid value.", "High impact.", "Low impact.", "No impact." ], "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] }, "availabilityImpact": { "description": "This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.", "type": "string", "enumDescriptions": [ "Invalid value.", "High impact.", "Low impact.", "No impact." ], "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] } } }, "Package": { "id": "Package", "description": "Package is a generic definition of a package.", "type": "object", "properties": { "packageName": { "description": "The name of the package where the vulnerability was detected.", "type": "string" }, "cpeUri": { "description": "The CPE URI where the vulnerability was detected.", "type": "string" }, "packageType": { "description": "Type of package, for example, os, maven, or go.", "type": "string" }, "packageVersion": { "description": "The version of the package.", "type": "string" } } }, "SecurityBulletin": { "id": "SecurityBulletin", "description": "SecurityBulletin are notifications of vulnerabilities of Google products.", "type": "object", "properties": { "bulletinId": { "description": "ID of the bulletin corresponding to the vulnerability.", "type": "string" }, "submissionTime": { "description": "Submission time of this Security Bulletin.", "type": "string", "format": "google-datetime" }, "suggestedUpgradeVersion": { "description": "This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0", "type": "string" } } }, "GoogleCloudSecuritycenterV1ExternalSystem": { "id": "GoogleCloudSecuritycenterV1ExternalSystem", "description": "Representation of third party SIEM/SOAR fields within SCC.", "type": "object", "properties": { "name": { "description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"", "type": "string" }, "assignees": { "description": "References primary/secondary etc assignees in the external system.", "type": "array", "items": { "type": "string" } }, "externalUid": { "description": "The identifier that's used to track the finding's corresponding case in the external system.", "type": "string" }, "status": { "description": "The most recent status of the finding's corresponding case, as reported by the external system.", "type": "string" }, "externalSystemUpdateTime": { "description": "The time when the case was last updated, as reported by the external system.", "type": "string", "format": "google-datetime" }, "caseUri": { "description": "The link to the finding's corresponding case in the external system.", "type": "string" }, "casePriority": { "description": "The priority of the finding's corresponding case in the external system.", "type": "string" }, "caseSla": { "description": "The SLA of the finding's corresponding case in the external system.", "type": "string", "format": "google-datetime" }, "caseCreateTime": { "description": "The time when the case was created, as reported by the external system.", "type": "string", "format": "google-datetime" }, "caseCloseTime": { "description": "The time when the case was closed, as reported by the external system.", "type": "string", "format": "google-datetime" }, "ticketInfo": { "description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.", "$ref": "TicketInfo" } } }, "TicketInfo": { "id": "TicketInfo", "description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.", "type": "object", "properties": { "id": { "description": "The identifier of the ticket in the ticket system.", "type": "string" }, "assignee": { "description": "The assignee of the ticket in the ticket system.", "type": "string" }, "description": { "description": "The description of the ticket in the ticket system.", "type": "string" }, "uri": { "description": "The link to the ticket in the ticket system.", "type": "string" }, "status": { "description": "The latest status of the ticket, as reported by the ticket system.", "type": "string" }, "updateTime": { "description": "The time when the ticket was last updated, as reported by the ticket system.", "type": "string", "format": "google-datetime" } } }, "MitreAttack": { "id": "MitreAttack", "description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org", "type": "object", "properties": { "primaryTactic": { "description": "The MITRE ATT&CK tactic most closely represented by this finding, if any.", "type": "string", "enumDescriptions": [ "Unspecified value.", "TA0043", "TA0042", "TA0001", "TA0002", "TA0003", "TA0004", "TA0005", "TA0006", "TA0007", "TA0008", "TA0009", "TA0011", "TA0010", "TA0040" ], "enum": [ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", "INITIAL_ACCESS", "EXECUTION", "PERSISTENCE", "PRIVILEGE_ESCALATION", "DEFENSE_EVASION", "CREDENTIAL_ACCESS", "DISCOVERY", "LATERAL_MOVEMENT", "COLLECTION", "COMMAND_AND_CONTROL", "EXFILTRATION", "IMPACT" ] }, "primaryTechniques": { "description": "The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).", "type": "array", "items": { "type": "string", "enumDescriptions": [ "Unspecified value.", "T1036", "T1036.005", "T1037", "T1037.005", "T1046", "T1057", "T1059", "T1059.004", "T1059.006", "T1069", "T1069.003", "T1071", "T1071.004", "T1072", "T1078", "T1078.001", "T1078.003", "T1078.004", "T1090", "T1090.002", "T1090.003", "T1098", "T1098.001", "T1098.004", "T1098.006", "T1105", "T1106", "T1110", "T1129", "T1134", "T1134.001", "T1190", "T1484", "T1485", "T1489", "T1490", "T1496", "T1498", "T1526", "T1528", "T1531", "T1539", "T1543", "T1548", "T1552", "T1556", "T1562", "T1562.001", "T1567", "T1567.002", "T1568", "T1570", "T1578", "T1578.001", "T1580", "T1588", "T1595", "T1595.001", "T1613" ], "enum": [ "TECHNIQUE_UNSPECIFIED", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", "VALID_ACCOUNTS", "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", "SHARED_MODULES", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", "EXPLOIT_PUBLIC_FACING_APPLICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "ABUSE_ELEVATION_CONTROL_MECHANISM", "UNSECURED_CREDENTIALS", "MODIFY_AUTHENTICATION_PROCESS", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", "OBTAIN_CAPABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", "CONTAINER_AND_RESOURCE_DISCOVERY" ] } }, "additionalTactics": { "description": "Additional MITRE ATT&CK tactics related to this finding, if any.", "type": "array", "items": { "type": "string", "enumDescriptions": [ "Unspecified value.", "TA0043", "TA0042", "TA0001", "TA0002", "TA0003", "TA0004", "TA0005", "TA0006", "TA0007", "TA0008", "TA0009", "TA0011", "TA0010", "TA0040" ], "enum": [ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", "INITIAL_ACCESS", "EXECUTION", "PERSISTENCE", "PRIVILEGE_ESCALATION", "DEFENSE_EVASION", "CREDENTIAL_ACCESS", "DISCOVERY", "LATERAL_MOVEMENT", "COLLECTION", "COMMAND_AND_CONTROL", "EXFILTRATION", "IMPACT" ] } }, "additionalTechniques": { "description": "Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.", "type": "array", "items": { "type": "string", "enumDescriptions": [ "Unspecified value.", "T1036", "T1036.005", "T1037", "T1037.005", "T1046", "T1057", "T1059", "T1059.004", "T1059.006", "T1069", "T1069.003", "T1071", "T1071.004", "T1072", "T1078", "T1078.001", "T1078.003", "T1078.004", "T1090", "T1090.002", "T1090.003", "T1098", "T1098.001", "T1098.004", "T1098.006", "T1105", "T1106", "T1110", "T1129", "T1134", "T1134.001", "T1190", "T1484", "T1485", "T1489", "T1490", "T1496", "T1498", "T1526", "T1528", "T1531", "T1539", "T1543", "T1548", "T1552", "T1556", "T1562", "T1562.001", "T1567", "T1567.002", "T1568", "T1570", "T1578", "T1578.001", "T1580", "T1588", "T1595", "T1595.001", "T1613" ], "enum": [ "TECHNIQUE_UNSPECIFIED", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", "VALID_ACCOUNTS", "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", "SHARED_MODULES", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", "EXPLOIT_PUBLIC_FACING_APPLICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "ABUSE_ELEVATION_CONTROL_MECHANISM", "UNSECURED_CREDENTIALS", "MODIFY_AUTHENTICATION_PROCESS", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", "OBTAIN_CAPABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", "CONTAINER_AND_RESOURCE_DISCOVERY" ] } }, "version": { "description": "The MITRE ATT&CK version referenced by the above fields. E.g. \"8\".", "type": "string" } } }, "Access": { "id": "Access", "description": "Represents an access event.", "type": "object", "properties": { "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" }, "callerIp": { "description": "Caller's IP address, such as \"1.1.1.1\".", "type": "string" }, "callerIpGeo": { "description": "The caller IP's geolocation, which identifies where the call came from.", "$ref": "Geolocation" }, "userAgentFamily": { "description": "Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.", "type": "string" }, "userAgent": { "description": "The caller's user agent string associated with the finding.", "type": "string" }, "serviceName": { "description": "This is the API service that the service account made a call to, e.g. \"iam.googleapis.com\"", "type": "string" }, "methodName": { "description": "The method that the service account called, e.g. \"SetIamPolicy\".", "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" }, "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" }, "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.", "type": "array", "items": { "$ref": "ServiceAccountDelegationInfo" } }, "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" } } }, "Geolocation": { "id": "Geolocation", "description": "Represents a geographical location for a given access.", "type": "object", "properties": { "regionCode": { "description": "A CLDR.", "type": "string" } } }, "ServiceAccountDelegationInfo": { "id": "ServiceAccountDelegationInfo", "description": "Identity delegation history of an authenticated service account.", "type": "object", "properties": { "principalEmail": { "description": "The email address of a Google account.", "type": "string" }, "principalSubject": { "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", "type": "string" } } }, "Connection": { "id": "Connection", "description": "Contains information about the IP connection associated with the finding.", "type": "object", "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.", "type": "integer", "format": "int32" }, "sourceIp": { "description": "Source IP address.", "type": "string" }, "sourcePort": { "description": "Source port.", "type": "integer", "format": "int32" }, "protocol": { "description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", "type": "string", "enumDescriptions": [ "Unspecified protocol (not HOPOPT).", "Internet Control Message Protocol.", "Transmission Control Protocol.", "User Datagram Protocol.", "Generic Routing Encapsulation.", "Encap Security Payload." ], "enum": [ "PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP" ] } } }, "Process": { "id": "Process", "description": "Represents an operating system process.", "type": "object", "properties": { "name": { "description": "The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.", "type": "string" }, "binary": { "description": "File information for the process executable.", "$ref": "File" }, "libraries": { "description": "File information for libraries loaded by the process.", "type": "array", "items": { "$ref": "File" } }, "script": { "description": "When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter.", "$ref": "File" }, "args": { "description": "Process arguments as JSON encoded strings.", "type": "array", "items": { "type": "string" } }, "argumentsTruncated": { "description": "True if `args` is incomplete.", "type": "boolean" }, "envVariables": { "description": "Process environment variables.", "type": "array", "items": { "$ref": "EnvironmentVariable" } }, "envVariablesTruncated": { "description": "True if `env_variables` is incomplete.", "type": "boolean" }, "pid": { "description": "The process ID.", "type": "string", "format": "int64" }, "parentPid": { "description": "The parent process ID.", "type": "string", "format": "int64" } } }, "File": { "id": "File", "description": "File information about the related binary/library used by an executable, or the script used by a script interpreter", "type": "object", "properties": { "path": { "description": "Absolute path of the file as a JSON encoded string.", "type": "string" }, "size": { "description": "Size of the file in bytes.", "type": "string", "format": "int64" }, "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" }, "hashedSize": { "description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", "type": "string", "format": "int64" }, "partiallyHashed": { "description": "True when the hash covers only a prefix of the file.", "type": "boolean" }, "contents": { "description": "Prefix of the file contents as a JSON-encoded string.", "type": "string" }, "diskPath": { "description": "Path of the file in terms of underlying disk/partition identifiers.", "$ref": "DiskPath" } } }, "DiskPath": { "id": "DiskPath", "description": "Path of the file in terms of underlying disk/partition identifiers.", "type": "object", "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" } } }, "EnvironmentVariable": { "id": "EnvironmentVariable", "description": "A name-value pair representing an environment variable used in an operating system process.", "type": "object", "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" } } }, "ContactDetails": { "id": "ContactDetails", "description": "Details about specific contacts", "type": "object", "properties": { "contacts": { "description": "A list of contacts", "type": "array", "items": { "$ref": "Contact" } } } }, "Contact": { "id": "Contact", "description": "The email address of a contact.", "type": "object", "properties": { "email": { "description": "An email address. For example, \"`person123@company.com`\".", "type": "string" } } }, "Compliance": { "id": "Compliance", "description": "Contains compliance information about a security standard indicating unmet recommendations.", "type": "object", "properties": { "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" }, "ids": { "description": "Policies within the standard or benchmark, for example, A.12.4.1", "type": "array", "items": { "type": "string" } } } }, "Exfiltration": { "id": "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.", "type": "object", "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.", "type": "array", "items": { "$ref": "ExfilResource" } }, "targets": { "description": "If there are multiple targets, each target would get a complete copy of the \"joined\" source data.", "type": "array", "items": { "$ref": "ExfilResource" } }, "totalExfiltratedBytes": { "description": "Total exfiltrated bytes processed for the entire job.", "type": "string", "format": "int64" } } }, "ExfilResource": { "id": "ExfilResource", "description": "Resource where data was exfiltrated from or exfiltrated to.", "type": "object", "properties": { "name": { "description": "The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).", "type": "string" }, "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.", "type": "array", "items": { "type": "string" } } } }, "IamBinding": { "id": "IamBinding", "description": "Represents a particular IAM binding, which captures a member's role addition, removal, or state.", "type": "object", "properties": { "action": { "description": "The action that was performed on a Binding.", "type": "string", "enumDescriptions": [ "Unspecified.", "Addition of a Binding.", "Removal of a Binding." ], "enum": [ "ACTION_UNSPECIFIED", "ADD", "REMOVE" ] }, "role": { "description": "Role that is assigned to \"members\". For example, \"roles/viewer\", \"roles/editor\", or \"roles/owner\".", "type": "string" }, "member": { "description": "A single identity requesting access for a Cloud Platform resource, for example, \"foo@google.com\".", "type": "string" } } }, "Container": { "id": "Container", "description": "Container associated with the finding.", "type": "object", "properties": { "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" }, "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.", "type": "array", "items": { "$ref": "Label" } }, "createTime": { "description": "The time that the container was created.", "type": "string", "format": "google-datetime" } } }, "Label": { "id": "Label", "description": "Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).", "type": "object", "properties": { "name": { "description": "Name of the label.", "type": "string" }, "value": { "description": "Value that corresponds to the label's name.", "type": "string" } } }, "Kubernetes": { "id": "Kubernetes", "description": "Kubernetes-related attributes.", "type": "object", "properties": { "pods": { "description": "Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.", "type": "array", "items": { "$ref": "Pod" } }, "nodes": { "description": "Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.", "type": "array", "items": { "$ref": "Node" } }, "nodePools": { "description": "GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.", "type": "array", "items": { "$ref": "NodePool" } }, "roles": { "description": "Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", "type": "array", "items": { "$ref": "Role" } }, "bindings": { "description": "Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV1Binding" } }, "accessReviews": { "description": "Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.", "type": "array", "items": { "$ref": "AccessReview" } }, "objects": { "description": "Kubernetes objects related to the finding.", "type": "array", "items": { "$ref": "Object" } } } }, "Pod": { "id": "Pod", "description": "A Kubernetes Pod.", "type": "object", "properties": { "ns": { "description": "Kubernetes Pod namespace.", "type": "string" }, "name": { "description": "Kubernetes Pod name.", "type": "string" }, "labels": { "description": "Pod labels. For Kubernetes containers, these are applied to the container.", "type": "array", "items": { "$ref": "Label" } }, "containers": { "description": "Pod containers associated with this finding, if any.", "type": "array", "items": { "$ref": "Container" } } } }, "Node": { "id": "Node", "description": "Kubernetes nodes associated with the finding.", "type": "object", "properties": { "name": { "description": "[Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.", "type": "string" } } }, "NodePool": { "id": "NodePool", "description": "Provides GKE node pool information.", "type": "object", "properties": { "name": { "description": "Kubernetes node pool name.", "type": "string" }, "nodes": { "description": "Nodes associated with the finding.", "type": "array", "items": { "$ref": "Node" } } } }, "Role": { "id": "Role", "description": "Kubernetes Role or ClusterRole.", "type": "object", "properties": { "kind": { "description": "Role type.", "type": "string", "enumDescriptions": [ "Role type is not specified.", "Kubernetes Role.", "Kubernetes ClusterRole." ], "enum": [ "KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE" ] }, "ns": { "description": "Role namespace.", "type": "string" }, "name": { "description": "Role name.", "type": "string" } } }, "GoogleCloudSecuritycenterV1Binding": { "id": "GoogleCloudSecuritycenterV1Binding", "description": "Represents a Kubernetes RoleBinding or ClusterRoleBinding.", "type": "object", "properties": { "ns": { "description": "Namespace for the binding.", "type": "string" }, "name": { "description": "Name for the binding.", "type": "string" }, "role": { "description": "The Role or ClusterRole referenced by the binding.", "$ref": "Role" }, "subjects": { "description": "Represents one or more subjects that are bound to the role. Not always available for PATCH requests.", "type": "array", "items": { "$ref": "Subject" } } } }, "Subject": { "id": "Subject", "description": "Represents a Kubernetes subject.", "type": "object", "properties": { "kind": { "description": "Authentication type for the subject.", "type": "string", "enumDescriptions": [ "Authentication is not specified.", "User with valid certificate.", "Users managed by Kubernetes API with credentials stored as secrets.", "Collection of users." ], "enum": [ "AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP" ] }, "ns": { "description": "Namespace for the subject.", "type": "string" }, "name": { "description": "Name for the subject.", "type": "string" } } }, "AccessReview": { "id": "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.", "type": "object", "properties": { "group": { "description": "The API group of the resource. \"*\" 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" }, "name": { "description": "The name of the resource being requested. Empty means all.", "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" } } }, "Object": { "id": "Object", "description": "Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.", "type": "object", "properties": { "group": { "description": "Kubernetes object group, such as \"policy.k8s.io/v1\".", "type": "string" }, "kind": { "description": "Kubernetes object kind, such as \"Namespace\".", "type": "string" }, "ns": { "description": "Kubernetes object namespace. Must be a valid DNS label. Named \"ns\" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.", "type": "string" }, "name": { "description": "Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.", "type": "string" }, "containers": { "description": "Pod containers associated with this finding, if any.", "type": "array", "items": { "$ref": "Container" } } } }, "Database": { "id": "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.", "type": "object", "properties": { "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" }, "displayName": { "description": "The human-readable name of the database that the user connected to.", "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" }, "query": { "description": "The SQL statement that is associated with the database access.", "type": "string" }, "grantees": { "description": "The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.", "type": "array", "items": { "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" } } }, "AttackExposure": { "id": "AttackExposure", "description": "An attack exposure contains the results of an attack path simulation run.", "type": "object", "properties": { "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.", "type": "number", "format": "double" }, "latestCalculationTime": { "description": "The most recent time the attack exposure was updated on this finding.", "type": "string", "format": "google-datetime" }, "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" }, "state": { "description": "What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.", "type": "string", "enumDescriptions": [ "The state is not specified.", "The attack exposure has been calculated.", "The attack exposure has not been calculated." ], "enum": [ "STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED" ] }, "exposedHighValueResourcesCount": { "description": "The number of high value resources that are exposed as a result of this finding.", "type": "integer", "format": "int32" }, "exposedMediumValueResourcesCount": { "description": "The number of medium value resources that are exposed as a result of this finding.", "type": "integer", "format": "int32" }, "exposedLowValueResourcesCount": { "description": "The number of high value resources that are exposed as a result of this finding.", "type": "integer", "format": "int32" } } }, "CloudDlpInspection": { "id": "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.", "type": "object", "properties": { "inspectJob": { "description": "Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.", "type": "string" }, "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.", "type": "string", "format": "int64" }, "fullScan": { "description": "Whether Cloud DLP scanned the complete resource or a sampled subset.", "type": "boolean" } } }, "CloudDlpDataProfile": { "id": "CloudDlpDataProfile", "description": "The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.", "type": "object", "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.", "type": "string", "enumDescriptions": [ "Unspecified parent type.", "Organization-level configurations.", "Project-level configurations." ], "enum": [ "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" ] } } }, "KernelRootkit": { "id": "KernelRootkit", "description": "Kernel mode rootkit signatures.", "type": "object", "properties": { "name": { "description": "Rootkit name, when available.", "type": "string" }, "unexpectedCodeModification": { "description": "True if unexpected modifications of kernel code memory are present.", "type": "boolean" }, "unexpectedReadOnlyDataModification": { "description": "True if unexpected modifications of kernel read-only data memory are present.", "type": "boolean" }, "unexpectedFtraceHandler": { "description": "True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", "type": "boolean" }, "unexpectedKprobeHandler": { "description": "True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", "type": "boolean" }, "unexpectedKernelCodePages": { "description": "True if kernel code pages that are not in the expected kernel or module code regions are present.", "type": "boolean" }, "unexpectedSystemCallHandler": { "description": "True if system call handlers that are are not in the expected kernel or module code regions are present.", "type": "boolean" }, "unexpectedInterruptHandler": { "description": "True if interrupt handlers that are are not in the expected kernel or module code regions are present.", "type": "boolean" }, "unexpectedProcessesInRunqueue": { "description": "True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.", "type": "boolean" } } }, "OrgPolicy": { "id": "OrgPolicy", "description": "Contains information about the org policies associated with the finding.", "type": "object", "properties": { "name": { "description": "The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", "type": "string" } } }, "Application": { "id": "Application", "description": "Represents an application associated with a finding.", "type": "object", "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" } } }, "BackupDisasterRecovery": { "id": "BackupDisasterRecovery", "description": "Information related to Google Cloud Backup and DR Service findings.", "type": "object", "properties": { "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" }, "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`.", "type": "array", "items": { "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" }, "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`.", "type": "array", "items": { "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" }, "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`.", "type": "array", "items": { "type": "string" } }, "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" }, "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" }, "backupType": { "description": "The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.", "type": "string" }, "backupCreateTime": { "description": "The timestamp at which the Backup and DR backup was created.", "type": "string", "format": "google-datetime" } } }, "SecurityPosture": { "id": "SecurityPosture", "description": "Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.", "type": "object", "properties": { "name": { "description": "Name of the posture, for example, `CIS-Posture`.", "type": "string" }, "revisionId": { "description": "The version of the posture, for example, `c7cfa2a8`.", "type": "string" }, "postureDeploymentResource": { "description": "The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.", "type": "string" }, "postureDeployment": { "description": "The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.", "type": "string" }, "changedPolicy": { "description": "The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.", "type": "string" }, "policySet": { "description": "The name of the updated policyset, for example, `cis-policyset`.", "type": "string" }, "policy": { "description": "The ID of the updated policy, for example, `compute-policy-1`.", "type": "string" }, "policyDriftDetails": { "description": "The details about a change in an updated policy that violates the deployed posture.", "type": "array", "items": { "$ref": "PolicyDriftDetails" } } } }, "PolicyDriftDetails": { "id": "PolicyDriftDetails", "description": "The policy field that violates the deployed posture and its expected and detected values.", "type": "object", "properties": { "field": { "description": "The name of the updated field, for example constraint.implementation.policy_rules[0].enforce", "type": "string" }, "expectedValue": { "description": "The value of this field that was configured in a posture, for example, `true` or `allowed_values={\"projects/29831892\"}`.", "type": "string" }, "detectedValue": { "description": "The detected value that violates the deployed posture, for example, `false` or `allowed_values={\"projects/22831892\"}`.", "type": "string" } } }, "LogEntry": { "id": "LogEntry", "description": "An individual entry in a log.", "type": "object", "properties": { "cloudLoggingEntry": { "description": "An individual entry in a log stored in Cloud Logging.", "$ref": "CloudLoggingEntry" } } }, "CloudLoggingEntry": { "id": "CloudLoggingEntry", "description": "Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)", "type": "object", "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.", "type": "string", "format": "google-datetime" } } }, "LoadBalancer": { "id": "LoadBalancer", "description": "Contains information related to the load balancer associated with the finding.", "type": "object", "properties": { "name": { "description": "The name of the load balancer associated with the finding.", "type": "string" } } }, "CloudArmor": { "id": "CloudArmor", "description": "Fields related to Google Cloud Armor findings.", "type": "object", "properties": { "securityPolicy": { "description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.", "$ref": "SecurityPolicy" }, "requests": { "description": "Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview).", "$ref": "Requests" }, "adaptiveProtection": { "description": "Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).", "$ref": "AdaptiveProtection" }, "attack": { "description": "Information about DDoS attack volume and classification.", "$ref": "Attack" }, "threatVector": { "description": "Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, \"L3_4\" for Layer 3 and Layer 4 DDoS attacks, or \"L_7\" for Layer 7 DDoS attacks.", "type": "string" }, "duration": { "description": "Duration of attack from the start until the current moment (updated every 5 minutes).", "type": "string", "format": "google-duration" } } }, "SecurityPolicy": { "id": "SecurityPolicy", "description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.", "type": "object", "properties": { "name": { "description": "The name of the Google Cloud Armor security policy, for example, \"my-security-policy\".", "type": "string" }, "type": { "description": "The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.", "type": "string" }, "preview": { "description": "Whether or not the associated rule or policy is in preview mode.", "type": "boolean" } } }, "Requests": { "id": "Requests", "description": "Information about the requests relevant to the finding.", "type": "object", "properties": { "ratio": { "description": "For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.", "type": "number", "format": "double" }, "shortTermAllowed": { "description": "Allowed RPS (requests per second) in the short term.", "type": "integer", "format": "int32" }, "longTermAllowed": { "description": "Allowed RPS (requests per second) over the long term.", "type": "integer", "format": "int32" }, "longTermDenied": { "description": "Denied RPS (requests per second) over the long term.", "type": "integer", "format": "int32" } } }, "AdaptiveProtection": { "id": "AdaptiveProtection", "description": "Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection).", "type": "object", "properties": { "confidence": { "description": "A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.", "type": "number", "format": "double" } } }, "Attack": { "id": "Attack", "description": "Information about DDoS attack volume and classification.", "type": "object", "properties": { "volumePps": { "description": "Total PPS (packets per second) volume of attack.", "type": "integer", "format": "int32" }, "volumeBps": { "description": "Total BPS (bytes per second) volume of attack.", "type": "integer", "format": "int32" }, "classification": { "description": "Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.", "type": "string" } } }, "Notebook": { "id": "Notebook", "description": "Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding.", "type": "object", "properties": { "name": { "description": "The name of the notebook.", "type": "string" }, "service": { "description": "The source notebook service, for example, \"Colab Enterprise\".", "type": "string" }, "lastAuthor": { "description": "The user ID of the latest author to modify the notebook.", "type": "string" }, "notebookUpdateTime": { "description": "The most recent time the notebook was updated.", "type": "string", "format": "google-datetime" } } }, "GoogleCloudSecuritycenterV1MuteConfig": { "id": "GoogleCloudSecuritycenterV1MuteConfig", "description": "A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.", "type": "object", "properties": { "name": { "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "type": "string" }, "displayName": { "description": "The human readable name to be displayed for the mute config.", "deprecated": true, "type": "string" }, "description": { "description": "A description of the mute config.", "type": "string" }, "filter": { "description": "Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`", "type": "string" }, "createTime": { "description": "Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.", "readOnly": true, "type": "string", "format": "google-datetime" }, "updateTime": { "description": "Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.", "readOnly": true, "type": "string", "format": "google-datetime" }, "mostRecentEditor": { "description": "Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.", "readOnly": true, "type": "string" } } }, "NotificationConfig": { "id": "NotificationConfig", "description": "Cloud Security Command Center (Cloud SCC) notification configs. A notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc.", "type": "object", "properties": { "name": { "description": "The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/notificationConfigs/notify_public_bucket\", \"folders/{folder_id}/notificationConfigs/notify_public_bucket\", or \"projects/{project_id}/notificationConfigs/notify_public_bucket\".", "type": "string" }, "description": { "description": "The description of the notification config (max of 1024 characters).", "type": "string" }, "pubsubTopic": { "description": "The Pub/Sub topic to send notifications to. Its format is \"projects/[project_id]/topics/[topic]\".", "type": "string" }, "serviceAccount": { "description": "Output only. The service account that needs \"pubsub.topics.publish\" permission to publish to the Pub/Sub topic.", "readOnly": true, "type": "string" }, "streamingConfig": { "description": "The config for triggering streaming-based notifications.", "$ref": "StreamingConfig" } } }, "StreamingConfig": { "id": "StreamingConfig", "description": "The config for streaming-based notifications, which send each event as soon as it is detected.", "type": "object", "properties": { "filter": { "description": "Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. 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. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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" } } }, "Simulation": { "id": "Simulation", "description": "Attack path simulation", "type": "object", "properties": { "name": { "description": "Full resource name of the Simulation: organizations/123/simulations/456", "type": "string" }, "createTime": { "description": "Output only. Time simulation was created", "readOnly": true, "type": "string", "format": "google-datetime" }, "resourceValueConfigsMetadata": { "description": "Resource value configurations' metadata used in this simulation. Maximum of 100.", "type": "array", "items": { "$ref": "ResourceValueConfigMetadata" } }, "cloudProvider": { "description": "Indicates which cloud provider was used in this simulation.", "type": "string", "enumDescriptions": [ "The cloud provider is unspecified.", "The cloud provider is Google Cloud Platform.", "The cloud provider is Amazon Web Services.", "The cloud provider is Microsoft Azure." ], "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", "MICROSOFT_AZURE" ] } } }, "ResourceValueConfigMetadata": { "id": "ResourceValueConfigMetadata", "description": "Metadata about a ResourceValueConfig. For example, id and name.", "type": "object", "properties": { "name": { "description": "Resource value config name", "type": "string" } } }, "ValuedResource": { "id": "ValuedResource", "description": "A resource that is determined to have value to a user's system", "type": "object", "properties": { "name": { "description": "Valued resource name, for example, e.g.: `organizations/123/simulations/456/valuedResources/789`", "type": "string" }, "resource": { "description": "The [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name) of the valued resource.", "type": "string" }, "resourceType": { "description": "The [resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types) of the valued resource.", "type": "string" }, "displayName": { "description": "Human-readable name of the valued resource.", "type": "string" }, "resourceValue": { "description": "How valuable this resource is.", "type": "string", "enumDescriptions": [ "The resource value isn't specified.", "This is a low-value resource.", "This is a medium-value resource.", "This is a high-value resource." ], "enum": [ "RESOURCE_VALUE_UNSPECIFIED", "RESOURCE_VALUE_LOW", "RESOURCE_VALUE_MEDIUM", "RESOURCE_VALUE_HIGH" ] }, "exposedScore": { "description": "Exposed score for this valued resource. A value of 0 means no exposure was detected exposure.", "type": "number", "format": "double" }, "resourceValueConfigsUsed": { "description": "List of resource value configurations' metadata used to determine the value of this resource. Maximum of 100.", "type": "array", "items": { "$ref": "ResourceValueConfigMetadata" } } } }, "GoogleCloudSecuritycenterV1BigQueryExport": { "id": "GoogleCloudSecuritycenterV1BigQueryExport", "description": "Configures how to deliver Findings to BigQuery Instance.", "type": "object", "properties": { "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}/bigQueryExports/{export_id}\" Example format: \"projects/{project_id}/bigQueryExports/{export_id}\" This field is provided in responses, and is ignored when provided in create requests.", "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. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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" }, "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" }, "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.", "readOnly": true, "type": "string", "format": "google-datetime" }, "updateTime": { "description": "Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.", "readOnly": true, "type": "string", "format": "google-datetime" }, "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" }, "principal": { "description": "Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.", "readOnly": true, "type": "string" } } }, "GetIamPolicyRequest": { "id": "GetIamPolicyRequest", "description": "Request message for `GetIamPolicy` method.", "type": "object", "properties": { "options": { "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.", "$ref": "GetPolicyOptions" } } }, "GetPolicyOptions": { "id": "GetPolicyOptions", "description": "Encapsulates settings provided to GetIamPolicy.", "type": "object", "properties": { "requestedPolicyVersion": { "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", "type": "integer", "format": "int32" } } }, "Policy": { "id": "Policy", "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "type": "object", "properties": { "version": { "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", "type": "integer", "format": "int32" }, "bindings": { "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", "type": "array", "items": { "$ref": "Binding" } }, "auditConfigs": { "description": "Specifies cloud audit logging configuration for this policy.", "type": "array", "items": { "$ref": "AuditConfig" } }, "etag": { "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", "type": "string", "format": "byte" } } }, "Binding": { "id": "Binding", "description": "Associates `members`, or principals, with a `role`.", "type": "object", "properties": { "role": { "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", "type": "string" }, "members": { "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "type": "array", "items": { "type": "string" } }, "condition": { "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", "$ref": "Expr" } } }, "AuditConfig": { "id": "AuditConfig", "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", "type": "object", "properties": { "service": { "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", "type": "string" }, "auditLogConfigs": { "description": "The configuration for logging of each type of permission.", "type": "array", "items": { "$ref": "AuditLogConfig" } } } }, "AuditLogConfig": { "id": "AuditLogConfig", "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", "type": "object", "properties": { "logType": { "description": "The log type that this config enables.", "type": "string", "enumDescriptions": [ "Default case. Should never be this.", "Admin reads. Example: CloudIAM getIamPolicy", "Data writes. Example: CloudSQL Users create", "Data reads. Example: CloudSQL Users list" ], "enum": [ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ] }, "exemptedMembers": { "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", "type": "array", "items": { "type": "string" } } } }, "OrganizationSettings": { "id": "OrganizationSettings", "description": "User specified settings that are attached to the Security Command Center organization.", "type": "object", "properties": { "name": { "description": "The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/organizationSettings\".", "type": "string" }, "enableAssetDiscovery": { "description": "A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false`, all historical assets will remain, but discovery of future assets will not occur.", "type": "boolean" }, "assetDiscoveryConfig": { "description": "The configuration used for Asset Discovery runs.", "$ref": "AssetDiscoveryConfig" } } }, "AssetDiscoveryConfig": { "id": "AssetDiscoveryConfig", "description": "The configuration used for Asset Discovery runs.", "type": "object", "properties": { "projectIds": { "description": "The project ids to use for filtering asset discovery.", "type": "array", "items": { "type": "string" } }, "inclusionMode": { "description": "The mode to use for filtering asset discovery.", "type": "string", "enumDescriptions": [ "Unspecified. Setting the mode with this value will disable inclusion/exclusion filtering for Asset Discovery.", "Asset Discovery will capture only the resources within the projects specified. All other resources will be ignored.", "Asset Discovery will ignore all resources under the projects specified. All other resources will be retrieved." ], "enum": [ "INCLUSION_MODE_UNSPECIFIED", "INCLUDE_ONLY", "EXCLUDE" ] }, "folderIds": { "description": "The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966.", "type": "array", "items": { "type": "string" } } } }, "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule": { "id": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule", "description": "An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective enablement_state for the module in all child folders or projects is also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.", "type": "object", "properties": { "name": { "description": "Output only. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\"", "readOnly": true, "type": "string" }, "customConfig": { "description": "Output only. The user-specified configuration for the module.", "readOnly": true, "$ref": "GoogleCloudSecuritycenterV1CustomConfig" }, "enablementState": { "description": "Output only. The effective state of enablement for the module at the given level of the hierarchy.", "readOnly": true, "type": "string", "enumDescriptions": [ "Unspecified enablement state.", "The module is enabled at the given level.", "The module is disabled at the given level." ], "enum": [ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] }, "displayName": { "description": "Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.", "readOnly": true, "type": "string" } } }, "GroupAssetsRequest": { "id": "GroupAssetsRequest", "description": "Request message for grouping by assets.", "type": "object", "properties": { "filter": { "description": "Expression that defines the filter to apply across assets. 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 Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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. The following field and operator combinations are supported: * name: `=` * update_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = \"2019-06-10T16:07:18-07:00\"` `update_time = 1560208038000` * create_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = \"2019-06-10T16:07:18-07:00\"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : \"\"`", "type": "string" }, "groupBy": { "description": "Required. Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: \"security_center_properties.resource_project,security_center_properties.project\". The following fields are supported when compare_duration is not set: * security_center_properties.resource_project * security_center_properties.resource_project_display_name * security_center_properties.resource_type * security_center_properties.resource_parent * security_center_properties.resource_parent_display_name The following fields are supported when compare_duration is set: * security_center_properties.resource_type * security_center_properties.resource_project_display_name * security_center_properties.resource_parent_display_name", "type": "string" }, "compareDuration": { "description": "When compare_duration is set, the GroupResult's \"state_change\" property is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state_change\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present at the start of compare_duration, but present at reference_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at reference_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and reference_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all assets present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.", "type": "string", "format": "google-duration" }, "readTime": { "description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", "type": "string", "format": "google-datetime" }, "pageToken": { "description": "The value returned by the last `GroupAssetsResponse`; indicates that this is a continuation of a prior `GroupAssets` call, and that the system should return the next page of data.", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "type": "integer", "format": "int32" } } }, "GroupAssetsResponse": { "id": "GroupAssetsResponse", "description": "Response message for grouping by assets.", "type": "object", "properties": { "groupByResults": { "description": "Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.", "type": "array", "items": { "$ref": "GroupResult" } }, "readTime": { "description": "Time used for executing the groupBy request.", "type": "string", "format": "google-datetime" }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results.", "type": "string" }, "totalSize": { "description": "The total number of results matching the query.", "type": "integer", "format": "int32" } } }, "GroupResult": { "id": "GroupResult", "description": "Result containing the properties and count of a groupBy request.", "type": "object", "properties": { "properties": { "description": "Properties matching the groupBy fields in the request.", "type": "object", "additionalProperties": { "type": "any" } }, "count": { "description": "Total count of resources for the given properties.", "type": "string", "format": "int64" } } }, "GroupFindingsRequest": { "id": "GroupFindingsRequest", "description": "Request message for grouping by findings.", "type": "object", "properties": { "filter": { "description": "Expression that defines the filter to apply across findings. The expression is a list of one 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. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = \"2019-06-10T16:07:18-07:00\"` `event_time = 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : \"\"` * resource: * resource.name: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:`", "type": "string" }, "groupBy": { "description": "Required. Expression that defines what assets fields to use for grouping (including `state_change`). The string value should follow SQL syntax: comma separated list of fields. For example: \"parent,resource_name\". The following fields are supported when compare_duration is set: * state_change", "type": "string" }, "readTime": { "description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", "type": "string", "format": "google-datetime" }, "compareDuration": { "description": "When compare_duration is set, the GroupResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time. If this field is set then `state_change` must be a specified field in `group_by`.", "type": "string", "format": "google-duration" }, "pageToken": { "description": "The value returned by the last `GroupFindingsResponse`; indicates that this is a continuation of a prior `GroupFindings` call, and that the system should return the next page of data.", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "type": "integer", "format": "int32" } } }, "GroupFindingsResponse": { "id": "GroupFindingsResponse", "description": "Response message for group by findings.", "type": "object", "properties": { "groupByResults": { "description": "Group results. There exists an element for each existing unique combination of property/values. The element contains a count for the number of times those specific property/values appear.", "type": "array", "items": { "$ref": "GroupResult" } }, "readTime": { "description": "Time used for executing the groupBy request.", "type": "string", "format": "google-datetime" }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results.", "type": "string" }, "totalSize": { "description": "The total number of results matching the query.", "type": "integer", "format": "int32" } } }, "ListAssetsResponse": { "id": "ListAssetsResponse", "description": "Response message for listing assets.", "type": "object", "properties": { "listAssetsResults": { "description": "Assets matching the list request.", "type": "array", "items": { "$ref": "ListAssetsResult" } }, "readTime": { "description": "Time used for executing the list request.", "type": "string", "format": "google-datetime" }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results.", "type": "string" }, "totalSize": { "description": "The total number of assets matching the query.", "type": "integer", "format": "int32" } } }, "ListAssetsResult": { "id": "ListAssetsResult", "description": "Result containing the Asset and its State.", "type": "object", "properties": { "asset": { "description": "Asset matching the search request.", "$ref": "Asset" }, "stateChange": { "description": "State change of the asset between the points in time.", "type": "string", "enumDescriptions": [ "State change is unused, this is the canonical default for this enum.", "Asset was added between the points in time.", "Asset was removed between the points in time.", "Asset was present at both point(s) in time." ], "enum": [ "UNUSED", "ADDED", "REMOVED", "ACTIVE" ] } } }, "Asset": { "id": "Asset", "description": "Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.", "type": "object", "properties": { "name": { "description": "The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/assets/{asset_id}\".", "type": "string" }, "securityCenterProperties": { "description": "Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.", "$ref": "SecurityCenterProperties" }, "resourceProperties": { "description": "Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.", "type": "object", "additionalProperties": { "type": "any" } }, "securityMarks": { "description": "User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.", "$ref": "SecurityMarks" }, "createTime": { "description": "The time at which the asset was created in Security Command Center.", "type": "string", "format": "google-datetime" }, "updateTime": { "description": "The time at which the asset was last updated or added in Cloud SCC.", "type": "string", "format": "google-datetime" }, "iamPolicy": { "description": "Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.", "$ref": "IamPolicy" }, "canonicalName": { "description": "The canonical name of the resource. It's either \"organizations/{organization_id}/assets/{asset_id}\", \"folders/{folder_id}/assets/{asset_id}\" or \"projects/{project_number}/assets/{asset_id}\", depending on the closest CRM ancestor of the resource.", "type": "string" } } }, "SecurityCenterProperties": { "id": "SecurityCenterProperties", "description": "Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.", "type": "object", "properties": { "resourceName": { "description": "The full resource name of the Google Cloud resource this asset represents. This field is immutable after create time. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", "type": "string" }, "resourceType": { "description": "The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field defined by Security Command Center and/or the producer of the resource and is immutable after create time.", "type": "string" }, "resourceParent": { "description": "The full resource name of the immediate parent of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", "type": "string" }, "resourceProject": { "description": "The full resource name of the project the resource belongs to. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", "type": "string" }, "resourceOwners": { "description": "Owners of the Google Cloud resource.", "type": "array", "items": { "type": "string" } }, "resourceDisplayName": { "description": "The user defined display name for this resource.", "type": "string" }, "resourceParentDisplayName": { "description": "The user defined display name for the parent of this resource.", "type": "string" }, "resourceProjectDisplayName": { "description": "The user defined display name for the project of this resource.", "type": "string" }, "folders": { "description": "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", "items": { "$ref": "Folder" } } } }, "Folder": { "id": "Folder", "description": "Message that contains the resource name and display name of a folder resource.", "type": "object", "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" } } }, "IamPolicy": { "id": "IamPolicy", "description": "Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.", "type": "object", "properties": { "policyBlob": { "description": "The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/reference/rest/v1/Policy for format details.", "type": "string" } } }, "ListDescendantSecurityHealthAnalyticsCustomModulesResponse": { "id": "ListDescendantSecurityHealthAnalyticsCustomModulesResponse", "description": "Response message for listing descendant Security Health Analytics custom modules.", "type": "object", "properties": { "securityHealthAnalyticsCustomModules": { "description": "Custom modules belonging to the requested parent and its descendants.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" } }, "nextPageToken": { "description": "If not empty, indicates that there may be more custom modules to be returned.", "type": "string" } } }, "ListFindingsResponse": { "id": "ListFindingsResponse", "description": "Response message for listing findings.", "type": "object", "properties": { "listFindingsResults": { "description": "Findings matching the list request.", "type": "array", "items": { "$ref": "ListFindingsResult" } }, "readTime": { "description": "Time used for executing the list request.", "type": "string", "format": "google-datetime" }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results.", "type": "string" }, "totalSize": { "description": "The total number of findings matching the query.", "type": "integer", "format": "int32" } } }, "ListFindingsResult": { "id": "ListFindingsResult", "description": "Result containing the Finding and its StateChange.", "type": "object", "properties": { "finding": { "description": "Finding matching the search request.", "$ref": "Finding" }, "stateChange": { "description": "State change of the finding between the points in time.", "type": "string", "enumDescriptions": [ "State change is unused, this is the canonical default for this enum.", "The finding has changed state in some way between the points in time and existed at both points.", "The finding has not changed state between the points in time and existed at both points.", "The finding was created between the points in time.", "The finding at timestamp does not match the filter specified, but it did at timestamp - compare_duration." ], "enum": [ "UNUSED", "CHANGED", "UNCHANGED", "ADDED", "REMOVED" ] }, "resource": { "description": "Output only. Resource that is associated with this finding.", "readOnly": true, "$ref": "Resource" } } }, "Resource": { "id": "Resource", "description": "Information related to the Google Cloud resource that is associated with this finding.", "type": "object", "properties": { "name": { "description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", "type": "string" }, "displayName": { "description": "The human readable name of the resource.", "type": "string" }, "type": { "description": "The full resource type of the resource.", "type": "string" }, "projectName": { "description": "The full resource name of project that the resource belongs to.", "type": "string" }, "projectDisplayName": { "description": "The project ID that the resource belongs to.", "type": "string" }, "parentName": { "description": "The full resource name of resource's parent.", "type": "string" }, "parentDisplayName": { "description": "The human readable name of resource's parent.", "type": "string" }, "folders": { "description": "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", "items": { "$ref": "Folder" } }, "cloudProvider": { "description": "Indicates which cloud provider the finding is from.", "type": "string", "enumDescriptions": [ "The cloud provider is unspecified.", "The cloud provider is Google Cloud Platform.", "The cloud provider is Amazon Web Services.", "The cloud provider is Microsoft Azure." ], "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", "MICROSOFT_AZURE" ] }, "organization": { "description": "Indicates which organization / tenant the finding is for.", "type": "string" }, "service": { "description": "The service or resource provider associated with the resource.", "type": "string" }, "location": { "description": "The region or location of the service (if applicable).", "type": "string" }, "awsMetadata": { "description": "The AWS metadata associated with the finding.", "$ref": "AwsMetadata" }, "resourcePath": { "description": "Provides the path to the resource within the resource hierarchy.", "$ref": "ResourcePath" }, "resourcePathString": { "description": "A string representation of the resource path. For Google Cloud, it has the format of org/{organization_id}/folder/{folder_id}/folder/{folder_id}/project/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.", "type": "string" } } }, "AwsMetadata": { "id": "AwsMetadata", "description": "AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services.", "type": "object", "properties": { "organization": { "description": "The AWS organization associated with the resource.", "$ref": "AwsOrganization" }, "organizationalUnits": { "description": "A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.", "type": "array", "items": { "$ref": "AwsOrganizationalUnit" } }, "account": { "description": "The AWS account associated with the resource.", "$ref": "AwsAccount" } } }, "AwsOrganization": { "id": "AwsOrganization", "description": "An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.", "type": "object", "properties": { "id": { "description": "The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires \"o-\" followed by from 10 to 32 lowercase letters or digits.", "type": "string" } } }, "AwsOrganizationalUnit": { "id": "AwsOrganizationalUnit", "description": "An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.", "type": "object", "properties": { "id": { "description": "The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits. For example, \"ou-ab12-cd34ef56\".", "type": "string" }, "name": { "description": "The friendly name of the OU.", "type": "string" } } }, "AwsAccount": { "id": "AwsAccount", "description": "An AWS account that is a member of an organization.", "type": "object", "properties": { "id": { "description": "The unique identifier (ID) of the account, containing exactly 12 digits.", "type": "string" }, "name": { "description": "The friendly name of this account.", "type": "string" } } }, "ResourcePath": { "id": "ResourcePath", "description": "Represents the path of resources leading up to the resource this finding is about.", "type": "object", "properties": { "nodes": { "description": "The list of nodes that make the up resource path, ordered from lowest level to highest level.", "type": "array", "items": { "$ref": "ResourcePathNode" } } } }, "ResourcePathNode": { "id": "ResourcePathNode", "description": "A node within the resource path. Each node represents a resource within the resource hierarchy.", "type": "object", "properties": { "nodeType": { "description": "The type of resource this node represents.", "type": "string", "enumDescriptions": [ "Node type is unspecified.", "The node represents a Google Cloud organization.", "The node represents a Google Cloud folder.", "The node represents a Google Cloud project.", "The node represents an AWS organization.", "The node represents an AWS organizational unit.", "The node represents an AWS account.", "The node represents an Azure management group.", "The node represents an Azure subscription.", "The node represents an Azure resource group." ], "enum": [ "RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", "GCP_ORGANIZATION", "GCP_FOLDER", "GCP_PROJECT", "AWS_ORGANIZATION", "AWS_ORGANIZATIONAL_UNIT", "AWS_ACCOUNT", "AZURE_MANAGEMENT_GROUP", "AZURE_SUBSCRIPTION", "AZURE_RESOURCE_GROUP" ] }, "id": { "description": "The ID of the resource this node represents.", "type": "string" }, "displayName": { "description": "The display name of the resource this node represents.", "type": "string" } } }, "ListMuteConfigsResponse": { "id": "ListMuteConfigsResponse", "description": "Response message for listing mute configs.", "type": "object", "properties": { "muteConfigs": { "description": "The mute configs from the specified parent.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" } }, "nextPageToken": { "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" } } }, "ListNotificationConfigsResponse": { "id": "ListNotificationConfigsResponse", "description": "Response message for listing notification configs.", "type": "object", "properties": { "notificationConfigs": { "description": "Notification configs belonging to the requested parent.", "type": "array", "items": { "$ref": "NotificationConfig" } }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results.", "type": "string" } } }, "ListEffectiveSecurityHealthAnalyticsCustomModulesResponse": { "id": "ListEffectiveSecurityHealthAnalyticsCustomModulesResponse", "description": "Response message for listing effective Security Health Analytics custom modules.", "type": "object", "properties": { "effectiveSecurityHealthAnalyticsCustomModules": { "description": "Effective custom modules belonging to the requested parent.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule" } }, "nextPageToken": { "description": "If not empty, indicates that there may be more effective custom modules to be returned.", "type": "string" } } }, "ListSecurityHealthAnalyticsCustomModulesResponse": { "id": "ListSecurityHealthAnalyticsCustomModulesResponse", "description": "Response message for listing Security Health Analytics custom modules.", "type": "object", "properties": { "securityHealthAnalyticsCustomModules": { "description": "Custom modules belonging to the requested parent.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" } }, "nextPageToken": { "description": "If not empty, indicates that there may be more custom modules to be returned.", "type": "string" } } }, "ListSourcesResponse": { "id": "ListSourcesResponse", "description": "Response message for listing sources.", "type": "object", "properties": { "sources": { "description": "Sources belonging to the requested parent.", "type": "array", "items": { "$ref": "Source" } }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results.", "type": "string" } } }, "RunAssetDiscoveryRequest": { "id": "RunAssetDiscoveryRequest", "description": "Request message for running asset discovery for an organization.", "type": "object", "properties": {} }, "SetFindingStateRequest": { "id": "SetFindingStateRequest", "description": "Request message for updating a finding's state.", "type": "object", "properties": { "state": { "description": "Required. The desired State of the finding.", "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" ] }, "startTime": { "description": "Required. The time at which the updated state takes effect.", "type": "string", "format": "google-datetime" } } }, "SetMuteRequest": { "id": "SetMuteRequest", "description": "Request message for updating a finding's mute status.", "type": "object", "properties": { "mute": { "description": "Required. The desired state of the Mute.", "type": "string", "enumDescriptions": [ "Unspecified.", "Finding has been muted.", "Finding has been unmuted.", "Finding has never been muted/unmuted." ], "enum": [ "MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED" ] } } }, "SetIamPolicyRequest": { "id": "SetIamPolicyRequest", "description": "Request message for `SetIamPolicy` method.", "type": "object", "properties": { "policy": { "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.", "$ref": "Policy" }, "updateMask": { "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", "type": "string", "format": "google-fieldmask" } } }, "TestIamPermissionsRequest": { "id": "TestIamPermissionsRequest", "description": "Request message for `TestIamPermissions` method.", "type": "object", "properties": { "permissions": { "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", "type": "array", "items": { "type": "string" } } } }, "TestIamPermissionsResponse": { "id": "TestIamPermissionsResponse", "description": "Response message for `TestIamPermissions` method.", "type": "object", "properties": { "permissions": { "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", "type": "array", "items": { "type": "string" } } } }, "SimulateSecurityHealthAnalyticsCustomModuleRequest": { "id": "SimulateSecurityHealthAnalyticsCustomModuleRequest", "description": "Request message to simulate a CustomConfig against a given test resource. Maximum size of the request is 4 MB by default.", "type": "object", "properties": { "customConfig": { "description": "Required. The custom configuration that you need to test.", "$ref": "GoogleCloudSecuritycenterV1CustomConfig" }, "resource": { "description": "Required. Resource data to simulate custom module against.", "$ref": "SimulatedResource" } } }, "SimulatedResource": { "id": "SimulatedResource", "description": "Manually constructed resource name. If the custom module evaluates against only the resource data, you can omit the `iam_policy_data` field. If it evaluates only the `iam_policy_data` field, you can omit the resource data.", "type": "object", "properties": { "resourceType": { "description": "Required. The type of the resource, for example, `compute.googleapis.com/Disk`.", "type": "string" }, "resourceData": { "description": "Optional. A representation of the Google Cloud resource. Should match the Google Cloud resource JSON format.", "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object." } }, "iamPolicyData": { "description": "Optional. A representation of the IAM policy.", "$ref": "Policy" } } }, "SimulateSecurityHealthAnalyticsCustomModuleResponse": { "id": "SimulateSecurityHealthAnalyticsCustomModuleResponse", "description": "Response message for simulating a `SecurityHealthAnalyticsCustomModule` against a given resource.", "type": "object", "properties": { "result": { "description": "Result for test case in the corresponding request.", "$ref": "SimulatedResult" } } }, "SimulatedResult": { "id": "SimulatedResult", "description": "Possible test result.", "type": "object", "properties": { "finding": { "description": "Finding that would be published for the test case, if a violation is detected.", "$ref": "Finding" }, "noViolation": { "description": "Indicates that the test case does not trigger any violation.", "$ref": "Empty" }, "error": { "description": "Error encountered during the test.", "$ref": "Status" } } }, "ListBigQueryExportsResponse": { "id": "ListBigQueryExportsResponse", "description": "Response message for listing BigQuery exports.", "type": "object", "properties": { "bigQueryExports": { "description": "The BigQuery exports from the specified parent.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" } }, "nextPageToken": { "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" } } }, "EventThreatDetectionCustomModule": { "id": "EventThreatDetectionCustomModule", "description": "Represents an instance of an Event Threat Detection custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by child folders and projects.", "type": "object", "properties": { "name": { "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", "type": "string" }, "config": { "description": "Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.", "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object." } }, "ancestorModule": { "description": "Output only. The closest ancestor module that this module inherits the enablement state from. The format is the same as the EventThreatDetectionCustomModule resource name.", "readOnly": true, "type": "string" }, "enablementState": { "description": "The state of enablement for the module at the given level of the hierarchy.", "type": "string", "enumDescriptions": [ "Unspecified enablement state.", "The module is enabled at the given level.", "The module is disabled at the given level.", "When the enablement state is inherited." ], "enum": [ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED", "INHERITED" ] }, "type": { "description": "Type for the module. e.g. CONFIGURABLE_BAD_IP.", "type": "string" }, "displayName": { "description": "The human readable name to be displayed for the module.", "type": "string" }, "description": { "description": "The description for the module.", "type": "string" }, "updateTime": { "description": "Output only. The time the module was last updated.", "readOnly": true, "type": "string", "format": "google-datetime" }, "lastEditor": { "description": "Output only. The editor the module was last updated by.", "readOnly": true, "type": "string" } } }, "ListDescendantEventThreatDetectionCustomModulesResponse": { "id": "ListDescendantEventThreatDetectionCustomModulesResponse", "description": "Response for listing current and descendant resident Event Threat Detection custom modules.", "type": "object", "properties": { "eventThreatDetectionCustomModules": { "description": "Custom modules belonging to the requested parent.", "type": "array", "items": { "$ref": "EventThreatDetectionCustomModule" } }, "nextPageToken": { "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" } } }, "ListEventThreatDetectionCustomModulesResponse": { "id": "ListEventThreatDetectionCustomModulesResponse", "description": "Response for listing Event Threat Detection custom modules.", "type": "object", "properties": { "eventThreatDetectionCustomModules": { "description": "Custom modules belonging to the requested parent.", "type": "array", "items": { "$ref": "EventThreatDetectionCustomModule" } }, "nextPageToken": { "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" } } }, "ValidateEventThreatDetectionCustomModuleRequest": { "id": "ValidateEventThreatDetectionCustomModuleRequest", "description": "Request to validate an Event Threat Detection custom module.", "type": "object", "properties": { "rawText": { "description": "Required. The raw text of the module's contents. Used to generate error messages.", "type": "string" }, "type": { "description": "Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).", "type": "string" } } }, "ValidateEventThreatDetectionCustomModuleResponse": { "id": "ValidateEventThreatDetectionCustomModuleResponse", "description": "Response to validating an Event Threat Detection custom module.", "type": "object", "properties": { "errors": { "description": "A list of errors returned by the validator. If the list is empty, there were no errors.", "$ref": "CustomModuleValidationErrors" } } }, "CustomModuleValidationErrors": { "id": "CustomModuleValidationErrors", "description": "A list of zero or more errors encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.", "type": "object", "properties": { "errors": { "type": "array", "items": { "$ref": "CustomModuleValidationError" } } } }, "CustomModuleValidationError": { "id": "CustomModuleValidationError", "description": "An error encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.", "type": "object", "properties": { "description": { "description": "A description of the error, suitable for human consumption. Required.", "type": "string" }, "fieldPath": { "description": "The path, in RFC 8901 JSON Pointer format, to the field that failed validation. This may be left empty if no specific field is affected.", "type": "string" }, "start": { "description": "The initial position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed.", "$ref": "Position" }, "end": { "description": "The end position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed..", "$ref": "Position" } } }, "Position": { "id": "Position", "description": "A position in the uploaded text version of a module.", "type": "object", "properties": { "lineNumber": { "type": "integer", "format": "int32" }, "columnNumber": { "type": "integer", "format": "int32" } } }, "EffectiveEventThreatDetectionCustomModule": { "id": "EffectiveEventThreatDetectionCustomModule", "description": "An EffectiveEventThreatDetectionCustomModule is the representation of an Event Threat Detection custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablement_state` property in EffectiveEventThreatDetectionCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective `enablement_state` for the module in all child folders or projects is also `enabled`. EffectiveEventThreatDetectionCustomModule is read-only.", "type": "object", "properties": { "name": { "description": "Output only. The resource name of the effective ETD custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}\".", "readOnly": true, "type": "string" }, "config": { "description": "Output only. Config for the effective module.", "readOnly": true, "type": "object", "additionalProperties": { "type": "any", "description": "Properties of the object." } }, "enablementState": { "description": "Output only. The effective state of enablement for the module at the given level of the hierarchy.", "readOnly": true, "type": "string", "enumDescriptions": [ "Unspecified enablement state.", "The module is enabled at the given level.", "The module is disabled at the given level." ], "enum": [ "ENABLEMENT_STATE_UNSPECIFIED", "ENABLED", "DISABLED" ] }, "type": { "description": "Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP.", "readOnly": true, "type": "string" }, "displayName": { "description": "Output only. The human readable name to be displayed for the module.", "readOnly": true, "type": "string" }, "description": { "description": "Output only. The description for the module.", "readOnly": true, "type": "string" } } }, "ListEffectiveEventThreatDetectionCustomModulesResponse": { "id": "ListEffectiveEventThreatDetectionCustomModulesResponse", "description": "Response for listing EffectiveEventThreatDetectionCustomModules.", "type": "object", "properties": { "effectiveEventThreatDetectionCustomModules": { "description": "Effective custom modules belonging to the requested parent.", "type": "array", "items": { "$ref": "EffectiveEventThreatDetectionCustomModule" } }, "nextPageToken": { "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", "type": "string" } } }, "BatchCreateResourceValueConfigsRequest": { "id": "BatchCreateResourceValueConfigsRequest", "description": "Request message to create multiple resource value configs", "type": "object", "properties": { "requests": { "description": "Required. The resource value configs to be created.", "type": "array", "items": { "$ref": "CreateResourceValueConfigRequest" } } } }, "CreateResourceValueConfigRequest": { "id": "CreateResourceValueConfigRequest", "description": "Request message to create single resource value config", "type": "object", "properties": { "parent": { "description": "Required. Resource name of the new ResourceValueConfig's parent.", "type": "string" }, "resourceValueConfig": { "description": "Required. The resource value config being created.", "$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" } } }, "GoogleCloudSecuritycenterV1ResourceValueConfig": { "id": "GoogleCloudSecuritycenterV1ResourceValueConfig", "description": "A resource value config (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", "type": "object", "properties": { "name": { "description": "Name for the resource value config", "type": "string" }, "resourceValue": { "description": "Required. Resource value level this expression represents", "type": "string", "enumDescriptions": [ "Unspecific value", "High resource value", "Medium resource value", "Low resource value", "No resource value, e.g. ignore these resources" ], "enum": [ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] }, "tagValues": { "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" E.g. [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", "type": "array", "items": { "type": "string" } }, "resourceType": { "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with \"AND\" of other resources. E.g. \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", "type": "string" }, "scope": { "description": "Project or folder to scope this config to. For example, \"project/456\" would apply this config only to resources in \"project/456\" scope will be checked with \"AND\" of other resources.", "type": "string" }, "resourceLabelsSelector": { "description": "List of resource labels to search for, evaluated with AND. E.g. \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", "type": "object", "additionalProperties": { "type": "string" } }, "description": { "description": "Description of the resource value config.", "type": "string" }, "createTime": { "description": "Output only. Timestamp this resource value config was created.", "readOnly": true, "type": "string", "format": "google-datetime" }, "updateTime": { "description": "Output only. Timestamp this resource value config was last updated.", "readOnly": true, "type": "string", "format": "google-datetime" }, "cloudProvider": { "description": "Cloud provider this configuration applies to", "type": "string", "enumDescriptions": [ "The cloud provider is unspecified.", "The cloud provider is Google Cloud Platform.", "The cloud provider is Amazon Web Services.", "The cloud provider is Microsoft Azure." ], "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", "MICROSOFT_AZURE" ] }, "sensitiveDataProtectionMapping": { "description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\".", "$ref": "GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping" } } }, "GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping": { "id": "GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping", "description": "Resource value mapping for Sensitive Data Protection findings. If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.", "type": "object", "properties": { "highSensitivityMapping": { "description": "Resource value mapping for high-sensitivity Sensitive Data Protection findings", "type": "string", "enumDescriptions": [ "Unspecific value", "High resource value", "Medium resource value", "Low resource value", "No resource value, e.g. ignore these resources" ], "enum": [ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] }, "mediumSensitivityMapping": { "description": "Resource value mapping for medium-sensitivity Sensitive Data Protection findings", "type": "string", "enumDescriptions": [ "Unspecific value", "High resource value", "Medium resource value", "Low resource value", "No resource value, e.g. ignore these resources" ], "enum": [ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] } } }, "BatchCreateResourceValueConfigsResponse": { "id": "BatchCreateResourceValueConfigsResponse", "description": "Response message for BatchCreateResourceValueConfigs", "type": "object", "properties": { "resourceValueConfigs": { "description": "The resource value configs created", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" } } } }, "ListResourceValueConfigsResponse": { "id": "ListResourceValueConfigsResponse", "description": "Response message to list resource value configs", "type": "object", "properties": { "resourceValueConfigs": { "description": "The resource value configs from the specified parent.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" } }, "nextPageToken": { "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.", "type": "string" } } }, "ListValuedResourcesResponse": { "id": "ListValuedResourcesResponse", "description": "Response message for listing the valued resources for a given simulation.", "type": "object", "properties": { "valuedResources": { "description": "The valued resources that the attack path simulation identified.", "type": "array", "items": { "$ref": "ValuedResource" } }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results.", "type": "string" }, "totalSize": { "description": "The estimated total number of results matching the query.", "type": "integer", "format": "int32" } } }, "ListAttackPathsResponse": { "id": "ListAttackPathsResponse", "description": "Response message for listing the attack paths for a given simulation or valued resource.", "type": "object", "properties": { "attackPaths": { "description": "The attack paths that the attack path simulation identified.", "type": "array", "items": { "$ref": "AttackPath" } }, "nextPageToken": { "description": "Token to retrieve the next page of results, or empty if there are no more results.", "type": "string" } } }, "AttackPath": { "id": "AttackPath", "description": "A path that an attacker could take to reach an exposed resource.", "type": "object", "properties": { "name": { "description": "The attack path name, for example, `organizations/12/simulation/34/valuedResources/56/attackPaths/78`", "type": "string" }, "pathNodes": { "description": "A list of nodes that exist in this attack path.", "type": "array", "items": { "$ref": "AttackPathNode" } }, "edges": { "description": "A list of the edges between nodes in this attack path.", "type": "array", "items": { "$ref": "AttackPathEdge" } } } }, "AttackPathNode": { "id": "AttackPathNode", "description": "Represents one point that an attacker passes through in this attack path.", "type": "object", "properties": { "resource": { "description": "The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory [resource name format](\"https://cloud.google.com/asset-inventory/docs/resource-name-format\")", "type": "string" }, "resourceType": { "description": "The [supported resource type](https://cloud.google.com/asset-inventory/docs/supported-asset-types\")", "type": "string" }, "displayName": { "description": "Human-readable name of this resource.", "type": "string" }, "associatedFindings": { "description": "The findings associated with this node in the attack path.", "type": "array", "items": { "$ref": "PathNodeAssociatedFinding" } }, "uuid": { "description": "Unique id of the attack path node.", "type": "string" }, "attackSteps": { "description": "A list of attack step nodes that exist in this attack path node.", "type": "array", "items": { "$ref": "AttackStepNode" } } } }, "PathNodeAssociatedFinding": { "id": "PathNodeAssociatedFinding", "description": "A finding that is associated with this node in the attack path.", "type": "object", "properties": { "canonicalFinding": { "description": "Canonical name of the associated findings. Example: organizations/123/sources/456/findings/789", "type": "string" }, "findingCategory": { "description": "The additional taxonomy group within findings from a given source.", "type": "string" }, "name": { "description": "Full resource name of the finding.", "type": "string" } } }, "AttackStepNode": { "id": "AttackStepNode", "description": "Detailed steps the attack can take between path nodes.", "type": "object", "properties": { "uuid": { "description": "Unique ID for one Node", "type": "string" }, "type": { "description": "Attack step type. Can be either AND, OR or DEFENSE", "type": "string", "enumDescriptions": [ "Type not specified", "Incoming edge joined with AND", "Incoming edge joined with OR", "Incoming edge is defense", "Incoming edge is attacker" ], "enum": [ "NODE_TYPE_UNSPECIFIED", "NODE_TYPE_AND", "NODE_TYPE_OR", "NODE_TYPE_DEFENSE", "NODE_TYPE_ATTACKER" ] }, "displayName": { "description": "User friendly name of the attack step", "type": "string" }, "labels": { "description": "Attack step labels for metadata", "type": "object", "additionalProperties": { "type": "string" } }, "description": { "description": "Attack step description", "type": "string" } } }, "AttackPathEdge": { "id": "AttackPathEdge", "description": "Represents a connection between a source node and a destination node in this attack path.", "type": "object", "properties": { "source": { "description": "The attack node uuid of the source node.", "type": "string" }, "destination": { "description": "The attack node uuid of the destination node.", "type": "string" } } }, "GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse": { "id": "GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse", "description": "Response of asset discovery run", "type": "object", "properties": { "state": { "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." ], "enum": [ "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" ] }, "duration": { "description": "The duration between asset discovery run start and end", "type": "string", "format": "google-duration" } } }, "GoogleCloudSecuritycenterV1BulkMuteFindingsResponse": { "id": "GoogleCloudSecuritycenterV1BulkMuteFindingsResponse", "description": "The response to a BulkMute request. Contains the LRO information.", "type": "object", "properties": {} }, "GoogleCloudSecuritycenterV1NotificationMessage": { "id": "GoogleCloudSecuritycenterV1NotificationMessage", "description": "Cloud SCC's Notification", "type": "object", "properties": { "notificationConfigName": { "description": "Name of the notification config that generated current notification.", "type": "string" }, "finding": { "description": "If it's a Finding based notification config, this field will be populated.", "$ref": "Finding" }, "resource": { "description": "The Cloud resource tied to this notification's Finding.", "$ref": "GoogleCloudSecuritycenterV1Resource" } } }, "GoogleCloudSecuritycenterV1Resource": { "id": "GoogleCloudSecuritycenterV1Resource", "description": "Information related to the Google Cloud resource.", "type": "object", "properties": { "name": { "description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", "type": "string" }, "displayName": { "description": "The human readable name of the resource.", "type": "string" }, "type": { "description": "The full resource type of the resource.", "type": "string" }, "project": { "description": "The full resource name of project that the resource belongs to.", "type": "string" }, "projectDisplayName": { "description": "The project ID that the resource belongs to.", "type": "string" }, "parent": { "description": "The full resource name of resource's parent.", "type": "string" }, "parentDisplayName": { "description": "The human readable name of resource's parent.", "type": "string" }, "folders": { "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.", "readOnly": true, "type": "array", "items": { "$ref": "Folder" } }, "cloudProvider": { "description": "Indicates which cloud provider the resource resides in.", "type": "string", "enumDescriptions": [ "The cloud provider is unspecified.", "The cloud provider is Google Cloud Platform.", "The cloud provider is Amazon Web Services.", "The cloud provider is Microsoft Azure." ], "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", "MICROSOFT_AZURE" ] }, "organization": { "description": "Indicates which organization or tenant in the cloud provider the finding applies to.", "type": "string" }, "service": { "description": "The parent service or product from which the resource is provided, for example, GKE or SNS.", "type": "string" }, "location": { "description": "The region or location of the service (if applicable).", "type": "string" }, "awsMetadata": { "description": "The AWS metadata associated with the finding.", "$ref": "AwsMetadata" }, "resourcePath": { "description": "Provides the path to the resource within the resource hierarchy.", "$ref": "ResourcePath" }, "resourcePathString": { "description": "A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.", "type": "string" } } }, "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse": { "id": "GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse", "description": "Response of asset discovery run", "type": "object", "properties": { "state": { "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." ], "enum": [ "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" ] }, "duration": { "description": "The duration between asset discovery run start and end", "type": "string", "format": "google-duration" } } }, "GoogleCloudSecuritycenterV2BulkMuteFindingsResponse": { "id": "GoogleCloudSecuritycenterV2BulkMuteFindingsResponse", "description": "The response to a BulkMute request. Contains the LRO information.", "type": "object", "properties": {} }, "GoogleCloudSecuritycenterV2ExternalSystem": { "id": "GoogleCloudSecuritycenterV2ExternalSystem", "description": "Representation of third party SIEM/SOAR fields within SCC.", "type": "object", "properties": { "name": { "description": "Full resource name of the external system. The following list shows some examples: + `organizations/1234/sources/5678/findings/123456/externalSystems/jira` + `organizations/1234/sources/5678/locations/us/findings/123456/externalSystems/jira` + `folders/1234/sources/5678/findings/123456/externalSystems/jira` + `folders/1234/sources/5678/locations/us/findings/123456/externalSystems/jira` + `projects/1234/sources/5678/findings/123456/externalSystems/jira` + `projects/1234/sources/5678/locations/us/findings/123456/externalSystems/jira`", "type": "string" }, "assignees": { "description": "References primary/secondary etc assignees in the external system.", "type": "array", "items": { "type": "string" } }, "externalUid": { "description": "The identifier that's used to track the finding's corresponding case in the external system.", "type": "string" }, "status": { "description": "The most recent status of the finding's corresponding case, as reported by the external system.", "type": "string" }, "externalSystemUpdateTime": { "description": "The time when the case was last updated, as reported by the external system.", "type": "string", "format": "google-datetime" }, "caseUri": { "description": "The link to the finding's corresponding case in the external system.", "type": "string" }, "casePriority": { "description": "The priority of the finding's corresponding case in the external system.", "type": "string" }, "caseSla": { "description": "The SLA of the finding's corresponding case in the external system.", "type": "string", "format": "google-datetime" }, "caseCreateTime": { "description": "The time when the case was created, as reported by the external system.", "type": "string", "format": "google-datetime" }, "caseCloseTime": { "description": "The time when the case was closed, as reported by the external system.", "type": "string", "format": "google-datetime" }, "ticketInfo": { "description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.", "$ref": "GoogleCloudSecuritycenterV2TicketInfo" } } }, "GoogleCloudSecuritycenterV2TicketInfo": { "id": "GoogleCloudSecuritycenterV2TicketInfo", "description": "Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.", "type": "object", "properties": { "id": { "description": "The identifier of the ticket in the ticket system.", "type": "string" }, "assignee": { "description": "The assignee of the ticket in the ticket system.", "type": "string" }, "description": { "description": "The description of the ticket in the ticket system.", "type": "string" }, "uri": { "description": "The link to the ticket in the ticket system.", "type": "string" }, "status": { "description": "The latest status of the ticket, as reported by the ticket system.", "type": "string" }, "updateTime": { "description": "The time when the ticket was last updated, as reported by the ticket system.", "type": "string", "format": "google-datetime" } } }, "GoogleCloudSecuritycenterV2MuteConfig": { "id": "GoogleCloudSecuritycenterV2MuteConfig", "description": "A mute config is a Cloud SCC resource that contains the configuration to mute create/update events of findings.", "type": "object", "properties": { "name": { "description": "This field will be ignored if provided on config creation. The following list shows some examples of the format: + `organizations/{organization}/muteConfigs/{mute_config}` + `organizations/{organization}locations/{location}//muteConfigs/{mute_config}` + `folders/{folder}/muteConfigs/{mute_config}` + `folders/{folder}/locations/{location}/muteConfigs/{mute_config}` + `projects/{project}/muteConfigs/{mute_config}` + `projects/{project}/locations/{location}/muteConfigs/{mute_config}`", "type": "string" }, "description": { "description": "A description of the mute config.", "type": "string" }, "filter": { "description": "Required. An expression that defines the filter to apply across create/update events of findings. While creating a filter string, be mindful of the scope in which the mute configuration is being created. E.g., If a filter contains project = X but is created under the project = Y scope, it might not match any findings. The following field and operator combinations are supported: * severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `:` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`", "type": "string" }, "createTime": { "description": "Output only. The time at which the mute config was created. This field is set by the server and will be ignored if provided on config creation.", "readOnly": true, "type": "string", "format": "google-datetime" }, "updateTime": { "description": "Output only. The most recent time at which the mute config was updated. This field is set by the server and will be ignored if provided on config creation or update.", "readOnly": true, "type": "string", "format": "google-datetime" }, "mostRecentEditor": { "description": "Output only. Email address of the user who last edited the mute config. This field is set by the server and will be ignored if provided on config creation or update.", "readOnly": true, "type": "string" }, "type": { "description": "Required. The type of the mute config, which determines what type of mute state the config affects. Immutable after creation.", "type": "string", "enumDescriptions": [ "Unused.", "A static mute config, which sets the static mute state of future matching findings to muted. Once the static mute state has been set, finding or config modifications will not affect the state." ], "enum": [ "MUTE_CONFIG_TYPE_UNSPECIFIED", "STATIC" ] } } }, "GoogleCloudSecuritycenterV2BigQueryExport": { "id": "GoogleCloudSecuritycenterV2BigQueryExport", "description": "Configures how to deliver Findings to BigQuery Instance.", "type": "object", "properties": { "name": { "description": "The relative resource name of this export. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name. The following list shows some examples: + `organizations/{organization_id}/locations/{location_id}/bigQueryExports/{export_id}` + `folders/{folder_id}/locations/{location_id}/bigQueryExports/{export_id}` + `projects/{project_id}/locations/{location_id}/bigQueryExports/{export_id}` This field is provided in responses, and is ignored when provided in create requests.", "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. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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" }, "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" }, "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.", "readOnly": true, "type": "string", "format": "google-datetime" }, "updateTime": { "description": "Output only. The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update.", "readOnly": true, "type": "string", "format": "google-datetime" }, "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" }, "principal": { "description": "Output only. The service account that needs permission to create table and upload data to the BigQuery dataset.", "readOnly": true, "type": "string" } } }, "GoogleCloudSecuritycenterV2NotificationMessage": { "id": "GoogleCloudSecuritycenterV2NotificationMessage", "description": "Cloud SCC's Notification", "type": "object", "properties": { "notificationConfigName": { "description": "Name of the notification config that generated current notification.", "type": "string" }, "finding": { "description": "If it's a Finding based notification config, this field will be populated.", "$ref": "GoogleCloudSecuritycenterV2Finding" }, "resource": { "description": "The Cloud resource tied to this notification's Finding.", "$ref": "GoogleCloudSecuritycenterV2Resource" } } }, "GoogleCloudSecuritycenterV2Finding": { "id": "GoogleCloudSecuritycenterV2Finding", "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.", "type": "object", "properties": { "name": { "description": "The [relative resource name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the finding. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}` + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`", "type": "string" }, "canonicalName": { "description": "Output only. The canonical name of the finding. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}` + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` The prefix is the closest CRM ancestor of the resource associated with the finding.", "readOnly": true, "type": "string" }, "parent": { "description": "The relative resource name of the source and location the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. The following list shows some examples: + `organizations/{organization_id}/sources/{source_id}` + `folders/{folders_id}/sources/{source_id}` + `projects/{projects_id}/sources/{source_id}` + `organizations/{organization_id}/sources/{source_id}/locations/{location_id}` + `folders/{folders_id}/sources/{source_id}/locations/{location_id}` + `projects/{projects_id}/sources/{source_id}/locations/{location_id}`", "type": "string" }, "resourceName": { "description": "Immutable. 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.", "type": "string" }, "state": { "description": "Output only. The state of the finding.", "readOnly": true, "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" ] }, "category": { "description": "Immutable. The additional taxonomy group within findings from a given source. Example: \"XSS_FLASH_INJECTION\"", "type": "string" }, "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" }, "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" } }, "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, "$ref": "GoogleCloudSecuritycenterV2SecurityMarks" }, "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.", "type": "string", "format": "google-datetime" }, "createTime": { "description": "Output only. The time at which the finding was created in Security Command Center.", "readOnly": true, "type": "string", "format": "google-datetime" }, "severity": { "description": "The severity of the finding. This field is managed by the source that writes the finding.", "type": "string", "enumDescriptions": [ "This value is used for findings when a source doesn't write a severity value.", "Vulnerability: A critical vulnerability is easily discoverable by an external actor, exploitable, and results in the direct ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. Examples include publicly accessible unprotected user data and public SSH access with weak or no passwords. Threat: Indicates a threat that is able to access, modify, or delete data or execute unauthorized code within existing resources.", "Vulnerability: A high risk vulnerability can be easily discovered and exploited in combination with other vulnerabilities in order to gain direct access and the ability to execute arbitrary code, exfiltrate data, and otherwise gain additional access and privileges to cloud resources and workloads. An example is a database with weak or no passwords that is only accessible internally. This database could easily be compromised by an actor that had access to the internal network. Threat: Indicates a threat that is able to create new computational resources in an environment but not able to access data or execute code in existing resources.", "Vulnerability: A medium risk vulnerability could be used by an actor to gain access to resources or privileges that enable them to eventually (through multiple steps or a complex exploit) gain access and the ability to execute arbitrary code or exfiltrate data. An example is a service account with access to more projects than it should have. If an actor gains access to the service account, they could potentially use that access to manipulate a project the service account was not intended to. Threat: Indicates a threat that is able to cause operational impact but may not access data or execute unauthorized code.", "Vulnerability: A low risk vulnerability hampers a security organization's ability to detect vulnerabilities or active threats in their deployment, or prevents the root cause investigation of security issues. An example is monitoring and logs being disabled for resource configurations and access. Threat: Indicates a threat that has obtained minimal access to an environment but is not able to access data, execute code, or create resources." ], "enum": [ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] }, "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.", "type": "string", "enumDescriptions": [ "Unspecified.", "Finding has been muted.", "Finding has been unmuted.", "Finding has never been muted/unmuted." ], "enum": [ "MUTE_UNSPECIFIED", "MUTED", "UNMUTED", "UNDEFINED" ] }, "findingClass": { "description": "The class of the finding.", "type": "string", "enumDescriptions": [ "Unspecified finding class.", "Describes unwanted or malicious activity.", "Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability.", "Describes a potential weakness in cloud resource/asset configuration that increases risk.", "Describes a security observation that is for informational purposes.", "Describes an error that prevents some SCC functionality.", "Describes a potential security risk due to a change in the security posture." ], "enum": [ "FINDING_CLASS_UNSPECIFIED", "THREAT", "VULNERABILITY", "MISCONFIGURATION", "OBSERVATION", "SCC_ERROR", "POSTURE_VIOLATION" ] }, "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).", "$ref": "GoogleCloudSecuritycenterV2Indicator" }, "vulnerability": { "description": "Represents vulnerability-specific fields like CVE and CVSS scores. CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)", "$ref": "GoogleCloudSecuritycenterV2Vulnerability" }, "muteUpdateTime": { "description": "Output only. The most recent time this finding was muted or unmuted.", "readOnly": true, "type": "string", "format": "google-datetime" }, "externalSystems": { "description": "Output only. Third party SIEM/SOAR fields within SCC, contains external system information and external system finding fields.", "readOnly": true, "type": "object", "additionalProperties": { "$ref": "GoogleCloudSecuritycenterV2ExternalSystem" } }, "mitreAttack": { "description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org", "$ref": "GoogleCloudSecuritycenterV2MitreAttack" }, "access": { "description": "Access details associated with the finding, such as more information on the caller, which method was accessed, and from where.", "$ref": "GoogleCloudSecuritycenterV2Access" }, "connections": { "description": "Contains information about the IP connection associated with the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Connection" } }, "muteInitiator": { "description": "Records additional information about the mute operation, for example, the [mute configuration](https://cloud.google.com/security-command-center/docs/how-to-mute-findings) that muted the finding and the user who muted the finding.", "type": "string" }, "processes": { "description": "Represents operating system processes associated with the Finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Process" } }, "contacts": { "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", "additionalProperties": { "$ref": "GoogleCloudSecuritycenterV2ContactDetails" } }, "compliances": { "description": "Contains compliance information for security standards associated to the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Compliance" } }, "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" }, "description": { "description": "Contains more details about the finding.", "type": "string" }, "exfiltration": { "description": "Represents exfiltrations associated with the finding.", "$ref": "GoogleCloudSecuritycenterV2Exfiltration" }, "iamBindings": { "description": "Represents IAM bindings associated with the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2IamBinding" } }, "nextSteps": { "description": "Steps to address the finding.", "type": "string" }, "moduleName": { "description": "Unique identifier of the module which generated the finding. Example: folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885", "type": "string" }, "containers": { "description": "Containers associated with the finding. This field provides information for both Kubernetes and non-Kubernetes containers.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Container" } }, "kubernetes": { "description": "Kubernetes resources associated with the finding.", "$ref": "GoogleCloudSecuritycenterV2Kubernetes" }, "database": { "description": "Database associated with the finding.", "$ref": "GoogleCloudSecuritycenterV2Database" }, "attackExposure": { "description": "The results of an attack path simulation relevant to this finding.", "$ref": "GoogleCloudSecuritycenterV2AttackExposure" }, "files": { "description": "File associated with the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2File" } }, "cloudDlpInspection": { "description": "Cloud Data Loss Prevention (Cloud DLP) inspection results that are associated with the finding.", "$ref": "GoogleCloudSecuritycenterV2CloudDlpInspection" }, "cloudDlpDataProfile": { "description": "Cloud DLP data profile that is associated with the finding.", "$ref": "GoogleCloudSecuritycenterV2CloudDlpDataProfile" }, "kernelRootkit": { "description": "Signature of the kernel rootkit.", "$ref": "GoogleCloudSecuritycenterV2KernelRootkit" }, "orgPolicies": { "description": "Contains information about the org policies associated with the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2OrgPolicy" } }, "application": { "description": "Represents an application associated with the finding.", "$ref": "GoogleCloudSecuritycenterV2Application" }, "backupDisasterRecovery": { "description": "Fields related to Backup and DR findings.", "$ref": "GoogleCloudSecuritycenterV2BackupDisasterRecovery" }, "securityPosture": { "description": "The security posture associated with the finding.", "$ref": "GoogleCloudSecuritycenterV2SecurityPosture" }, "logEntries": { "description": "Log entries that are relevant to the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2LogEntry" } }, "loadBalancers": { "description": "The load balancers associated with the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2LoadBalancer" } }, "cloudArmor": { "description": "Fields related to Cloud Armor findings.", "$ref": "GoogleCloudSecuritycenterV2CloudArmor" }, "notebook": { "description": "Notebook associated with the finding.", "$ref": "GoogleCloudSecuritycenterV2Notebook" } } }, "GoogleCloudSecuritycenterV2SecurityMarks": { "id": "GoogleCloudSecuritycenterV2SecurityMarks", "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": { "name": { "description": "The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name The following list shows some examples: + `organizations/{organization_id}/assets/{asset_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks`", "type": "string" }, "marks": { "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", "additionalProperties": { "type": "string" } }, "canonicalName": { "description": "The canonical name of the marks. The following list shows some examples: + `organizations/{organization_id}/assets/{asset_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `organizations/{organization_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks` + `folders/{folder_id}/assets/{asset_id}/securityMarks` + `folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks` + `folders/{folder_id}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks` + `projects/{project_number}/assets/{asset_id}/securityMarks` + `projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks` + `projects/{project_number}/sources/{source_id}/locations/{location}/findings/{finding_id}/securityMarks`", "type": "string" } } }, "GoogleCloudSecuritycenterV2Indicator": { "id": "GoogleCloudSecuritycenterV2Indicator", "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).", "type": "object", "properties": { "ipAddresses": { "description": "The list of IP addresses that are associated with the finding.", "type": "array", "items": { "type": "string" } }, "domains": { "description": "List of domains associated to the Finding.", "type": "array", "items": { "type": "string" } }, "signatures": { "description": "The list of matched signatures indicating that the given process is present in the environment.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2ProcessSignature" } }, "uris": { "description": "The list of URIs associated to the Findings.", "type": "array", "items": { "type": "string" } } } }, "GoogleCloudSecuritycenterV2ProcessSignature": { "id": "GoogleCloudSecuritycenterV2ProcessSignature", "description": "Indicates what signature matched this process.", "type": "object", "properties": { "memoryHashSignature": { "description": "Signature indicating that a binary family was matched.", "$ref": "GoogleCloudSecuritycenterV2MemoryHashSignature" }, "yaraRuleSignature": { "description": "Signature indicating that a YARA rule was matched.", "$ref": "GoogleCloudSecuritycenterV2YaraRuleSignature" }, "signatureType": { "description": "Describes the type of resource associated with the signature.", "type": "string", "enumDescriptions": [ "The default signature type.", "Used for signatures concerning processes.", "Used for signatures concerning disks." ], "enum": [ "SIGNATURE_TYPE_UNSPECIFIED", "SIGNATURE_TYPE_PROCESS", "SIGNATURE_TYPE_FILE" ] } } }, "GoogleCloudSecuritycenterV2MemoryHashSignature": { "id": "GoogleCloudSecuritycenterV2MemoryHashSignature", "description": "A signature corresponding to memory page hashes.", "type": "object", "properties": { "binaryFamily": { "description": "The binary family.", "type": "string" }, "detections": { "description": "The list of memory hash detections contributing to the binary family match.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Detection" } } } }, "GoogleCloudSecuritycenterV2Detection": { "id": "GoogleCloudSecuritycenterV2Detection", "description": "Memory hash detection contributing to the binary family match.", "type": "object", "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.", "type": "number", "format": "double" } } }, "GoogleCloudSecuritycenterV2YaraRuleSignature": { "id": "GoogleCloudSecuritycenterV2YaraRuleSignature", "description": "A signature corresponding to a YARA rule.", "type": "object", "properties": { "yaraRule": { "description": "The name of the YARA rule.", "type": "string" } } }, "GoogleCloudSecuritycenterV2Vulnerability": { "id": "GoogleCloudSecuritycenterV2Vulnerability", "description": "Refers to common vulnerability fields e.g. cve, cvss, cwe etc.", "type": "object", "properties": { "cve": { "description": "CVE stands for Common Vulnerabilities and Exposures (https://cve.mitre.org/about/)", "$ref": "GoogleCloudSecuritycenterV2Cve" }, "offendingPackage": { "description": "The offending package is relevant to the finding.", "$ref": "GoogleCloudSecuritycenterV2Package" }, "fixedPackage": { "description": "The fixed package is relevant to the finding.", "$ref": "GoogleCloudSecuritycenterV2Package" }, "securityBulletin": { "description": "The security bulletin is relevant to this finding.", "$ref": "GoogleCloudSecuritycenterV2SecurityBulletin" } } }, "GoogleCloudSecuritycenterV2Cve": { "id": "GoogleCloudSecuritycenterV2Cve", "description": "CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.", "type": "object", "properties": { "id": { "description": "The unique identifier for the vulnerability. e.g. CVE-2021-34527", "type": "string" }, "references": { "description": "Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Reference" } }, "cvssv3": { "description": "Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document", "$ref": "GoogleCloudSecuritycenterV2Cvssv3" }, "upstreamFixAvailable": { "description": "Whether upstream fix is available for the CVE.", "type": "boolean" }, "impact": { "description": "The potential impact of the vulnerability if it was to be exploited.", "type": "string", "enumDescriptions": [ "Invalid or empty value.", "Exploitation would have little to no security impact.", "Exploitation would enable attackers to perform activities, or could allow attackers to have a direct impact, but would require additional steps.", "Exploitation would enable attackers to have a notable direct impact without needing to overcome any major mitigating factors.", "Exploitation would fundamentally undermine the security of affected systems, enable actors to perform significant attacks with minimal effort, with little to no mitigating factors to overcome." ], "enum": [ "RISK_RATING_UNSPECIFIED", "LOW", "MEDIUM", "HIGH", "CRITICAL" ] }, "exploitationActivity": { "description": "The exploitation activity of the vulnerability in the wild.", "type": "string", "enumDescriptions": [ "Invalid or empty value.", "Exploitation has been reported or confirmed to widely occur.", "Limited reported or confirmed exploitation activities.", "Exploit is publicly available.", "No known exploitation activity, but has a high potential for exploitation.", "No known exploitation activity." ], "enum": [ "EXPLOITATION_ACTIVITY_UNSPECIFIED", "WIDE", "CONFIRMED", "AVAILABLE", "ANTICIPATED", "NO_KNOWN" ] }, "observedInTheWild": { "description": "Whether or not the vulnerability has been observed in the wild.", "type": "boolean" }, "zeroDay": { "description": "Whether or not the vulnerability was zero day when the finding was published.", "type": "boolean" } } }, "GoogleCloudSecuritycenterV2Reference": { "id": "GoogleCloudSecuritycenterV2Reference", "description": "Additional Links", "type": "object", "properties": { "source": { "description": "Source of the reference e.g. NVD", "type": "string" }, "uri": { "description": "Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.", "type": "string" } } }, "GoogleCloudSecuritycenterV2Cvssv3": { "id": "GoogleCloudSecuritycenterV2Cvssv3", "description": "Common Vulnerability Scoring System version 3.", "type": "object", "properties": { "baseScore": { "description": "The base score is a function of the base metric scores.", "type": "number", "format": "double" }, "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.", "type": "string", "enumDescriptions": [ "Invalid value.", "The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet.", "The vulnerable component is bound to the network stack, but the attack is limited at the protocol level to a logically adjacent topology.", "The vulnerable component is not bound to the network stack and the attacker's path is via read/write/execute capabilities.", "The attack requires the attacker to physically touch or manipulate the vulnerable component." ], "enum": [ "ATTACK_VECTOR_UNSPECIFIED", "ATTACK_VECTOR_NETWORK", "ATTACK_VECTOR_ADJACENT", "ATTACK_VECTOR_LOCAL", "ATTACK_VECTOR_PHYSICAL" ] }, "attackComplexity": { "description": "This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.", "type": "string", "enumDescriptions": [ "Invalid value.", "Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.", "A successful attack depends on conditions beyond the attacker's control. That is, a successful attack cannot be accomplished at will, but requires the attacker to invest in some measurable amount of effort in preparation or execution against the vulnerable component before a successful attack can be expected." ], "enum": [ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", "ATTACK_COMPLEXITY_HIGH" ] }, "privilegesRequired": { "description": "This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.", "type": "string", "enumDescriptions": [ "Invalid value.", "The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.", "The attacker requires privileges that provide basic user capabilities that could normally affect only settings and files owned by a user. Alternatively, an attacker with Low privileges has the ability to access only non-sensitive resources.", "The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable component allowing access to component-wide settings and files." ], "enum": [ "PRIVILEGES_REQUIRED_UNSPECIFIED", "PRIVILEGES_REQUIRED_NONE", "PRIVILEGES_REQUIRED_LOW", "PRIVILEGES_REQUIRED_HIGH" ] }, "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.", "type": "string", "enumDescriptions": [ "Invalid value.", "The vulnerable system can be exploited without interaction from any user.", "Successful exploitation of this vulnerability requires a user to take some action before the vulnerability can be exploited." ], "enum": [ "USER_INTERACTION_UNSPECIFIED", "USER_INTERACTION_NONE", "USER_INTERACTION_REQUIRED" ] }, "scope": { "description": "The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.", "type": "string", "enumDescriptions": [ "Invalid value.", "An exploited vulnerability can only affect resources managed by the same security authority.", "An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component." ], "enum": [ "SCOPE_UNSPECIFIED", "SCOPE_UNCHANGED", "SCOPE_CHANGED" ] }, "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.", "type": "string", "enumDescriptions": [ "Invalid value.", "High impact.", "Low impact.", "No impact." ], "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] }, "integrityImpact": { "description": "This metric measures the impact to integrity of a successfully exploited vulnerability.", "type": "string", "enumDescriptions": [ "Invalid value.", "High impact.", "Low impact.", "No impact." ], "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] }, "availabilityImpact": { "description": "This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.", "type": "string", "enumDescriptions": [ "Invalid value.", "High impact.", "Low impact.", "No impact." ], "enum": [ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", "IMPACT_NONE" ] } } }, "GoogleCloudSecuritycenterV2Package": { "id": "GoogleCloudSecuritycenterV2Package", "description": "Package is a generic definition of a package.", "type": "object", "properties": { "packageName": { "description": "The name of the package where the vulnerability was detected.", "type": "string" }, "cpeUri": { "description": "The CPE URI where the vulnerability was detected.", "type": "string" }, "packageType": { "description": "Type of package, for example, os, maven, or go.", "type": "string" }, "packageVersion": { "description": "The version of the package.", "type": "string" } } }, "GoogleCloudSecuritycenterV2SecurityBulletin": { "id": "GoogleCloudSecuritycenterV2SecurityBulletin", "description": "SecurityBulletin are notifications of vulnerabilities of Google products.", "type": "object", "properties": { "bulletinId": { "description": "ID of the bulletin corresponding to the vulnerability.", "type": "string" }, "submissionTime": { "description": "Submission time of this Security Bulletin.", "type": "string", "format": "google-datetime" }, "suggestedUpgradeVersion": { "description": "This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0", "type": "string" } } }, "GoogleCloudSecuritycenterV2MitreAttack": { "id": "GoogleCloudSecuritycenterV2MitreAttack", "description": "MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org", "type": "object", "properties": { "primaryTactic": { "description": "The MITRE ATT&CK tactic most closely represented by this finding, if any.", "type": "string", "enumDescriptions": [ "Unspecified value.", "TA0043", "TA0042", "TA0001", "TA0002", "TA0003", "TA0004", "TA0005", "TA0006", "TA0007", "TA0008", "TA0009", "TA0011", "TA0010", "TA0040" ], "enum": [ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", "INITIAL_ACCESS", "EXECUTION", "PERSISTENCE", "PRIVILEGE_ESCALATION", "DEFENSE_EVASION", "CREDENTIAL_ACCESS", "DISCOVERY", "LATERAL_MOVEMENT", "COLLECTION", "COMMAND_AND_CONTROL", "EXFILTRATION", "IMPACT" ] }, "primaryTechniques": { "description": "The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).", "type": "array", "items": { "type": "string", "enumDescriptions": [ "Unspecified value.", "T1036", "T1036.005", "T1037", "T1037.005", "T1046", "T1057", "T1059", "T1059.004", "T1059.006", "T1069", "T1069.003", "T1071", "T1071.004", "T1072", "T1078", "T1078.001", "T1078.003", "T1078.004", "T1090", "T1090.002", "T1090.003", "T1098", "T1098.001", "T1098.004", "T1098.006", "T1105", "T1106", "T1110", "T1129", "T1134", "T1134.001", "T1190", "T1484", "T1485", "T1489", "T1490", "T1496", "T1498", "T1526", "T1528", "T1531", "T1539", "T1543", "T1548", "T1552", "T1556", "T1562", "T1562.001", "T1567", "T1567.002", "T1568", "T1570", "T1578", "T1578.001", "T1580", "T1588", "T1595", "T1595.001", "T1613" ], "enum": [ "TECHNIQUE_UNSPECIFIED", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", "VALID_ACCOUNTS", "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", "SHARED_MODULES", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", "EXPLOIT_PUBLIC_FACING_APPLICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "ABUSE_ELEVATION_CONTROL_MECHANISM", "UNSECURED_CREDENTIALS", "MODIFY_AUTHENTICATION_PROCESS", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", "OBTAIN_CAPABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", "CONTAINER_AND_RESOURCE_DISCOVERY" ] } }, "additionalTactics": { "description": "Additional MITRE ATT&CK tactics related to this finding, if any.", "type": "array", "items": { "type": "string", "enumDescriptions": [ "Unspecified value.", "TA0043", "TA0042", "TA0001", "TA0002", "TA0003", "TA0004", "TA0005", "TA0006", "TA0007", "TA0008", "TA0009", "TA0011", "TA0010", "TA0040" ], "enum": [ "TACTIC_UNSPECIFIED", "RECONNAISSANCE", "RESOURCE_DEVELOPMENT", "INITIAL_ACCESS", "EXECUTION", "PERSISTENCE", "PRIVILEGE_ESCALATION", "DEFENSE_EVASION", "CREDENTIAL_ACCESS", "DISCOVERY", "LATERAL_MOVEMENT", "COLLECTION", "COMMAND_AND_CONTROL", "EXFILTRATION", "IMPACT" ] } }, "additionalTechniques": { "description": "Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.", "type": "array", "items": { "type": "string", "enumDescriptions": [ "Unspecified value.", "T1036", "T1036.005", "T1037", "T1037.005", "T1046", "T1057", "T1059", "T1059.004", "T1059.006", "T1069", "T1069.003", "T1071", "T1071.004", "T1072", "T1078", "T1078.001", "T1078.003", "T1078.004", "T1090", "T1090.002", "T1090.003", "T1098", "T1098.001", "T1098.004", "T1098.006", "T1105", "T1106", "T1110", "T1129", "T1134", "T1134.001", "T1190", "T1484", "T1485", "T1489", "T1490", "T1496", "T1498", "T1526", "T1528", "T1531", "T1539", "T1543", "T1548", "T1552", "T1556", "T1562", "T1562.001", "T1567", "T1567.002", "T1568", "T1570", "T1578", "T1578.001", "T1580", "T1588", "T1595", "T1595.001", "T1613" ], "enum": [ "TECHNIQUE_UNSPECIFIED", "MASQUERADING", "MATCH_LEGITIMATE_NAME_OR_LOCATION", "BOOT_OR_LOGON_INITIALIZATION_SCRIPTS", "STARTUP_ITEMS", "NETWORK_SERVICE_DISCOVERY", "PROCESS_DISCOVERY", "COMMAND_AND_SCRIPTING_INTERPRETER", "UNIX_SHELL", "PYTHON", "PERMISSION_GROUPS_DISCOVERY", "CLOUD_GROUPS", "APPLICATION_LAYER_PROTOCOL", "DNS", "SOFTWARE_DEPLOYMENT_TOOLS", "VALID_ACCOUNTS", "DEFAULT_ACCOUNTS", "LOCAL_ACCOUNTS", "CLOUD_ACCOUNTS", "PROXY", "EXTERNAL_PROXY", "MULTI_HOP_PROXY", "ACCOUNT_MANIPULATION", "ADDITIONAL_CLOUD_CREDENTIALS", "SSH_AUTHORIZED_KEYS", "ADDITIONAL_CONTAINER_CLUSTER_ROLES", "INGRESS_TOOL_TRANSFER", "NATIVE_API", "BRUTE_FORCE", "SHARED_MODULES", "ACCESS_TOKEN_MANIPULATION", "TOKEN_IMPERSONATION_OR_THEFT", "EXPLOIT_PUBLIC_FACING_APPLICATION", "DOMAIN_POLICY_MODIFICATION", "DATA_DESTRUCTION", "SERVICE_STOP", "INHIBIT_SYSTEM_RECOVERY", "RESOURCE_HIJACKING", "NETWORK_DENIAL_OF_SERVICE", "CLOUD_SERVICE_DISCOVERY", "STEAL_APPLICATION_ACCESS_TOKEN", "ACCOUNT_ACCESS_REMOVAL", "STEAL_WEB_SESSION_COOKIE", "CREATE_OR_MODIFY_SYSTEM_PROCESS", "ABUSE_ELEVATION_CONTROL_MECHANISM", "UNSECURED_CREDENTIALS", "MODIFY_AUTHENTICATION_PROCESS", "IMPAIR_DEFENSES", "DISABLE_OR_MODIFY_TOOLS", "EXFILTRATION_OVER_WEB_SERVICE", "EXFILTRATION_TO_CLOUD_STORAGE", "DYNAMIC_RESOLUTION", "LATERAL_TOOL_TRANSFER", "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE", "CREATE_SNAPSHOT", "CLOUD_INFRASTRUCTURE_DISCOVERY", "OBTAIN_CAPABILITIES", "ACTIVE_SCANNING", "SCANNING_IP_BLOCKS", "CONTAINER_AND_RESOURCE_DISCOVERY" ] } }, "version": { "description": "The MITRE ATT&CK version referenced by the above fields. E.g. \"8\".", "type": "string" } } }, "GoogleCloudSecuritycenterV2Access": { "id": "GoogleCloudSecuritycenterV2Access", "description": "Represents an access event.", "type": "object", "properties": { "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" }, "callerIp": { "description": "Caller's IP address, such as \"1.1.1.1\".", "type": "string" }, "callerIpGeo": { "description": "The caller IP's geolocation, which identifies where the call came from.", "$ref": "GoogleCloudSecuritycenterV2Geolocation" }, "userAgentFamily": { "description": "Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.", "type": "string" }, "userAgent": { "description": "The caller's user agent string associated with the finding.", "type": "string" }, "serviceName": { "description": "This is the API service that the service account made a call to, e.g. \"iam.googleapis.com\"", "type": "string" }, "methodName": { "description": "The method that the service account called, e.g. \"SetIamPolicy\".", "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" }, "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" }, "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.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo" } }, "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" } } }, "GoogleCloudSecuritycenterV2Geolocation": { "id": "GoogleCloudSecuritycenterV2Geolocation", "description": "Represents a geographical location for a given access.", "type": "object", "properties": { "regionCode": { "description": "A CLDR.", "type": "string" } } }, "GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo": { "id": "GoogleCloudSecuritycenterV2ServiceAccountDelegationInfo", "description": "Identity delegation history of an authenticated service account.", "type": "object", "properties": { "principalEmail": { "description": "The email address of a Google account.", "type": "string" }, "principalSubject": { "description": "A string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`", "type": "string" } } }, "GoogleCloudSecuritycenterV2Connection": { "id": "GoogleCloudSecuritycenterV2Connection", "description": "Contains information about the IP connection associated with the finding.", "type": "object", "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.", "type": "integer", "format": "int32" }, "sourceIp": { "description": "Source IP address.", "type": "string" }, "sourcePort": { "description": "Source port.", "type": "integer", "format": "int32" }, "protocol": { "description": "IANA Internet Protocol Number such as TCP(6) and UDP(17).", "type": "string", "enumDescriptions": [ "Unspecified protocol (not HOPOPT).", "Internet Control Message Protocol.", "Transmission Control Protocol.", "User Datagram Protocol.", "Generic Routing Encapsulation.", "Encap Security Payload." ], "enum": [ "PROTOCOL_UNSPECIFIED", "ICMP", "TCP", "UDP", "GRE", "ESP" ] } } }, "GoogleCloudSecuritycenterV2Process": { "id": "GoogleCloudSecuritycenterV2Process", "description": "Represents an operating system process.", "type": "object", "properties": { "name": { "description": "The process name, as displayed in utilities like `top` and `ps`. This name can be accessed through `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.", "type": "string" }, "binary": { "description": "File information for the process executable.", "$ref": "GoogleCloudSecuritycenterV2File" }, "libraries": { "description": "File information for libraries loaded by the process.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2File" } }, "script": { "description": "When the process represents the invocation of a script, `binary` provides information about the interpreter, while `script` provides information about the script file provided to the interpreter.", "$ref": "GoogleCloudSecuritycenterV2File" }, "args": { "description": "Process arguments as JSON encoded strings.", "type": "array", "items": { "type": "string" } }, "argumentsTruncated": { "description": "True if `args` is incomplete.", "type": "boolean" }, "envVariables": { "description": "Process environment variables.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2EnvironmentVariable" } }, "envVariablesTruncated": { "description": "True if `env_variables` is incomplete.", "type": "boolean" }, "pid": { "description": "The process ID.", "type": "string", "format": "int64" }, "parentPid": { "description": "The parent process ID.", "type": "string", "format": "int64" } } }, "GoogleCloudSecuritycenterV2File": { "id": "GoogleCloudSecuritycenterV2File", "description": "File information about the related binary/library used by an executable, or the script used by a script interpreter", "type": "object", "properties": { "path": { "description": "Absolute path of the file as a JSON encoded string.", "type": "string" }, "size": { "description": "Size of the file in bytes.", "type": "string", "format": "int64" }, "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" }, "hashedSize": { "description": "The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.", "type": "string", "format": "int64" }, "partiallyHashed": { "description": "True when the hash covers only a prefix of the file.", "type": "boolean" }, "contents": { "description": "Prefix of the file contents as a JSON-encoded string.", "type": "string" }, "diskPath": { "description": "Path of the file in terms of underlying disk/partition identifiers.", "$ref": "GoogleCloudSecuritycenterV2DiskPath" } } }, "GoogleCloudSecuritycenterV2DiskPath": { "id": "GoogleCloudSecuritycenterV2DiskPath", "description": "Path of the file in terms of underlying disk/partition identifiers.", "type": "object", "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" } } }, "GoogleCloudSecuritycenterV2EnvironmentVariable": { "id": "GoogleCloudSecuritycenterV2EnvironmentVariable", "description": "A name-value pair representing an environment variable used in an operating system process.", "type": "object", "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" } } }, "GoogleCloudSecuritycenterV2ContactDetails": { "id": "GoogleCloudSecuritycenterV2ContactDetails", "description": "Details about specific contacts", "type": "object", "properties": { "contacts": { "description": "A list of contacts", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Contact" } } } }, "GoogleCloudSecuritycenterV2Contact": { "id": "GoogleCloudSecuritycenterV2Contact", "description": "The email address of a contact.", "type": "object", "properties": { "email": { "description": "An email address. For example, \"`person123@company.com`\".", "type": "string" } } }, "GoogleCloudSecuritycenterV2Compliance": { "id": "GoogleCloudSecuritycenterV2Compliance", "description": "Contains compliance information about a security standard indicating unmet recommendations.", "type": "object", "properties": { "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" }, "ids": { "description": "Policies within the standard or benchmark, for example, A.12.4.1", "type": "array", "items": { "type": "string" } } } }, "GoogleCloudSecuritycenterV2Exfiltration": { "id": "GoogleCloudSecuritycenterV2Exfiltration", "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.", "type": "object", "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.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2ExfilResource" } }, "targets": { "description": "If there are multiple targets, each target would get a complete copy of the \"joined\" source data.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2ExfilResource" } }, "totalExfiltratedBytes": { "description": "Total exfiltrated bytes processed for the entire job.", "type": "string", "format": "int64" } } }, "GoogleCloudSecuritycenterV2ExfilResource": { "id": "GoogleCloudSecuritycenterV2ExfilResource", "description": "Resource where data was exfiltrated from or exfiltrated to.", "type": "object", "properties": { "name": { "description": "The resource's [full resource name](https://cloud.google.com/apis/design/resource_names#full_resource_name).", "type": "string" }, "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.", "type": "array", "items": { "type": "string" } } } }, "GoogleCloudSecuritycenterV2IamBinding": { "id": "GoogleCloudSecuritycenterV2IamBinding", "description": "Represents a particular IAM binding, which captures a member's role addition, removal, or state.", "type": "object", "properties": { "action": { "description": "The action that was performed on a Binding.", "type": "string", "enumDescriptions": [ "Unspecified.", "Addition of a Binding.", "Removal of a Binding." ], "enum": [ "ACTION_UNSPECIFIED", "ADD", "REMOVE" ] }, "role": { "description": "Role that is assigned to \"members\". For example, \"roles/viewer\", \"roles/editor\", or \"roles/owner\".", "type": "string" }, "member": { "description": "A single identity requesting access for a Cloud Platform resource, for example, \"foo@google.com\".", "type": "string" } } }, "GoogleCloudSecuritycenterV2Container": { "id": "GoogleCloudSecuritycenterV2Container", "description": "Container associated with the finding.", "type": "object", "properties": { "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" }, "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.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Label" } }, "createTime": { "description": "The time that the container was created.", "type": "string", "format": "google-datetime" } } }, "GoogleCloudSecuritycenterV2Label": { "id": "GoogleCloudSecuritycenterV2Label", "description": "Represents a generic name-value label. A label has separate name and value fields to support filtering with the `contains()` function. For more information, see [Filtering on array-type fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering).", "type": "object", "properties": { "name": { "description": "Name of the label.", "type": "string" }, "value": { "description": "Value that corresponds to the label's name.", "type": "string" } } }, "GoogleCloudSecuritycenterV2Kubernetes": { "id": "GoogleCloudSecuritycenterV2Kubernetes", "description": "Kubernetes-related attributes.", "type": "object", "properties": { "pods": { "description": "Kubernetes [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) associated with the finding. This field contains Pod records for each container that is owned by a Pod.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Pod" } }, "nodes": { "description": "Provides Kubernetes [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) information.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Node" } }, "nodePools": { "description": "GKE [node pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) associated with the finding. This field contains node pool information for each node, when it is available.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2NodePool" } }, "roles": { "description": "Provides Kubernetes role information for findings that involve [Roles or ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Role" } }, "bindings": { "description": "Provides Kubernetes role binding information for findings that involve [RoleBindings or ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control).", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Binding" } }, "accessReviews": { "description": "Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2AccessReview" } }, "objects": { "description": "Kubernetes objects related to the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Object" } } } }, "GoogleCloudSecuritycenterV2Pod": { "id": "GoogleCloudSecuritycenterV2Pod", "description": "A Kubernetes Pod.", "type": "object", "properties": { "ns": { "description": "Kubernetes Pod namespace.", "type": "string" }, "name": { "description": "Kubernetes Pod name.", "type": "string" }, "labels": { "description": "Pod labels. For Kubernetes containers, these are applied to the container.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Label" } }, "containers": { "description": "Pod containers associated with this finding, if any.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Container" } } } }, "GoogleCloudSecuritycenterV2Node": { "id": "GoogleCloudSecuritycenterV2Node", "description": "Kubernetes nodes associated with the finding.", "type": "object", "properties": { "name": { "description": "[Full resource name](https://google.aip.dev/122#full-resource-names) of the Compute Engine VM running the cluster node.", "type": "string" } } }, "GoogleCloudSecuritycenterV2NodePool": { "id": "GoogleCloudSecuritycenterV2NodePool", "description": "Provides GKE node pool information.", "type": "object", "properties": { "name": { "description": "Kubernetes node pool name.", "type": "string" }, "nodes": { "description": "Nodes associated with the finding.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Node" } } } }, "GoogleCloudSecuritycenterV2Role": { "id": "GoogleCloudSecuritycenterV2Role", "description": "Kubernetes Role or ClusterRole.", "type": "object", "properties": { "kind": { "description": "Role type.", "type": "string", "enumDescriptions": [ "Role type is not specified.", "Kubernetes Role.", "Kubernetes ClusterRole." ], "enum": [ "KIND_UNSPECIFIED", "ROLE", "CLUSTER_ROLE" ] }, "ns": { "description": "Role namespace.", "type": "string" }, "name": { "description": "Role name.", "type": "string" } } }, "GoogleCloudSecuritycenterV2Binding": { "id": "GoogleCloudSecuritycenterV2Binding", "description": "Represents a Kubernetes RoleBinding or ClusterRoleBinding.", "type": "object", "properties": { "ns": { "description": "Namespace for the binding.", "type": "string" }, "name": { "description": "Name for the binding.", "type": "string" }, "role": { "description": "The Role or ClusterRole referenced by the binding.", "$ref": "GoogleCloudSecuritycenterV2Role" }, "subjects": { "description": "Represents one or more subjects that are bound to the role. Not always available for PATCH requests.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Subject" } } } }, "GoogleCloudSecuritycenterV2Subject": { "id": "GoogleCloudSecuritycenterV2Subject", "description": "Represents a Kubernetes subject.", "type": "object", "properties": { "kind": { "description": "Authentication type for the subject.", "type": "string", "enumDescriptions": [ "Authentication is not specified.", "User with valid certificate.", "Users managed by Kubernetes API with credentials stored as secrets.", "Collection of users." ], "enum": [ "AUTH_TYPE_UNSPECIFIED", "USER", "SERVICEACCOUNT", "GROUP" ] }, "ns": { "description": "Namespace for the subject.", "type": "string" }, "name": { "description": "Name for the subject.", "type": "string" } } }, "GoogleCloudSecuritycenterV2AccessReview": { "id": "GoogleCloudSecuritycenterV2AccessReview", "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.", "type": "object", "properties": { "group": { "description": "The API group of the resource. \"*\" 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" }, "name": { "description": "The name of the resource being requested. Empty means all.", "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" } } }, "GoogleCloudSecuritycenterV2Object": { "id": "GoogleCloudSecuritycenterV2Object", "description": "Kubernetes object related to the finding, uniquely identified by GKNN. Used if the object Kind is not one of Pod, Node, NodePool, Binding, or AccessReview.", "type": "object", "properties": { "group": { "description": "Kubernetes object group, such as \"policy.k8s.io/v1\".", "type": "string" }, "kind": { "description": "Kubernetes object kind, such as \"Namespace\".", "type": "string" }, "ns": { "description": "Kubernetes object namespace. Must be a valid DNS label. Named \"ns\" to avoid collision with C++ namespace keyword. For details see https://kubernetes.io/docs/tasks/administer-cluster/namespaces/.", "type": "string" }, "name": { "description": "Kubernetes object name. For details see https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.", "type": "string" }, "containers": { "description": "Pod containers associated with this finding, if any.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Container" } } } }, "GoogleCloudSecuritycenterV2Database": { "id": "GoogleCloudSecuritycenterV2Database", "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.", "type": "object", "properties": { "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" }, "displayName": { "description": "The human-readable name of the database that the user connected to.", "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" }, "query": { "description": "The SQL statement that is associated with the database access.", "type": "string" }, "grantees": { "description": "The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.", "type": "array", "items": { "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" } } }, "GoogleCloudSecuritycenterV2AttackExposure": { "id": "GoogleCloudSecuritycenterV2AttackExposure", "description": "An attack exposure contains the results of an attack path simulation run.", "type": "object", "properties": { "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.", "type": "number", "format": "double" }, "latestCalculationTime": { "description": "The most recent time the attack exposure was updated on this finding.", "type": "string", "format": "google-datetime" }, "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" }, "state": { "description": "Output only. What state this AttackExposure is in. This captures whether or not an attack exposure has been calculated or not.", "readOnly": true, "type": "string", "enumDescriptions": [ "The state is not specified.", "The attack exposure has been calculated.", "The attack exposure has not been calculated." ], "enum": [ "STATE_UNSPECIFIED", "CALCULATED", "NOT_CALCULATED" ] }, "exposedHighValueResourcesCount": { "description": "The number of high value resources that are exposed as a result of this finding.", "type": "integer", "format": "int32" }, "exposedMediumValueResourcesCount": { "description": "The number of medium value resources that are exposed as a result of this finding.", "type": "integer", "format": "int32" }, "exposedLowValueResourcesCount": { "description": "The number of high value resources that are exposed as a result of this finding.", "type": "integer", "format": "int32" } } }, "GoogleCloudSecuritycenterV2CloudDlpInspection": { "id": "GoogleCloudSecuritycenterV2CloudDlpInspection", "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.", "type": "object", "properties": { "inspectJob": { "description": "Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.", "type": "string" }, "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.", "type": "string", "format": "int64" }, "fullScan": { "description": "Whether Cloud DLP scanned the complete resource or a sampled subset.", "type": "boolean" } } }, "GoogleCloudSecuritycenterV2CloudDlpDataProfile": { "id": "GoogleCloudSecuritycenterV2CloudDlpDataProfile", "description": "The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated with the finding.", "type": "object", "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.", "type": "string", "enumDescriptions": [ "Unspecified parent type.", "Organization-level configurations.", "Project-level configurations." ], "enum": [ "PARENT_TYPE_UNSPECIFIED", "ORGANIZATION", "PROJECT" ] } } }, "GoogleCloudSecuritycenterV2KernelRootkit": { "id": "GoogleCloudSecuritycenterV2KernelRootkit", "description": "Kernel mode rootkit signatures.", "type": "object", "properties": { "name": { "description": "Rootkit name, when available.", "type": "string" }, "unexpectedCodeModification": { "description": "True if unexpected modifications of kernel code memory are present.", "type": "boolean" }, "unexpectedReadOnlyDataModification": { "description": "True if unexpected modifications of kernel read-only data memory are present.", "type": "boolean" }, "unexpectedFtraceHandler": { "description": "True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", "type": "boolean" }, "unexpectedKprobeHandler": { "description": "True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range.", "type": "boolean" }, "unexpectedKernelCodePages": { "description": "True if kernel code pages that are not in the expected kernel or module code regions are present.", "type": "boolean" }, "unexpectedSystemCallHandler": { "description": "True if system call handlers that are are not in the expected kernel or module code regions are present.", "type": "boolean" }, "unexpectedInterruptHandler": { "description": "True if interrupt handlers that are are not in the expected kernel or module code regions are present.", "type": "boolean" }, "unexpectedProcessesInRunqueue": { "description": "True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list.", "type": "boolean" } } }, "GoogleCloudSecuritycenterV2OrgPolicy": { "id": "GoogleCloudSecuritycenterV2OrgPolicy", "description": "Contains information about the org policies associated with the finding.", "type": "object", "properties": { "name": { "description": "The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", "type": "string" } } }, "GoogleCloudSecuritycenterV2Application": { "id": "GoogleCloudSecuritycenterV2Application", "description": "Represents an application associated with a finding.", "type": "object", "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 could be used to reproduce the vulnerability. For example, `http://example.com?p=aMmYgI6H`.", "type": "string" } } }, "GoogleCloudSecuritycenterV2BackupDisasterRecovery": { "id": "GoogleCloudSecuritycenterV2BackupDisasterRecovery", "description": "Information related to Google Cloud Backup and DR Service findings.", "type": "object", "properties": { "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" }, "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`.", "type": "array", "items": { "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" }, "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`.", "type": "array", "items": { "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" }, "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`.", "type": "array", "items": { "type": "string" } }, "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" }, "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" }, "backupType": { "description": "The backup type of the Backup and DR image. For example, `Snapshot`, `Remote Snapshot`, `OnVault`.", "type": "string" }, "backupCreateTime": { "description": "The timestamp at which the Backup and DR backup was created.", "type": "string", "format": "google-datetime" } } }, "GoogleCloudSecuritycenterV2SecurityPosture": { "id": "GoogleCloudSecuritycenterV2SecurityPosture", "description": "Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.", "type": "object", "properties": { "name": { "description": "Name of the posture, for example, `CIS-Posture`.", "type": "string" }, "revisionId": { "description": "The version of the posture, for example, `c7cfa2a8`.", "type": "string" }, "postureDeploymentResource": { "description": "The project, folder, or organization on which the posture is deployed, for example, `projects/{project_number}`.", "type": "string" }, "postureDeployment": { "description": "The name of the posture deployment, for example, `organizations/{org_id}/posturedeployments/{posture_deployment_id}`.", "type": "string" }, "changedPolicy": { "description": "The name of the updated policy, for example, `projects/{project_id}/policies/{constraint_name}`.", "type": "string" }, "policySet": { "description": "The name of the updated policy set, for example, `cis-policyset`.", "type": "string" }, "policy": { "description": "The ID of the updated policy, for example, `compute-policy-1`.", "type": "string" }, "policyDriftDetails": { "description": "The details about a change in an updated policy that violates the deployed posture.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2PolicyDriftDetails" } } } }, "GoogleCloudSecuritycenterV2PolicyDriftDetails": { "id": "GoogleCloudSecuritycenterV2PolicyDriftDetails", "description": "The policy field that violates the deployed posture and its expected and detected values.", "type": "object", "properties": { "field": { "description": "The name of the updated field, for example constraint.implementation.policy_rules[0].enforce", "type": "string" }, "expectedValue": { "description": "The value of this field that was configured in a posture, for example, `true` or `allowed_values={\"projects/29831892\"}`.", "type": "string" }, "detectedValue": { "description": "The detected value that violates the deployed posture, for example, `false` or `allowed_values={\"projects/22831892\"}`.", "type": "string" } } }, "GoogleCloudSecuritycenterV2LogEntry": { "id": "GoogleCloudSecuritycenterV2LogEntry", "description": "An individual entry in a log.", "type": "object", "properties": { "cloudLoggingEntry": { "description": "An individual entry in a log stored in Cloud Logging.", "$ref": "GoogleCloudSecuritycenterV2CloudLoggingEntry" } } }, "GoogleCloudSecuritycenterV2CloudLoggingEntry": { "id": "GoogleCloudSecuritycenterV2CloudLoggingEntry", "description": "Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)", "type": "object", "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 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.", "type": "string", "format": "google-datetime" } } }, "GoogleCloudSecuritycenterV2LoadBalancer": { "id": "GoogleCloudSecuritycenterV2LoadBalancer", "description": "Contains information related to the load balancer associated with the finding.", "type": "object", "properties": { "name": { "description": "The name of the load balancer associated with the finding.", "type": "string" } } }, "GoogleCloudSecuritycenterV2CloudArmor": { "id": "GoogleCloudSecuritycenterV2CloudArmor", "description": "Fields related to Google Cloud Armor findings.", "type": "object", "properties": { "securityPolicy": { "description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.", "$ref": "GoogleCloudSecuritycenterV2SecurityPolicy" }, "requests": { "description": "Information about incoming requests evaluated by [Google Cloud Armor security policies](https://cloud.google.com/armor/docs/security-policy-overview).", "$ref": "GoogleCloudSecuritycenterV2Requests" }, "adaptiveProtection": { "description": "Information about potential Layer 7 DDoS attacks identified by [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).", "$ref": "GoogleCloudSecuritycenterV2AdaptiveProtection" }, "attack": { "description": "Information about DDoS attack volume and classification.", "$ref": "GoogleCloudSecuritycenterV2Attack" }, "threatVector": { "description": "Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, \"L3_4\" for Layer 3 and Layer 4 DDoS attacks, or \"L_7\" for Layer 7 DDoS attacks.", "type": "string" }, "duration": { "description": "Duration of attack from the start until the current moment (updated every 5 minutes).", "type": "string", "format": "google-duration" } } }, "GoogleCloudSecuritycenterV2SecurityPolicy": { "id": "GoogleCloudSecuritycenterV2SecurityPolicy", "description": "Information about the [Google Cloud Armor security policy](https://cloud.google.com/armor/docs/security-policy-overview) relevant to the finding.", "type": "object", "properties": { "name": { "description": "The name of the Google Cloud Armor security policy, for example, \"my-security-policy\".", "type": "string" }, "type": { "description": "The type of Google Cloud Armor security policy for example, 'backend security policy', 'edge security policy', 'network edge security policy', or 'always-on DDoS protection'.", "type": "string" }, "preview": { "description": "Whether or not the associated rule or policy is in preview mode.", "type": "boolean" } } }, "GoogleCloudSecuritycenterV2Requests": { "id": "GoogleCloudSecuritycenterV2Requests", "description": "Information about the requests relevant to the finding.", "type": "object", "properties": { "ratio": { "description": "For 'Increasing deny ratio', the ratio is the denied traffic divided by the allowed traffic. For 'Allowed traffic spike', the ratio is the allowed traffic in the short term divided by allowed traffic in the long term.", "type": "number", "format": "double" }, "shortTermAllowed": { "description": "Allowed RPS (requests per second) in the short term.", "type": "integer", "format": "int32" }, "longTermAllowed": { "description": "Allowed RPS (requests per second) over the long term.", "type": "integer", "format": "int32" }, "longTermDenied": { "description": "Denied RPS (requests per second) over the long term.", "type": "integer", "format": "int32" } } }, "GoogleCloudSecuritycenterV2AdaptiveProtection": { "id": "GoogleCloudSecuritycenterV2AdaptiveProtection", "description": "Information about [Google Cloud Armor Adaptive Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection).", "type": "object", "properties": { "confidence": { "description": "A score of 0 means that there is low confidence that the detected event is an actual attack. A score of 1 means that there is high confidence that the detected event is an attack. See the [Adaptive Protection documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) for further explanation.", "type": "number", "format": "double" } } }, "GoogleCloudSecuritycenterV2Attack": { "id": "GoogleCloudSecuritycenterV2Attack", "description": "Information about DDoS attack volume and classification.", "type": "object", "properties": { "volumePps": { "description": "Total PPS (packets per second) volume of attack.", "type": "integer", "format": "int32" }, "volumeBps": { "description": "Total BPS (bytes per second) volume of attack.", "type": "integer", "format": "int32" }, "classification": { "description": "Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.", "type": "string" } } }, "GoogleCloudSecuritycenterV2Notebook": { "id": "GoogleCloudSecuritycenterV2Notebook", "description": "Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise notebook](https://cloud.google.com/colab/docs/introduction) file, that is associated with a finding.", "type": "object", "properties": { "name": { "description": "The name of the notebook.", "type": "string" }, "service": { "description": "The source notebook service, for example, \"Colab Enterprise\".", "type": "string" }, "lastAuthor": { "description": "The user ID of the latest author to modify the notebook.", "type": "string" }, "notebookUpdateTime": { "description": "The most recent time the notebook was updated.", "type": "string", "format": "google-datetime" } } }, "GoogleCloudSecuritycenterV2Resource": { "id": "GoogleCloudSecuritycenterV2Resource", "description": "Information related to the Google Cloud resource.", "type": "object", "properties": { "name": { "description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", "type": "string" }, "displayName": { "description": "The human readable name of the resource.", "type": "string" }, "type": { "description": "The full resource type of the resource.", "type": "string" }, "cloudProvider": { "description": "Indicates which cloud provider the finding is from.", "type": "string", "enumDescriptions": [ "The cloud provider is unspecified.", "The cloud provider is Google Cloud Platform.", "The cloud provider is Amazon Web Services.", "The cloud provider is Microsoft Azure." ], "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", "MICROSOFT_AZURE" ] }, "service": { "description": "The service or resource provider associated with the resource.", "type": "string" }, "location": { "description": "The region or location of the service (if applicable).", "type": "string" }, "gcpMetadata": { "description": "The GCP metadata associated with the finding.", "$ref": "GcpMetadata" }, "awsMetadata": { "description": "The AWS metadata associated with the finding.", "$ref": "GoogleCloudSecuritycenterV2AwsMetadata" }, "resourcePath": { "description": "Provides the path to the resource within the resource hierarchy.", "$ref": "GoogleCloudSecuritycenterV2ResourcePath" }, "resourcePathString": { "description": "A string representation of the resource path. For Google Cloud, it has the format of organizations/{organization_id}/folders/{folder_id}/folders/{folder_id}/projects/{project_id} where there can be any number of folders. For AWS, it has the format of org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id} where there can be any number of organizational units. For Azure, it has the format of mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name} where there can be any number of management groups.", "type": "string" } } }, "GcpMetadata": { "id": "GcpMetadata", "description": "GCP metadata associated with the resource, only applicable if the finding's cloud provider is Google Cloud Platform.", "type": "object", "properties": { "project": { "description": "The full resource name of project that the resource belongs to.", "type": "string" }, "projectDisplayName": { "description": "The project ID that the resource belongs to.", "type": "string" }, "parent": { "description": "The full resource name of resource's parent.", "type": "string" }, "parentDisplayName": { "description": "The human readable name of resource's parent.", "type": "string" }, "folders": { "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.", "readOnly": true, "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2Folder" } }, "organization": { "description": "The name of the organization that the resource belongs to.", "type": "string" } } }, "GoogleCloudSecuritycenterV2Folder": { "id": "GoogleCloudSecuritycenterV2Folder", "description": "Message that contains the resource name and display name of a folder resource.", "type": "object", "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" } } }, "GoogleCloudSecuritycenterV2AwsMetadata": { "id": "GoogleCloudSecuritycenterV2AwsMetadata", "description": "AWS metadata associated with the resource, only applicable if the finding's cloud provider is Amazon Web Services.", "type": "object", "properties": { "organization": { "description": "The AWS organization associated with the resource.", "$ref": "GoogleCloudSecuritycenterV2AwsOrganization" }, "organizationalUnits": { "description": "A list of AWS organizational units associated with the resource, ordered from lowest level (closest to the account) to highest level.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2AwsOrganizationalUnit" } }, "account": { "description": "The AWS account associated with the resource.", "$ref": "GoogleCloudSecuritycenterV2AwsAccount" } } }, "GoogleCloudSecuritycenterV2AwsOrganization": { "id": "GoogleCloudSecuritycenterV2AwsOrganization", "description": "An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies.", "type": "object", "properties": { "id": { "description": "The unique identifier (ID) for the organization. The regex pattern for an organization ID string requires \"o-\" followed by from 10 to 32 lowercase letters or digits.", "type": "string" } } }, "GoogleCloudSecuritycenterV2AwsOrganizationalUnit": { "id": "GoogleCloudSecuritycenterV2AwsOrganizationalUnit", "description": "An Organizational Unit (OU) is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.", "type": "object", "properties": { "id": { "description": "The unique identifier (ID) associated with this OU. The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits. For example, \"ou-ab12-cd34ef56\".", "type": "string" }, "name": { "description": "The friendly name of the OU.", "type": "string" } } }, "GoogleCloudSecuritycenterV2AwsAccount": { "id": "GoogleCloudSecuritycenterV2AwsAccount", "description": "An AWS account that is a member of an organization.", "type": "object", "properties": { "id": { "description": "The unique identifier (ID) of the account, containing exactly 12 digits.", "type": "string" }, "name": { "description": "The friendly name of this account.", "type": "string" } } }, "GoogleCloudSecuritycenterV2ResourcePath": { "id": "GoogleCloudSecuritycenterV2ResourcePath", "description": "Represents the path of resources leading up to the resource this finding is about.", "type": "object", "properties": { "nodes": { "description": "The list of nodes that make the up resource path, ordered from lowest level to highest level.", "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV2ResourcePathNode" } } } }, "GoogleCloudSecuritycenterV2ResourcePathNode": { "id": "GoogleCloudSecuritycenterV2ResourcePathNode", "description": "A node within the resource path. Each node represents a resource within the resource hierarchy.", "type": "object", "properties": { "nodeType": { "description": "The type of resource this node represents.", "type": "string", "enumDescriptions": [ "Node type is unspecified.", "The node represents a Google Cloud organization.", "The node represents a Google Cloud folder.", "The node represents a Google Cloud project.", "The node represents an AWS organization.", "The node represents an AWS organizational unit.", "The node represents an AWS account.", "The node represents an Azure management group.", "The node represents an Azure subscription.", "The node represents an Azure resource group." ], "enum": [ "RESOURCE_PATH_NODE_TYPE_UNSPECIFIED", "GCP_ORGANIZATION", "GCP_FOLDER", "GCP_PROJECT", "AWS_ORGANIZATION", "AWS_ORGANIZATIONAL_UNIT", "AWS_ACCOUNT", "AZURE_MANAGEMENT_GROUP", "AZURE_SUBSCRIPTION", "AZURE_RESOURCE_GROUP" ] }, "id": { "description": "The ID of the resource this node represents.", "type": "string" }, "displayName": { "description": "The display name of the resource this node represents.", "type": "string" } } }, "GoogleCloudSecuritycenterV2ResourceValueConfig": { "id": "GoogleCloudSecuritycenterV2ResourceValueConfig", "description": "A resource value config (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", "type": "object", "properties": { "name": { "description": "Name for the resource value config", "type": "string" }, "resourceValue": { "description": "Resource value level this expression represents Only required when there is no SDP mapping in the request", "type": "string", "enumDescriptions": [ "Unspecific value", "High resource value", "Medium resource value", "Low resource value", "No resource value, e.g. ignore these resources" ], "enum": [ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] }, "tagValues": { "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" E.g. [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", "type": "array", "items": { "type": "string" } }, "resourceType": { "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with \"AND\" of other resources. E.g. \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", "type": "string" }, "scope": { "description": "Project or folder to scope this config to. For example, \"project/456\" would apply this config only to resources in \"project/456\" scope will be checked with \"AND\" of other resources.", "type": "string" }, "resourceLabelsSelector": { "description": "List of resource labels to search for, evaluated with AND. E.g. \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", "type": "object", "additionalProperties": { "type": "string" } }, "description": { "description": "Description of the resource value config.", "type": "string" }, "createTime": { "description": "Output only. Timestamp this resource value config was created.", "readOnly": true, "type": "string", "format": "google-datetime" }, "updateTime": { "description": "Output only. Timestamp this resource value config was last updated.", "readOnly": true, "type": "string", "format": "google-datetime" }, "cloudProvider": { "description": "Cloud provider this configuration applies to", "type": "string", "enumDescriptions": [ "The cloud provider is unspecified.", "The cloud provider is Google Cloud Platform.", "The cloud provider is Amazon Web Services.", "The cloud provider is Microsoft Azure." ], "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", "MICROSOFT_AZURE" ] }, "sensitiveDataProtectionMapping": { "description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\".", "$ref": "GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping" } } }, "GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping": { "id": "GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping", "description": "Resource value mapping for Sensitive Data Protection findings If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.", "type": "object", "properties": { "highSensitivityMapping": { "description": "Resource value mapping for high-sensitivity Sensitive Data Protection findings", "type": "string", "enumDescriptions": [ "Unspecific value", "High resource value", "Medium resource value", "Low resource value", "No resource value, e.g. ignore these resources" ], "enum": [ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] }, "mediumSensitivityMapping": { "description": "Resource value mapping for medium-sensitivity Sensitive Data Protection findings", "type": "string", "enumDescriptions": [ "Unspecific value", "High resource value", "Medium resource value", "Low resource value", "No resource value, e.g. ignore these resources" ], "enum": [ "RESOURCE_VALUE_UNSPECIFIED", "HIGH", "MEDIUM", "LOW", "NONE" ] } } }, "ComplianceSnapshot": { "id": "ComplianceSnapshot", "description": "Result containing the properties and count of a ComplianceSnapshot request.", "type": "object", "properties": { "name": { "description": "The compliance snapshot name. Format: //sources//complianceSnapshots/", "type": "string" }, "cloudProvider": { "description": "The cloud provider for the compliance snapshot.", "type": "string", "enumDescriptions": [ "The cloud provider is unspecified.", "The cloud provider is Google Cloud Platform.", "The cloud provider is Amazon Web Services.", "The cloud provider is Microsoft Azure." ], "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", "MICROSOFT_AZURE" ] }, "category": { "description": "The category of Findings matching.", "type": "string" }, "leafContainerResource": { "description": "The leaf container resource name that is closest to the snapshot.", "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.", "type": "string", "format": "int64" }, "snapshotTime": { "description": "The snapshot time of the snapshot.", "type": "string", "format": "google-datetime" } } }, "VulnerabilitySnapshot": { "id": "VulnerabilitySnapshot", "description": "Result containing the properties and count of a VulnerabilitySnapshot request.", "type": "object", "properties": { "name": { "description": "Identifier. The vulnerability snapshot name. Format: //locations//vulnerabilitySnapshots/", "type": "string" }, "cloudProvider": { "description": "The cloud provider for the vulnerability snapshot.", "type": "string", "enumDescriptions": [ "The cloud provider is unspecified.", "The cloud provider is Google Cloud Platform.", "The cloud provider is Amazon Web Services.", "The cloud provider is Microsoft Azure." ], "enum": [ "CLOUD_PROVIDER_UNSPECIFIED", "GOOGLE_CLOUD_PLATFORM", "AMAZON_WEB_SERVICES", "MICROSOFT_AZURE" ] }, "snapshotTime": { "description": "The time that the snapshot was taken.", "type": "string", "format": "google-datetime" }, "findingCount": { "description": "The vulnerability count by severity.", "$ref": "VulnerabilityCountBySeverity" } } }, "VulnerabilityCountBySeverity": { "id": "VulnerabilityCountBySeverity", "description": "Vulnerability count by severity.", "type": "object", "properties": { "severityToFindingCount": { "description": "Key is the Severity enum.", "type": "object", "additionalProperties": { "type": "string", "format": "int64" } } } }, "GoogleCloudSecuritycenterV1p1beta1NotificationMessage": { "id": "GoogleCloudSecuritycenterV1p1beta1NotificationMessage", "description": "Security Command Center's Notification", "type": "object", "properties": { "notificationConfigName": { "description": "Name of the notification config that generated current notification.", "type": "string" }, "finding": { "description": "If it's a Finding based notification config, this field will be populated.", "$ref": "GoogleCloudSecuritycenterV1p1beta1Finding" }, "resource": { "description": "The Cloud resource tied to the notification.", "$ref": "GoogleCloudSecuritycenterV1p1beta1Resource" } } }, "GoogleCloudSecuritycenterV1p1beta1Finding": { "id": "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.", "type": "object", "properties": { "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" }, "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" }, "state": { "description": "The state of the finding.", "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" ] }, "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" }, "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" }, "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" } }, "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, "$ref": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks" }, "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. Must not be set to a value greater than the current timestamp.", "type": "string", "format": "google-datetime" }, "createTime": { "description": "The time at which the finding was created in Security Command Center.", "type": "string", "format": "google-datetime" }, "severity": { "description": "The severity of the finding. This field is managed by the source that writes the finding.", "type": "string", "enumDescriptions": [ "No severity specified. The default value.", "Critical severity.", "High severity.", "Medium severity.", "Low severity." ], "enum": [ "SEVERITY_UNSPECIFIED", "CRITICAL", "HIGH", "MEDIUM", "LOW" ] }, "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" } } }, "GoogleCloudSecuritycenterV1p1beta1SecurityMarks": { "id": "GoogleCloudSecuritycenterV1p1beta1SecurityMarks", "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": { "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": { "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", "additionalProperties": { "type": "string" } }, "canonicalName": { "description": "The canonical name of the marks. Examples: \"organizations/{organization_id}/assets/{asset_id}/securityMarks\" \"folders/{folder_id}/assets/{asset_id}/securityMarks\" \"projects/{project_number}/assets/{asset_id}/securityMarks\" \"organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks\" \"projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks\"", "type": "string" } } }, "GoogleCloudSecuritycenterV1p1beta1Resource": { "id": "GoogleCloudSecuritycenterV1p1beta1Resource", "description": "Information related to the Google Cloud resource.", "type": "object", "properties": { "name": { "description": "The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name", "type": "string" }, "project": { "description": "The full resource name of project that the resource belongs to.", "type": "string" }, "projectDisplayName": { "description": "The project id that the resource belongs to.", "type": "string" }, "parent": { "description": "The full resource name of resource's parent.", "type": "string" }, "parentDisplayName": { "description": "The human readable name of resource's parent.", "type": "string" }, "folders": { "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.", "readOnly": true, "type": "array", "items": { "$ref": "GoogleCloudSecuritycenterV1p1beta1Folder" } } } }, "GoogleCloudSecuritycenterV1p1beta1Folder": { "id": "GoogleCloudSecuritycenterV1p1beta1Folder", "description": "Message that contains the resource name and display name of a folder resource.", "type": "object", "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" } } }, "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse": { "id": "GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse", "description": "Response of asset discovery run", "type": "object", "properties": { "state": { "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." ], "enum": [ "STATE_UNSPECIFIED", "COMPLETED", "SUPERSEDED", "TERMINATED" ] }, "duration": { "description": "The duration between asset discovery run start and end", "type": "string", "format": "google-duration" } } } }, "kind": "discovery#restDescription", "auth": { "oauth2": { "scopes": { "https://www.googleapis.com/auth/cloud-platform": { "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." } } } }, "basePath": "", "revision": "20240506", "rootUrl": "https://securitycenter.googleapis.com/", "id": "securitycenter:v1", "documentationLink": "https://cloud.google.com/security-command-center", "batchPath": "batch", "ownerDomain": "google.com", "ownerName": "Google", "resources": { "folders": { "resources": { "findings": { "methods": { "bulkMute": { "id": "securitycenter.folders.findings.bulkMute", "path": "v1/{+parent}/findings:bulkMute", "flatPath": "v1/folders/{foldersId}/findings:bulkMute", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The parent, at which bulk action needs to be applied. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", "pattern": "^folders/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "BulkMuteFindingsRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done." } } }, "securityHealthAnalyticsSettings": { "resources": { "customModules": { "methods": { "create": { "id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.create", "path": "v1/{+parent}/customModules", "flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new custom module's parent. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "response": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default." }, "delete": { "id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.delete", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the custom module to delete. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules." }, "get": { "id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.get", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Retrieves a SecurityHealthAnalyticsCustomModule." }, "listDescendant": { "id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.listDescendant", "path": "v1/{+parent}/customModules:listDescendant", "flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:listDescendant", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list descendant custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value returned by the last call indicating a continuation", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListDescendantSecurityHealthAnalyticsCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants." }, "list": { "id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.list", "path": "v1/{+parent}/customModules", "flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value returned by the last call indicating a continuation", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListSecurityHealthAnalyticsCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors." }, "simulate": { "id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.simulate", "path": "v1/{+parent}/customModules:simulate", "flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:simulate", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [Relative Resource Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) Example: `organizations/{organization_id}`", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "SimulateSecurityHealthAnalyticsCustomModuleRequest" }, "response": { "$ref": "SimulateSecurityHealthAnalyticsCustomModuleResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Simulates a given SecurityHealthAnalyticsCustomModule and Resource." }, "patch": { "id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.patch", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Immutable. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. The only fields that can be updated are `enablement_state` and `custom_config`. If empty or set to the wildcard value `*`, both `enablement_state` and `custom_config` are updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "response": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name and custom config of a module is supported on resident modules only." } } }, "effectiveCustomModules": { "methods": { "get": { "id": "securitycenter.folders.securityHealthAnalyticsSettings.effectiveCustomModules.get", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/effectiveCustomModules/{effectiveCustomModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the effective custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\"", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings/effectiveCustomModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Retrieves an EffectiveSecurityHealthAnalyticsCustomModule." }, "list": { "id": "securitycenter.folders.securityHealthAnalyticsSettings.effectiveCustomModules.list", "path": "v1/{+parent}/effectiveCustomModules", "flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/effectiveCustomModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list effective custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value returned by the last call indicating a continuation", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEffectiveSecurityHealthAnalyticsCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors." } } } } }, "muteConfigs": { "methods": { "create": { "id": "securitycenter.folders.muteConfigs.create", "path": "v1/{+parent}/muteConfigs", "flatPath": "v1/folders/{foldersId}/muteConfigs", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "muteConfigId": { "description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a mute config." }, "delete": { "id": "securitycenter.folders.muteConfigs.delete", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/muteConfigs/{muteConfigsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^folders/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an existing mute config." }, "get": { "id": "securitycenter.folders.muteConfigs.get", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/muteConfigs/{muteConfigsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^folders/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a mute config." }, "list": { "id": "securitycenter.folders.muteConfigs.list", "path": "v1/{+parent}/muteConfigs", "flatPath": "v1/folders/{foldersId}/muteConfigs", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", "pattern": "^folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListMuteConfigsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists mute configs." }, "patch": { "id": "securitycenter.folders.muteConfigs.patch", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/muteConfigs/{muteConfigsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "pattern": "^folders/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a mute config." } } }, "notificationConfigs": { "methods": { "create": { "id": "securitycenter.folders.notificationConfigs.create", "path": "v1/{+parent}/notificationConfigs", "flatPath": "v1/folders/{foldersId}/notificationConfigs", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new notification config's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "configId": { "description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "NotificationConfig" }, "response": { "$ref": "NotificationConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a notification config." }, "delete": { "id": "securitycenter.folders.notificationConfigs.delete", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/notificationConfigs/{notificationConfigsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the notification config to delete. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", "pattern": "^folders/[^/]+/notificationConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes a notification config." }, "get": { "id": "securitycenter.folders.notificationConfigs.get", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/notificationConfigs/{notificationConfigsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the notification config to get. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", "pattern": "^folders/[^/]+/notificationConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "NotificationConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a notification config." }, "list": { "id": "securitycenter.folders.notificationConfigs.list", "path": "v1/{+parent}/notificationConfigs", "flatPath": "v1/folders/{foldersId}/notificationConfigs", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The name of the parent in which to list the notification configurations. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "The value returned by the last `ListNotificationConfigsResponse`; indicates that this is a continuation of a prior `ListNotificationConfigs` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListNotificationConfigsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists notification configs." }, "patch": { "id": "securitycenter.folders.notificationConfigs.patch", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/notificationConfigs/{notificationConfigsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/notificationConfigs/notify_public_bucket\", \"folders/{folder_id}/notificationConfigs/notify_public_bucket\", or \"projects/{project_id}/notificationConfigs/notify_public_bucket\".", "pattern": "^folders/[^/]+/notificationConfigs/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the notification config. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "NotificationConfig" }, "response": { "$ref": "NotificationConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": " Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter" } } }, "locations": { "resources": { "muteConfigs": { "methods": { "delete": { "id": "securitycenter.folders.locations.muteConfigs.delete", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an existing mute config." }, "get": { "id": "securitycenter.folders.locations.muteConfigs.get", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a mute config." }, "patch": { "id": "securitycenter.folders.locations.muteConfigs.patch", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a mute config." } } } } }, "bigQueryExports": { "methods": { "get": { "id": "securitycenter.folders.bigQueryExports.get", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/bigQueryExports/{bigQueryExportsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", "pattern": "^folders/[^/]+/bigQueryExports/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a BigQuery export." }, "create": { "id": "securitycenter.folders.bigQueryExports.create", "path": "v1/{+parent}/bigQueryExports", "flatPath": "v1/folders/{foldersId}/bigQueryExports", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The name of the parent resource of the new BigQuery export. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "bigQueryExportId": { "description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "response": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a BigQuery export." }, "delete": { "id": "securitycenter.folders.bigQueryExports.delete", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/bigQueryExports/{bigQueryExportsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", "pattern": "^folders/[^/]+/bigQueryExports/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an existing BigQuery export." }, "patch": { "id": "securitycenter.folders.bigQueryExports.patch", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/bigQueryExports/{bigQueryExportsId}", "httpMethod": "PATCH", "parameters": { "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}/bigQueryExports/{export_id}\" Example format: \"projects/{project_id}/bigQueryExports/{export_id}\" This field is provided in responses, and is ignored when provided in create requests.", "pattern": "^folders/[^/]+/bigQueryExports/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "response": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a BigQuery export." }, "list": { "id": "securitycenter.folders.bigQueryExports.list", "path": "v1/{+parent}/bigQueryExports", "flatPath": "v1/folders/{foldersId}/bigQueryExports", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent, which owns the collection of BigQuery exports. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", "pattern": "^folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `ListBigQueryExports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBigQueryExports` must match the call that provided the page token.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListBigQueryExportsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned." } } }, "assets": { "methods": { "group": { "id": "securitycenter.folders.assets.group", "path": "v1/{+parent}/assets:group", "flatPath": "v1/folders/{foldersId}/assets:group", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The name of the parent to group the assets by. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^folders/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GroupAssetsRequest" }, "response": { "$ref": "GroupAssetsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "deprecated": true, "description": "Filters an organization's assets and groups them by their specified properties." }, "list": { "id": "securitycenter.folders.assets.list", "path": "v1/{+parent}/assets", "flatPath": "v1/folders/{foldersId}/assets", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "Expression that defines the filter to apply across assets. 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 Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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. The following are the allowed field and operator combinations: * name: `=` * update_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = \"2019-06-10T16:07:18-07:00\"` `update_time = 1560208038000` * create_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = \"2019-06-10T16:07:18-07:00\"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : \"\"`", "location": "query", "type": "string" }, "orderBy": { "description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,resource_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,resource_properties.a_property\" and \" name desc , resource_properties.a_property \" are equivalent. The following fields are supported: name update_time resource_properties security_marks.marks security_center_properties.resource_name security_center_properties.resource_display_name security_center_properties.resource_parent security_center_properties.resource_parent_display_name security_center_properties.resource_project security_center_properties.resource_project_display_name security_center_properties.resource_type", "location": "query", "type": "string" }, "readTime": { "description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", "location": "query", "type": "string", "format": "google-datetime" }, "compareDuration": { "description": "When compare_duration is set, the ListAssetsResult's \"state_change\" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state_change\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present at the start of compare_duration, but present at read_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at read_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all assets present at read_time.", "location": "query", "type": "string", "format": "google-duration" }, "fieldMask": { "description": "A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.", "location": "query", "type": "string", "format": "google-fieldmask" }, "pageToken": { "description": "The value returned by the last `ListAssetsResponse`; indicates that this is a continuation of a prior `ListAssets` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListAssetsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "deprecated": true, "description": "Lists an organization's assets." }, "updateSecurityMarks": { "id": "securitycenter.folders.assets.updateSecurityMarks", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/assets/{assetsId}/securityMarks", "httpMethod": "PATCH", "parameters": { "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\".", "pattern": "^folders/[^/]+/assets/[^/]+/securityMarks$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", "location": "query", "type": "string", "format": "google-fieldmask" }, "startTime": { "description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", "location": "query", "type": "string", "format": "google-datetime" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SecurityMarks" }, "response": { "$ref": "SecurityMarks" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates security marks." } } }, "sources": { "methods": { "list": { "id": "securitycenter.folders.sources.list", "path": "v1/{+parent}/sources", "flatPath": "v1/folders/{foldersId}/sources", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^folders/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "The value returned by the last `ListSourcesResponse`; indicates that this is a continuation of a prior `ListSources` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListSourcesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all sources belonging to an organization." } }, "resources": { "findings": { "methods": { "group": { "id": "securitycenter.folders.sources.findings.group", "path": "v1/{+parent}/findings:group", "flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings:group", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Name of the source to groupBy. Its format is \"organizations/[organization_id]/sources/[source_id]\", folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]. To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or projects/{project_id}/sources/-", "pattern": "^folders/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GroupFindingsRequest" }, "response": { "$ref": "GroupFindingsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings" }, "list": { "id": "securitycenter.folders.sources.findings.list", "path": "v1/{+parent}/findings", "flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the source the findings belong to. Its format is \"organizations/[organization_id]/sources/[source_id], folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]\". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or projects/{projects_id}/sources/-", "pattern": "^folders/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "Expression that defines the filter to apply across findings. The expression is a list of one 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. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = \"2019-06-10T16:07:18-07:00\"` `event_time = 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : \"\"` * resource: * resource.name: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.display_name: `=`, `:`", "location": "query", "type": "string" }, "orderBy": { "description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,source_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,source_properties.a_property\" and \" name desc , source_properties.a_property \" are equivalent. The following fields are supported: name parent state category resource_name event_time source_properties security_marks.marks", "location": "query", "type": "string" }, "readTime": { "description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", "location": "query", "type": "string", "format": "google-datetime" }, "compareDuration": { "description": "When compare_duration is set, the ListFindingsResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time.", "location": "query", "type": "string", "format": "google-duration" }, "fieldMask": { "description": "A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all fields.", "location": "query", "type": "string", "format": "google-fieldmask" }, "pageToken": { "description": "The value returned by the last `ListFindingsResponse`; indicates that this is a continuation of a prior `ListFindings` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListFindingsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings" }, "setState": { "id": "securitycenter.folders.sources.findings.setState", "path": "v1/{+name}:setState", "flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}:setState", "httpMethod": "POST", "parameters": { "name": { "description": "Required. 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}\".", "pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SetFindingStateRequest" }, "response": { "$ref": "Finding" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the state of a finding." }, "setMute": { "id": "securitycenter.folders.sources.findings.setMute", "path": "v1/{+name}:setMute", "flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}:setMute", "httpMethod": "POST", "parameters": { "name": { "description": "Required. 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}\".", "pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SetMuteRequest" }, "response": { "$ref": "Finding" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the mute state of a finding." }, "patch": { "id": "securitycenter.folders.sources.findings.patch", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}", "httpMethod": "PATCH", "parameters": { "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}\".", "pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the finding resource. This field should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all mutable fields and replacing source_properties. Individual source_properties can be added/updated by using \"source_properties.\" in the field mask.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Finding" }, "response": { "$ref": "Finding" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates or updates a finding. The corresponding source must exist for a finding creation to succeed." }, "updateSecurityMarks": { "id": "securitycenter.folders.sources.findings.updateSecurityMarks", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}/securityMarks", "httpMethod": "PATCH", "parameters": { "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\".", "pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+/securityMarks$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", "location": "query", "type": "string", "format": "google-fieldmask" }, "startTime": { "description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", "location": "query", "type": "string", "format": "google-datetime" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SecurityMarks" }, "response": { "$ref": "SecurityMarks" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates security marks." } }, "resources": { "externalSystems": { "methods": { "patch": { "id": "securitycenter.folders.sources.findings.externalSystems.patch", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/sources/{sourcesId}/findings/{findingsId}/externalSystems/{externalSystemsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"", "pattern": "^folders/[^/]+/sources/[^/]+/findings/[^/]+/externalSystems/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the external system resource. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1ExternalSystem" }, "response": { "$ref": "GoogleCloudSecuritycenterV1ExternalSystem" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates external system. This is for a given finding." } } } } } } }, "eventThreatDetectionSettings": { "methods": { "validateCustomModule": { "id": "securitycenter.folders.eventThreatDetectionSettings.validateCustomModule", "path": "v1/{+parent}:validateCustomModule", "flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings:validateCustomModule", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the parent to validate the Custom Module under. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^folders/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "ValidateEventThreatDetectionCustomModuleRequest" }, "response": { "$ref": "ValidateEventThreatDetectionCustomModuleResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Validates the given Event Threat Detection custom module." } }, "resources": { "customModules": { "methods": { "create": { "id": "securitycenter.folders.eventThreatDetectionSettings.customModules.create", "path": "v1/{+parent}/customModules", "flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The new custom module's parent. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^folders/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "EventThreatDetectionCustomModule" }, "response": { "$ref": "EventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default." }, "delete": { "id": "securitycenter.folders.eventThreatDetectionSettings.customModules.delete", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules/{customModulesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the custom module to delete. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", "pattern": "^folders/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules." }, "get": { "id": "securitycenter.folders.eventThreatDetectionSettings.customModules.get", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules/{customModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the custom module to get. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", "pattern": "^folders/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "EventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets an Event Threat Detection custom module." }, "listDescendant": { "id": "securitycenter.folders.eventThreatDetectionSettings.customModules.listDescendant", "path": "v1/{+parent}/customModules:listDescendant", "flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules:listDescendant", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the parent to list custom modules under. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^folders/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "A page token, received from a previous `ListDescendantEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDescendantEventThreatDetectionCustomModules` must match the call that provided the page token.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListDescendantEventThreatDetectionCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants." }, "list": { "id": "securitycenter.folders.eventThreatDetectionSettings.customModules.list", "path": "v1/{+parent}/customModules", "flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the parent to list custom modules under. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^folders/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "A page token, received from a previous `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventThreatDetectionCustomModules` must match the call that provided the page token.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEventThreatDetectionCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors." }, "patch": { "id": "securitycenter.folders.eventThreatDetectionSettings.customModules.patch", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/customModules/{customModulesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", "pattern": "^folders/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "EventThreatDetectionCustomModule" }, "response": { "$ref": "EventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed." } } }, "effectiveCustomModules": { "methods": { "get": { "id": "securitycenter.folders.eventThreatDetectionSettings.effectiveCustomModules.get", "path": "v1/{+name}", "flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/effectiveCustomModules/{effectiveCustomModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The resource name of the effective Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}\".", "pattern": "^folders/[^/]+/eventThreatDetectionSettings/effectiveCustomModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "EffectiveEventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets an effective Event Threat Detection custom module at the given level." }, "list": { "id": "securitycenter.folders.eventThreatDetectionSettings.effectiveCustomModules.list", "path": "v1/{+parent}/effectiveCustomModules", "flatPath": "v1/folders/{foldersId}/eventThreatDetectionSettings/effectiveCustomModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the parent to list custom modules for. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^folders/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "A page token, received from a previous `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEffectiveEventThreatDetectionCustomModules` must match the call that provided the page token.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEffectiveEventThreatDetectionCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors." } } } } } } }, "projects": { "resources": { "findings": { "methods": { "bulkMute": { "id": "securitycenter.projects.findings.bulkMute", "path": "v1/{+parent}/findings:bulkMute", "flatPath": "v1/projects/{projectsId}/findings:bulkMute", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The parent, at which bulk action needs to be applied. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "BulkMuteFindingsRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done." } } }, "securityHealthAnalyticsSettings": { "resources": { "customModules": { "methods": { "create": { "id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.create", "path": "v1/{+parent}/customModules", "flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new custom module's parent. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "response": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default." }, "delete": { "id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.delete", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the custom module to delete. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules." }, "get": { "id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.get", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Retrieves a SecurityHealthAnalyticsCustomModule." }, "listDescendant": { "id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.listDescendant", "path": "v1/{+parent}/customModules:listDescendant", "flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules:listDescendant", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list descendant custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value returned by the last call indicating a continuation", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListDescendantSecurityHealthAnalyticsCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants." }, "list": { "id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.list", "path": "v1/{+parent}/customModules", "flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value returned by the last call indicating a continuation", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListSecurityHealthAnalyticsCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors." }, "simulate": { "id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.simulate", "path": "v1/{+parent}/customModules:simulate", "flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules:simulate", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [Relative Resource Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) Example: `organizations/{organization_id}`", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "SimulateSecurityHealthAnalyticsCustomModuleRequest" }, "response": { "$ref": "SimulateSecurityHealthAnalyticsCustomModuleResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Simulates a given SecurityHealthAnalyticsCustomModule and Resource." }, "patch": { "id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.patch", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Immutable. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. The only fields that can be updated are `enablement_state` and `custom_config`. If empty or set to the wildcard value `*`, both `enablement_state` and `custom_config` are updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "response": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name and custom config of a module is supported on resident modules only." } } }, "effectiveCustomModules": { "methods": { "get": { "id": "securitycenter.projects.securityHealthAnalyticsSettings.effectiveCustomModules.get", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/effectiveCustomModules/{effectiveCustomModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the effective custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\"", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings/effectiveCustomModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Retrieves an EffectiveSecurityHealthAnalyticsCustomModule." }, "list": { "id": "securitycenter.projects.securityHealthAnalyticsSettings.effectiveCustomModules.list", "path": "v1/{+parent}/effectiveCustomModules", "flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/effectiveCustomModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list effective custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value returned by the last call indicating a continuation", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEffectiveSecurityHealthAnalyticsCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors." } } } } }, "muteConfigs": { "methods": { "create": { "id": "securitycenter.projects.muteConfigs.create", "path": "v1/{+parent}/muteConfigs", "flatPath": "v1/projects/{projectsId}/muteConfigs", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" }, "muteConfigId": { "description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a mute config." }, "delete": { "id": "securitycenter.projects.muteConfigs.delete", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/muteConfigs/{muteConfigsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^projects/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an existing mute config." }, "get": { "id": "securitycenter.projects.muteConfigs.get", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/muteConfigs/{muteConfigsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^projects/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a mute config." }, "list": { "id": "securitycenter.projects.muteConfigs.list", "path": "v1/{+parent}/muteConfigs", "flatPath": "v1/projects/{projectsId}/muteConfigs", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListMuteConfigsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists mute configs." }, "patch": { "id": "securitycenter.projects.muteConfigs.patch", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/muteConfigs/{muteConfigsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "pattern": "^projects/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a mute config." } } }, "notificationConfigs": { "methods": { "create": { "id": "securitycenter.projects.notificationConfigs.create", "path": "v1/{+parent}/notificationConfigs", "flatPath": "v1/projects/{projectsId}/notificationConfigs", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new notification config's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" }, "configId": { "description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "NotificationConfig" }, "response": { "$ref": "NotificationConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a notification config." }, "delete": { "id": "securitycenter.projects.notificationConfigs.delete", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/notificationConfigs/{notificationConfigsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the notification config to delete. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", "pattern": "^projects/[^/]+/notificationConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes a notification config." }, "get": { "id": "securitycenter.projects.notificationConfigs.get", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/notificationConfigs/{notificationConfigsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the notification config to get. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", "pattern": "^projects/[^/]+/notificationConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "NotificationConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a notification config." }, "list": { "id": "securitycenter.projects.notificationConfigs.list", "path": "v1/{+parent}/notificationConfigs", "flatPath": "v1/projects/{projectsId}/notificationConfigs", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The name of the parent in which to list the notification configurations. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "The value returned by the last `ListNotificationConfigsResponse`; indicates that this is a continuation of a prior `ListNotificationConfigs` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListNotificationConfigsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists notification configs." }, "patch": { "id": "securitycenter.projects.notificationConfigs.patch", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/notificationConfigs/{notificationConfigsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/notificationConfigs/notify_public_bucket\", \"folders/{folder_id}/notificationConfigs/notify_public_bucket\", or \"projects/{project_id}/notificationConfigs/notify_public_bucket\".", "pattern": "^projects/[^/]+/notificationConfigs/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the notification config. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "NotificationConfig" }, "response": { "$ref": "NotificationConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": " Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter" } } }, "locations": { "resources": { "muteConfigs": { "methods": { "delete": { "id": "securitycenter.projects.locations.muteConfigs.delete", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an existing mute config." }, "get": { "id": "securitycenter.projects.locations.muteConfigs.get", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a mute config." }, "patch": { "id": "securitycenter.projects.locations.muteConfigs.patch", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a mute config." } } } } }, "bigQueryExports": { "methods": { "get": { "id": "securitycenter.projects.bigQueryExports.get", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/bigQueryExports/{bigQueryExportsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", "pattern": "^projects/[^/]+/bigQueryExports/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a BigQuery export." }, "create": { "id": "securitycenter.projects.bigQueryExports.create", "path": "v1/{+parent}/bigQueryExports", "flatPath": "v1/projects/{projectsId}/bigQueryExports", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The name of the parent resource of the new BigQuery export. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" }, "bigQueryExportId": { "description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "response": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a BigQuery export." }, "delete": { "id": "securitycenter.projects.bigQueryExports.delete", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/bigQueryExports/{bigQueryExportsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", "pattern": "^projects/[^/]+/bigQueryExports/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an existing BigQuery export." }, "patch": { "id": "securitycenter.projects.bigQueryExports.patch", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/bigQueryExports/{bigQueryExportsId}", "httpMethod": "PATCH", "parameters": { "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}/bigQueryExports/{export_id}\" Example format: \"projects/{project_id}/bigQueryExports/{export_id}\" This field is provided in responses, and is ignored when provided in create requests.", "pattern": "^projects/[^/]+/bigQueryExports/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "response": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a BigQuery export." }, "list": { "id": "securitycenter.projects.bigQueryExports.list", "path": "v1/{+parent}/bigQueryExports", "flatPath": "v1/projects/{projectsId}/bigQueryExports", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent, which owns the collection of BigQuery exports. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `ListBigQueryExports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBigQueryExports` must match the call that provided the page token.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListBigQueryExportsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned." } } }, "assets": { "methods": { "group": { "id": "securitycenter.projects.assets.group", "path": "v1/{+parent}/assets:group", "flatPath": "v1/projects/{projectsId}/assets:group", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The name of the parent to group the assets by. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GroupAssetsRequest" }, "response": { "$ref": "GroupAssetsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "deprecated": true, "description": "Filters an organization's assets and groups them by their specified properties." }, "list": { "id": "securitycenter.projects.assets.list", "path": "v1/{+parent}/assets", "flatPath": "v1/projects/{projectsId}/assets", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "Expression that defines the filter to apply across assets. 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 Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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. The following are the allowed field and operator combinations: * name: `=` * update_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = \"2019-06-10T16:07:18-07:00\"` `update_time = 1560208038000` * create_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = \"2019-06-10T16:07:18-07:00\"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : \"\"`", "location": "query", "type": "string" }, "orderBy": { "description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,resource_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,resource_properties.a_property\" and \" name desc , resource_properties.a_property \" are equivalent. The following fields are supported: name update_time resource_properties security_marks.marks security_center_properties.resource_name security_center_properties.resource_display_name security_center_properties.resource_parent security_center_properties.resource_parent_display_name security_center_properties.resource_project security_center_properties.resource_project_display_name security_center_properties.resource_type", "location": "query", "type": "string" }, "readTime": { "description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", "location": "query", "type": "string", "format": "google-datetime" }, "compareDuration": { "description": "When compare_duration is set, the ListAssetsResult's \"state_change\" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state_change\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present at the start of compare_duration, but present at read_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at read_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all assets present at read_time.", "location": "query", "type": "string", "format": "google-duration" }, "fieldMask": { "description": "A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.", "location": "query", "type": "string", "format": "google-fieldmask" }, "pageToken": { "description": "The value returned by the last `ListAssetsResponse`; indicates that this is a continuation of a prior `ListAssets` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListAssetsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "deprecated": true, "description": "Lists an organization's assets." }, "updateSecurityMarks": { "id": "securitycenter.projects.assets.updateSecurityMarks", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/assets/{assetsId}/securityMarks", "httpMethod": "PATCH", "parameters": { "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\".", "pattern": "^projects/[^/]+/assets/[^/]+/securityMarks$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", "location": "query", "type": "string", "format": "google-fieldmask" }, "startTime": { "description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", "location": "query", "type": "string", "format": "google-datetime" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SecurityMarks" }, "response": { "$ref": "SecurityMarks" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates security marks." } } }, "sources": { "methods": { "list": { "id": "securitycenter.projects.sources.list", "path": "v1/{+parent}/sources", "flatPath": "v1/projects/{projectsId}/sources", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^projects/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "The value returned by the last `ListSourcesResponse`; indicates that this is a continuation of a prior `ListSources` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListSourcesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all sources belonging to an organization." } }, "resources": { "findings": { "methods": { "group": { "id": "securitycenter.projects.sources.findings.group", "path": "v1/{+parent}/findings:group", "flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings:group", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Name of the source to groupBy. Its format is \"organizations/[organization_id]/sources/[source_id]\", folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]. To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or projects/{project_id}/sources/-", "pattern": "^projects/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GroupFindingsRequest" }, "response": { "$ref": "GroupFindingsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings" }, "list": { "id": "securitycenter.projects.sources.findings.list", "path": "v1/{+parent}/findings", "flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the source the findings belong to. Its format is \"organizations/[organization_id]/sources/[source_id], folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]\". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or projects/{projects_id}/sources/-", "pattern": "^projects/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "Expression that defines the filter to apply across findings. The expression is a list of one 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. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = \"2019-06-10T16:07:18-07:00\"` `event_time = 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : \"\"` * resource: * resource.name: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.display_name: `=`, `:`", "location": "query", "type": "string" }, "orderBy": { "description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,source_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,source_properties.a_property\" and \" name desc , source_properties.a_property \" are equivalent. The following fields are supported: name parent state category resource_name event_time source_properties security_marks.marks", "location": "query", "type": "string" }, "readTime": { "description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", "location": "query", "type": "string", "format": "google-datetime" }, "compareDuration": { "description": "When compare_duration is set, the ListFindingsResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time.", "location": "query", "type": "string", "format": "google-duration" }, "fieldMask": { "description": "A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all fields.", "location": "query", "type": "string", "format": "google-fieldmask" }, "pageToken": { "description": "The value returned by the last `ListFindingsResponse`; indicates that this is a continuation of a prior `ListFindings` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListFindingsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings" }, "setState": { "id": "securitycenter.projects.sources.findings.setState", "path": "v1/{+name}:setState", "flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}:setState", "httpMethod": "POST", "parameters": { "name": { "description": "Required. 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}\".", "pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SetFindingStateRequest" }, "response": { "$ref": "Finding" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the state of a finding." }, "setMute": { "id": "securitycenter.projects.sources.findings.setMute", "path": "v1/{+name}:setMute", "flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}:setMute", "httpMethod": "POST", "parameters": { "name": { "description": "Required. 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}\".", "pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SetMuteRequest" }, "response": { "$ref": "Finding" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the mute state of a finding." }, "patch": { "id": "securitycenter.projects.sources.findings.patch", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}", "httpMethod": "PATCH", "parameters": { "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}\".", "pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the finding resource. This field should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all mutable fields and replacing source_properties. Individual source_properties can be added/updated by using \"source_properties.\" in the field mask.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Finding" }, "response": { "$ref": "Finding" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates or updates a finding. The corresponding source must exist for a finding creation to succeed." }, "updateSecurityMarks": { "id": "securitycenter.projects.sources.findings.updateSecurityMarks", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}/securityMarks", "httpMethod": "PATCH", "parameters": { "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\".", "pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+/securityMarks$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", "location": "query", "type": "string", "format": "google-fieldmask" }, "startTime": { "description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", "location": "query", "type": "string", "format": "google-datetime" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SecurityMarks" }, "response": { "$ref": "SecurityMarks" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates security marks." } }, "resources": { "externalSystems": { "methods": { "patch": { "id": "securitycenter.projects.sources.findings.externalSystems.patch", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/sources/{sourcesId}/findings/{findingsId}/externalSystems/{externalSystemsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"", "pattern": "^projects/[^/]+/sources/[^/]+/findings/[^/]+/externalSystems/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the external system resource. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1ExternalSystem" }, "response": { "$ref": "GoogleCloudSecuritycenterV1ExternalSystem" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates external system. This is for a given finding." } } } } } } }, "eventThreatDetectionSettings": { "methods": { "validateCustomModule": { "id": "securitycenter.projects.eventThreatDetectionSettings.validateCustomModule", "path": "v1/{+parent}:validateCustomModule", "flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings:validateCustomModule", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the parent to validate the Custom Module under. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^projects/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "ValidateEventThreatDetectionCustomModuleRequest" }, "response": { "$ref": "ValidateEventThreatDetectionCustomModuleResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Validates the given Event Threat Detection custom module." } }, "resources": { "customModules": { "methods": { "create": { "id": "securitycenter.projects.eventThreatDetectionSettings.customModules.create", "path": "v1/{+parent}/customModules", "flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The new custom module's parent. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^projects/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "EventThreatDetectionCustomModule" }, "response": { "$ref": "EventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default." }, "delete": { "id": "securitycenter.projects.eventThreatDetectionSettings.customModules.delete", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules/{customModulesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the custom module to delete. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", "pattern": "^projects/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules." }, "get": { "id": "securitycenter.projects.eventThreatDetectionSettings.customModules.get", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules/{customModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the custom module to get. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", "pattern": "^projects/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "EventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets an Event Threat Detection custom module." }, "listDescendant": { "id": "securitycenter.projects.eventThreatDetectionSettings.customModules.listDescendant", "path": "v1/{+parent}/customModules:listDescendant", "flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules:listDescendant", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the parent to list custom modules under. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^projects/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "A page token, received from a previous `ListDescendantEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDescendantEventThreatDetectionCustomModules` must match the call that provided the page token.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListDescendantEventThreatDetectionCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants." }, "list": { "id": "securitycenter.projects.eventThreatDetectionSettings.customModules.list", "path": "v1/{+parent}/customModules", "flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the parent to list custom modules under. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^projects/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "A page token, received from a previous `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventThreatDetectionCustomModules` must match the call that provided the page token.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEventThreatDetectionCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors." }, "patch": { "id": "securitycenter.projects.eventThreatDetectionSettings.customModules.patch", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/customModules/{customModulesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", "pattern": "^projects/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "EventThreatDetectionCustomModule" }, "response": { "$ref": "EventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed." } } }, "effectiveCustomModules": { "methods": { "get": { "id": "securitycenter.projects.eventThreatDetectionSettings.effectiveCustomModules.get", "path": "v1/{+name}", "flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/effectiveCustomModules/{effectiveCustomModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The resource name of the effective Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}\".", "pattern": "^projects/[^/]+/eventThreatDetectionSettings/effectiveCustomModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "EffectiveEventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets an effective Event Threat Detection custom module at the given level." }, "list": { "id": "securitycenter.projects.eventThreatDetectionSettings.effectiveCustomModules.list", "path": "v1/{+parent}/effectiveCustomModules", "flatPath": "v1/projects/{projectsId}/eventThreatDetectionSettings/effectiveCustomModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the parent to list custom modules for. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^projects/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "A page token, received from a previous `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEffectiveEventThreatDetectionCustomModules` must match the call that provided the page token.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEffectiveEventThreatDetectionCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors." } } } } } } }, "organizations": { "methods": { "getOrganizationSettings": { "id": "securitycenter.organizations.getOrganizationSettings", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/organizationSettings", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the organization to get organization settings for. Its format is \"organizations/[organization_id]/organizationSettings\".", "pattern": "^organizations/[^/]+/organizationSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "OrganizationSettings" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets the settings for an organization." }, "updateOrganizationSettings": { "id": "securitycenter.organizations.updateOrganizationSettings", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/organizationSettings", "httpMethod": "PATCH", "parameters": { "name": { "description": "The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/organizationSettings\".", "pattern": "^organizations/[^/]+/organizationSettings$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the settings resource. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "OrganizationSettings" }, "response": { "$ref": "OrganizationSettings" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates an organization's settings." } }, "resources": { "operations": { "methods": { "list": { "id": "securitycenter.organizations.operations.list", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/operations", "httpMethod": "GET", "parameters": { "name": { "description": "The name of the operation's parent resource.", "pattern": "^organizations/[^/]+/operations$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "The standard list filter.", "location": "query", "type": "string" }, "pageSize": { "description": "The standard list page size.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The standard list page token.", "location": "query", "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "ListOperationsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`." }, "get": { "id": "securitycenter.organizations.operations.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/operations/{operationsId}", "httpMethod": "GET", "parameters": { "name": { "description": "The name of the operation resource.", "pattern": "^organizations/[^/]+/operations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service." }, "delete": { "id": "securitycenter.organizations.operations.delete", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/operations/{operationsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "The name of the operation resource to be deleted.", "pattern": "^organizations/[^/]+/operations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`." }, "cancel": { "id": "securitycenter.organizations.operations.cancel", "path": "v1/{+name}:cancel", "flatPath": "v1/organizations/{organizationsId}/operations/{operationsId}:cancel", "httpMethod": "POST", "parameters": { "name": { "description": "The name of the operation resource to be cancelled.", "pattern": "^organizations/[^/]+/operations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`." } } }, "findings": { "methods": { "bulkMute": { "id": "securitycenter.organizations.findings.bulkMute", "path": "v1/{+parent}/findings:bulkMute", "flatPath": "v1/organizations/{organizationsId}/findings:bulkMute", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The parent, at which bulk action needs to be applied. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "BulkMuteFindingsRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an organization, folder or project. The findings matched by the filter will be muted after the LRO is done." } } }, "securityHealthAnalyticsSettings": { "resources": { "customModules": { "methods": { "create": { "id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.create", "path": "v1/{+parent}/customModules", "flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new custom module's parent. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "response": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default." }, "delete": { "id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.delete", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the custom module to delete. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. This method is only supported for resident custom modules." }, "get": { "id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\"", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Retrieves a SecurityHealthAnalyticsCustomModule." }, "listDescendant": { "id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.listDescendant", "path": "v1/{+parent}/customModules:listDescendant", "flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules:listDescendant", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list descendant custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value returned by the last call indicating a continuation", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListDescendantSecurityHealthAnalyticsCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants." }, "list": { "id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.list", "path": "v1/{+parent}/customModules", "flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value returned by the last call indicating a continuation", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListSecurityHealthAnalyticsCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors." }, "simulate": { "id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.simulate", "path": "v1/{+parent}/customModules:simulate", "flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules:simulate", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see [Relative Resource Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) Example: `organizations/{organization_id}`", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "SimulateSecurityHealthAnalyticsCustomModuleRequest" }, "response": { "$ref": "SimulateSecurityHealthAnalyticsCustomModuleResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Simulates a given SecurityHealthAnalyticsCustomModule and Resource." }, "patch": { "id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.patch", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules/{customModulesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Immutable. The resource name of the custom module. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}\" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits.", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. The only fields that can be updated are `enablement_state` and `custom_config`. If empty or set to the wildcard value `*`, both `enablement_state` and `custom_config` are updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "response": { "$ref": "GoogleCloudSecuritycenterV1SecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. Updating the enablement state is supported on both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name and custom config of a module is supported on resident modules only." } } }, "effectiveCustomModules": { "methods": { "get": { "id": "securitycenter.organizations.securityHealthAnalyticsSettings.effectiveCustomModules.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/effectiveCustomModules/{effectiveCustomModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the effective custom module to get. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", \"folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\", or \"projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}\"", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings/effectiveCustomModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Retrieves an EffectiveSecurityHealthAnalyticsCustomModule." }, "list": { "id": "securitycenter.organizations.securityHealthAnalyticsSettings.effectiveCustomModules.list", "path": "v1/{+parent}/effectiveCustomModules", "flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/effectiveCustomModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list effective custom modules. Its format is \"organizations/{organization}/securityHealthAnalyticsSettings\", \"folders/{folder}/securityHealthAnalyticsSettings\", or \"projects/{project}/securityHealthAnalyticsSettings\"", "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "The value returned by the last call indicating a continuation", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEffectiveSecurityHealthAnalyticsCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors." } } } } }, "sources": { "methods": { "create": { "id": "securitycenter.organizations.sources.create", "path": "v1/{+parent}/sources", "flatPath": "v1/organizations/{organizationsId}/sources", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new source's parent. Its format should be \"organizations/[organization_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Source" }, "response": { "$ref": "Source" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a source." }, "getIamPolicy": { "id": "securitycenter.organizations.sources.getIamPolicy", "path": "v1/{+resource}:getIamPolicy", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}:getIamPolicy", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^organizations/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "GetIamPolicyRequest" }, "response": { "$ref": "Policy" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets the access control policy on the specified Source." }, "get": { "id": "securitycenter.organizations.sources.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Relative resource name of the source. Its format is \"organizations/[organization_id]/source/[source_id]\".", "pattern": "^organizations/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Source" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a source." }, "list": { "id": "securitycenter.organizations.sources.list", "path": "v1/{+parent}/sources", "flatPath": "v1/organizations/{organizationsId}/sources", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Resource name of the parent of sources to list. Its format should be \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "The value returned by the last `ListSourcesResponse`; indicates that this is a continuation of a prior `ListSources` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListSourcesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all sources belonging to an organization." }, "setIamPolicy": { "id": "securitycenter.organizations.sources.setIamPolicy", "path": "v1/{+resource}:setIamPolicy", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}:setIamPolicy", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^organizations/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "SetIamPolicyRequest" }, "response": { "$ref": "Policy" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Sets the access control policy on the specified Source." }, "testIamPermissions": { "id": "securitycenter.organizations.sources.testIamPermissions", "path": "v1/{+resource}:testIamPermissions", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}:testIamPermissions", "httpMethod": "POST", "parameters": { "resource": { "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", "pattern": "^organizations/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "resource" ], "request": { "$ref": "TestIamPermissionsRequest" }, "response": { "$ref": "TestIamPermissionsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Returns the permissions that a caller has on the specified source." }, "patch": { "id": "securitycenter.organizations.sources.patch", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/sources/{source_id}\"", "pattern": "^organizations/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the source resource. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Source" }, "response": { "$ref": "Source" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a source." } }, "resources": { "findings": { "methods": { "create": { "id": "securitycenter.organizations.sources.findings.create", "path": "v1/{+parent}/findings", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new finding's parent. Its format should be \"organizations/[organization_id]/sources/[source_id]\".", "pattern": "^organizations/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" }, "findingId": { "description": "Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "Finding" }, "response": { "$ref": "Finding" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a finding. The corresponding source must exist for finding creation to succeed." }, "group": { "id": "securitycenter.organizations.sources.findings.group", "path": "v1/{+parent}/findings:group", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings:group", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Name of the source to groupBy. Its format is \"organizations/[organization_id]/sources/[source_id]\", folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]. To groupBy across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or projects/{project_id}/sources/-", "pattern": "^organizations/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GroupFindingsRequest" }, "response": { "$ref": "GroupFindingsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Filters an organization or source's findings and groups them by their specified properties. To group across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings, /v1/projects/{project_id}/sources/-/findings" }, "list": { "id": "securitycenter.organizations.sources.findings.list", "path": "v1/{+parent}/findings", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the source the findings belong to. Its format is \"organizations/[organization_id]/sources/[source_id], folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]\". To list across all sources provide a source_id of `-`. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or projects/{projects_id}/sources/-", "pattern": "^organizations/[^/]+/sources/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "Expression that defines the filter to apply across findings. The expression is a list of one 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. Examples include: * name * source_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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. The following field and operator combinations are supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=`, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `event_time = \"2019-06-10T16:07:18-07:00\"` `event_time = 1560208038000` * severity: `=`, `:` * workflow_state: `=`, `:` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` For example, `source_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `source_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-source_properties.my_property : \"\"` * resource: * resource.name: `=`, `:` * resource.parent_name: `=`, `:` * resource.parent_display_name: `=`, `:` * resource.project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.type: `=`, `:` * resource.folders.resource_folder: `=`, `:` * resource.display_name: `=`, `:`", "location": "query", "type": "string" }, "orderBy": { "description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,source_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,source_properties.a_property\" and \" name desc , source_properties.a_property \" are equivalent. The following fields are supported: name parent state category resource_name event_time source_properties security_marks.marks", "location": "query", "type": "string" }, "readTime": { "description": "Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", "location": "query", "type": "string", "format": "google-datetime" }, "compareDuration": { "description": "When compare_duration is set, the ListFindingsResult's \"state_change\" attribute is updated to indicate whether the finding had its state changed, the finding's state remained unchanged, or if the finding was added in any state during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the finding is made inactive and then active again. Possible \"state_change\" values when compare_duration is specified: * \"CHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration, but changed its state at read_time. * \"UNCHANGED\": indicates that the finding was present and matched the given filter at the start of compare_duration and did not change state at read_time. * \"ADDED\": indicates that the finding did not match the given filter or was not present at the start of compare_duration, but was present at read_time. * \"REMOVED\": indicates that the finding was present and matched the filter at the start of compare_duration, but did not match the filter at read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all findings present at read_time.", "location": "query", "type": "string", "format": "google-duration" }, "fieldMask": { "description": "A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all fields.", "location": "query", "type": "string", "format": "google-fieldmask" }, "pageToken": { "description": "The value returned by the last `ListFindingsResponse`; indicates that this is a continuation of a prior `ListFindings` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListFindingsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists an organization or source's findings. To list across all sources provide a `-` as the source id. Example: /v1/organizations/{organization_id}/sources/-/findings" }, "setState": { "id": "securitycenter.organizations.sources.findings.setState", "path": "v1/{+name}:setState", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}:setState", "httpMethod": "POST", "parameters": { "name": { "description": "Required. 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}\".", "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SetFindingStateRequest" }, "response": { "$ref": "Finding" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the state of a finding." }, "setMute": { "id": "securitycenter.organizations.sources.findings.setMute", "path": "v1/{+name}:setMute", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}:setMute", "httpMethod": "POST", "parameters": { "name": { "description": "Required. 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}\".", "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SetMuteRequest" }, "response": { "$ref": "Finding" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the mute state of a finding." }, "patch": { "id": "securitycenter.organizations.sources.findings.patch", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}", "httpMethod": "PATCH", "parameters": { "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}\".", "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the finding resource. This field should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all mutable fields and replacing source_properties. Individual source_properties can be added/updated by using \"source_properties.\" in the field mask.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "Finding" }, "response": { "$ref": "Finding" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates or updates a finding. The corresponding source must exist for a finding creation to succeed." }, "updateSecurityMarks": { "id": "securitycenter.organizations.sources.findings.updateSecurityMarks", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}/securityMarks", "httpMethod": "PATCH", "parameters": { "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\".", "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+/securityMarks$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", "location": "query", "type": "string", "format": "google-fieldmask" }, "startTime": { "description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", "location": "query", "type": "string", "format": "google-datetime" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SecurityMarks" }, "response": { "$ref": "SecurityMarks" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates security marks." } }, "resources": { "externalSystems": { "methods": { "patch": { "id": "securitycenter.organizations.sources.findings.externalSystems.patch", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/sources/{sourcesId}/findings/{findingsId}/externalSystems/{externalSystemsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Full resource name of the external system, for example: \"organizations/1234/sources/5678/findings/123456/externalSystems/jira\", \"folders/1234/sources/5678/findings/123456/externalSystems/jira\", \"projects/1234/sources/5678/findings/123456/externalSystems/jira\"", "pattern": "^organizations/[^/]+/sources/[^/]+/findings/[^/]+/externalSystems/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the external system resource. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1ExternalSystem" }, "response": { "$ref": "GoogleCloudSecuritycenterV1ExternalSystem" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates external system. This is for a given finding." } } } } } } }, "muteConfigs": { "methods": { "create": { "id": "securitycenter.organizations.muteConfigs.create", "path": "v1/{+parent}/muteConfigs", "flatPath": "v1/organizations/{organizationsId}/muteConfigs", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" }, "muteConfigId": { "description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a mute config." }, "delete": { "id": "securitycenter.organizations.muteConfigs.delete", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an existing mute config." }, "get": { "id": "securitycenter.organizations.muteConfigs.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a mute config." }, "list": { "id": "securitycenter.organizations.muteConfigs.list", "path": "v1/{+parent}/muteConfigs", "flatPath": "v1/organizations/{organizationsId}/muteConfigs", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListMuteConfigsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists mute configs." }, "patch": { "id": "securitycenter.organizations.muteConfigs.patch", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a mute config." } } }, "notificationConfigs": { "methods": { "create": { "id": "securitycenter.organizations.notificationConfigs.create", "path": "v1/{+parent}/notificationConfigs", "flatPath": "v1/organizations/{organizationsId}/notificationConfigs", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new notification config's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" }, "configId": { "description": "Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "NotificationConfig" }, "response": { "$ref": "NotificationConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a notification config." }, "delete": { "id": "securitycenter.organizations.notificationConfigs.delete", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/notificationConfigs/{notificationConfigsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the notification config to delete. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", "pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes a notification config." }, "get": { "id": "securitycenter.organizations.notificationConfigs.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/notificationConfigs/{notificationConfigsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the notification config to get. Its format is \"organizations/[organization_id]/notificationConfigs/[config_id]\", \"folders/[folder_id]/notificationConfigs/[config_id]\", or \"projects/[project_id]/notificationConfigs/[config_id]\".", "pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "NotificationConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a notification config." }, "list": { "id": "securitycenter.organizations.notificationConfigs.list", "path": "v1/{+parent}/notificationConfigs", "flatPath": "v1/organizations/{organizationsId}/notificationConfigs", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The name of the parent in which to list the notification configurations. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "The value returned by the last `ListNotificationConfigsResponse`; indicates that this is a continuation of a prior `ListNotificationConfigs` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListNotificationConfigsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists notification configs." }, "patch": { "id": "securitycenter.organizations.notificationConfigs.patch", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/notificationConfigs/{notificationConfigsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: \"organizations/{organization_id}/notificationConfigs/notify_public_bucket\", \"folders/{folder_id}/notificationConfigs/notify_public_bucket\", or \"projects/{project_id}/notificationConfigs/notify_public_bucket\".", "pattern": "^organizations/[^/]+/notificationConfigs/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the notification config. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "NotificationConfig" }, "response": { "$ref": "NotificationConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": " Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter" } } }, "locations": { "resources": { "muteConfigs": { "methods": { "delete": { "id": "securitycenter.organizations.locations.muteConfigs.delete", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an existing mute config." }, "get": { "id": "securitycenter.organizations.locations.muteConfigs.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a mute config." }, "patch": { "id": "securitycenter.organizations.locations.muteConfigs.patch", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "response": { "$ref": "GoogleCloudSecuritycenterV1MuteConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a mute config." } } } } }, "simulations": { "methods": { "get": { "id": "securitycenter.organizations.simulations.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The organization name or simulation name of this simulation Valid format: \"organizations/{organization}/simulations/latest\" \"organizations/{organization}/simulations/{simulation}\"", "pattern": "^organizations/[^/]+/simulations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Simulation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Get the simulation by name or the latest simulation for the given organization." } }, "resources": { "valuedResources": { "methods": { "get": { "id": "securitycenter.organizations.simulations.valuedResources.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/valuedResources/{valuedResourcesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The name of this valued resource Valid format: \"organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}\"", "pattern": "^organizations/[^/]+/simulations/[^/]+/valuedResources/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "ValuedResource" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Get the valued resource by name" }, "list": { "id": "securitycenter.organizations.simulations.valuedResources.list", "path": "v1/{+parent}/valuedResources", "flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/valuedResources", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list valued resources. Valid formats: \"organizations/{organization}\", \"organizations/{organization}/simulations/{simulation}\" \"organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}\"", "pattern": "^organizations/[^/]+/simulations/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "The filter expression that filters the valued resources in the response. Supported fields: * `resource_value` supports = * `resource_type` supports =", "location": "query", "type": "string" }, "pageToken": { "description": "The value returned by the last `ListValuedResourcesResponse`; indicates that this is a continuation of a prior `ListValuedResources` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "orderBy": { "description": "Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a \" ASC\" or a \" DESC\" suffix, respectively; for example: `exposed_score DESC`.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListValuedResourcesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists the valued resources for a set of simulation results and filter." } }, "resources": { "attackPaths": { "methods": { "list": { "id": "securitycenter.organizations.simulations.valuedResources.attackPaths.list", "path": "v1/{+parent}/attackPaths", "flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/valuedResources/{valuedResourcesId}/attackPaths", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list attack paths. Valid formats: \"organizations/{organization}\", \"organizations/{organization}/simulations/{simulation}\" \"organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}\" \"organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}\"", "pattern": "^organizations/[^/]+/simulations/[^/]+/valuedResources/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports =", "location": "query", "type": "string" }, "pageToken": { "description": "The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListAttackPathsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists the attack paths for a set of simulation results or valued resources and filter." } } } } }, "attackExposureResults": { "resources": { "valuedResources": { "methods": { "list": { "id": "securitycenter.organizations.simulations.attackExposureResults.valuedResources.list", "path": "v1/{+parent}/valuedResources", "flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/attackExposureResults/{attackExposureResultsId}/valuedResources", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list valued resources. Valid formats: \"organizations/{organization}\", \"organizations/{organization}/simulations/{simulation}\" \"organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}\"", "pattern": "^organizations/[^/]+/simulations/[^/]+/attackExposureResults/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "The filter expression that filters the valued resources in the response. Supported fields: * `resource_value` supports = * `resource_type` supports =", "location": "query", "type": "string" }, "pageToken": { "description": "The value returned by the last `ListValuedResourcesResponse`; indicates that this is a continuation of a prior `ListValuedResources` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" }, "orderBy": { "description": "Optional. The fields by which to order the valued resources response. Supported fields: * `exposed_score` * `resource_value` * `resource_type` * `resource` * `display_name` Values should be a comma separated list of fields. For example: `exposed_score,resource_value`. The default sorting order is descending. To specify ascending or descending order for a field, append a \" ASC\" or a \" DESC\" suffix, respectively; for example: `exposed_score DESC`.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListValuedResourcesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists the valued resources for a set of simulation results and filter." } } }, "attackPaths": { "methods": { "list": { "id": "securitycenter.organizations.simulations.attackExposureResults.attackPaths.list", "path": "v1/{+parent}/attackPaths", "flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/attackExposureResults/{attackExposureResultsId}/attackPaths", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list attack paths. Valid formats: \"organizations/{organization}\", \"organizations/{organization}/simulations/{simulation}\" \"organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}\" \"organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}\"", "pattern": "^organizations/[^/]+/simulations/[^/]+/attackExposureResults/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports =", "location": "query", "type": "string" }, "pageToken": { "description": "The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListAttackPathsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists the attack paths for a set of simulation results or valued resources and filter." } } } } }, "attackPaths": { "methods": { "list": { "id": "securitycenter.organizations.simulations.attackPaths.list", "path": "v1/{+parent}/attackPaths", "flatPath": "v1/organizations/{organizationsId}/simulations/{simulationsId}/attackPaths", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of parent to list attack paths. Valid formats: \"organizations/{organization}\", \"organizations/{organization}/simulations/{simulation}\" \"organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}\" \"organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}\"", "pattern": "^organizations/[^/]+/simulations/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "The filter expression that filters the attack path in the response. Supported fields: * `valued_resources` supports =", "location": "query", "type": "string" }, "pageToken": { "description": "The value returned by the last `ListAttackPathsResponse`; indicates that this is a continuation of a prior `ListAttackPaths` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListAttackPathsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists the attack paths for a set of simulation results or valued resources and filter." } } } } }, "bigQueryExports": { "methods": { "get": { "id": "securitycenter.organizations.bigQueryExports.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/bigQueryExports/{bigQueryExportsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the BigQuery export to retrieve. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", "pattern": "^organizations/[^/]+/bigQueryExports/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a BigQuery export." }, "create": { "id": "securitycenter.organizations.bigQueryExports.create", "path": "v1/{+parent}/bigQueryExports", "flatPath": "v1/organizations/{organizationsId}/bigQueryExports", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The name of the parent resource of the new BigQuery export. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" }, "bigQueryExportId": { "description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "response": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a BigQuery export." }, "delete": { "id": "securitycenter.organizations.bigQueryExports.delete", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/bigQueryExports/{bigQueryExportsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. The name of the BigQuery export to delete. Its format is organizations/{organization}/bigQueryExports/{export_id}, folders/{folder}/bigQueryExports/{export_id}, or projects/{project}/bigQueryExports/{export_id}", "pattern": "^organizations/[^/]+/bigQueryExports/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes an existing BigQuery export." }, "patch": { "id": "securitycenter.organizations.bigQueryExports.patch", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/bigQueryExports/{bigQueryExportsId}", "httpMethod": "PATCH", "parameters": { "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}/bigQueryExports/{export_id}\" Example format: \"projects/{project_id}/bigQueryExports/{export_id}\" This field is provided in responses, and is ignored when provided in create requests.", "pattern": "^organizations/[^/]+/bigQueryExports/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "response": { "$ref": "GoogleCloudSecuritycenterV1BigQueryExport" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates a BigQuery export." }, "list": { "id": "securitycenter.organizations.bigQueryExports.list", "path": "v1/{+parent}/bigQueryExports", "flatPath": "v1/organizations/{organizationsId}/bigQueryExports", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent, which owns the collection of BigQuery exports. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `ListBigQueryExports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBigQueryExports` must match the call that provided the page token.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListBigQueryExportsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists BigQuery exports. Note that when requesting BigQuery exports at a given level all exports under that level are also returned e.g. if requesting BigQuery exports under a folder, then all BigQuery exports immediately under the folder plus the ones created under the projects within the folder are returned." } } }, "assets": { "methods": { "group": { "id": "securitycenter.organizations.assets.group", "path": "v1/{+parent}/assets:group", "flatPath": "v1/organizations/{organizationsId}/assets:group", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The name of the parent to group the assets by. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "GroupAssetsRequest" }, "response": { "$ref": "GroupAssetsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "deprecated": true, "description": "Filters an organization's assets and groups them by their specified properties." }, "list": { "id": "securitycenter.organizations.assets.list", "path": "v1/{+parent}/assets", "flatPath": "v1/organizations/{organizationsId}/assets", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The name of the parent resource that contains the assets. The value that you can specify on parent depends on the method in which you specify parent. You can specify one of the following values: \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" }, "filter": { "description": "Expression that defines the filter to apply across assets. 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 Asset resource. Examples include: * name * security_center_properties.resource_name * resource_properties.a_property * security_marks.marks.marka The supported operators are: * `=` for all value types. * `\u003e`, `\u003c`, `\u003e=`, `\u003c=` 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. The following are the allowed field and operator combinations: * name: `=` * update_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = \"2019-06-10T16:07:18-07:00\"` `update_time = 1560208038000` * create_time: `=`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = \"2019-06-10T16:07:18-07:00\"` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `\u003e`, `\u003c`, `\u003e=`, `\u003c=` * security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`, `:` * security_center_properties.resource_display_name: `=`, `:` * security_center_properties.resource_type: `=`, `:` * security_center_properties.resource_parent: `=`, `:` * security_center_properties.resource_parent_display_name: `=`, `:` * security_center_properties.resource_project: `=`, `:` * security_center_properties.resource_project_display_name: `=`, `:` * security_center_properties.resource_owners: `=`, `:` For example, `resource_properties.size = 100` is a valid filter string. Use a partial match on the empty string to filter based on a property existing: `resource_properties.my_property : \"\"` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : \"\"`", "location": "query", "type": "string" }, "orderBy": { "description": "Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: \"name,resource_properties.a_property\". The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be appended to the field name. For example: \"name desc,resource_properties.a_property\". Redundant space characters in the syntax are insignificant. \"name desc,resource_properties.a_property\" and \" name desc , resource_properties.a_property \" are equivalent. The following fields are supported: name update_time resource_properties security_marks.marks security_center_properties.resource_name security_center_properties.resource_display_name security_center_properties.resource_parent security_center_properties.resource_parent_display_name security_center_properties.resource_project security_center_properties.resource_project_display_name security_center_properties.resource_type", "location": "query", "type": "string" }, "readTime": { "description": "Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of NOW.", "location": "query", "type": "string", "format": "google-datetime" }, "compareDuration": { "description": "When compare_duration is set, the ListAssetsResult's \"state_change\" attribute is updated to indicate whether the asset was added, removed, or remained present during the compare_duration period of time that precedes the read_time. This is the time between (read_time - compare_duration) and read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. Possible \"state_change\" values when compare_duration is specified: * \"ADDED\": indicates that the asset was not present at the start of compare_duration, but present at read_time. * \"REMOVED\": indicates that the asset was present at the start of compare_duration, but not present at read_time. * \"ACTIVE\": indicates that the asset was present at both the start and the end of the time period defined by compare_duration and read_time. If compare_duration is not specified, then the only possible state_change is \"UNUSED\", which will be the state_change set for all assets present at read_time.", "location": "query", "type": "string", "format": "google-duration" }, "fieldMask": { "description": "A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.", "location": "query", "type": "string", "format": "google-fieldmask" }, "pageToken": { "description": "The value returned by the last `ListAssetsResponse`; indicates that this is a continuation of a prior `ListAssets` call, and that the system should return the next page of data.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListAssetsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "deprecated": true, "description": "Lists an organization's assets." }, "runDiscovery": { "id": "securitycenter.organizations.assets.runDiscovery", "path": "v1/{+parent}/assets:runDiscovery", "flatPath": "v1/organizations/{organizationsId}/assets:runDiscovery", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Name of the organization to run asset discovery for. Its format is \"organizations/[organization_id]\".", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "RunAssetDiscoveryRequest" }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "deprecated": true, "description": "Runs asset discovery. The discovery is tracked with a long-running operation. This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error." }, "updateSecurityMarks": { "id": "securitycenter.organizations.assets.updateSecurityMarks", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/assets/{assetsId}/securityMarks", "httpMethod": "PATCH", "parameters": { "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\".", "pattern": "^organizations/[^/]+/assets/[^/]+/securityMarks$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. If empty or set to \"marks\", all marks will be replaced. Individual marks can be updated using \"marks.\".", "location": "query", "type": "string", "format": "google-fieldmask" }, "startTime": { "description": "The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to the SecurityMarks that are active immediately preceding this time. Must be earlier or equal to the server time.", "location": "query", "type": "string", "format": "google-datetime" } }, "parameterOrder": [ "name" ], "request": { "$ref": "SecurityMarks" }, "response": { "$ref": "SecurityMarks" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates security marks." } } }, "eventThreatDetectionSettings": { "methods": { "validateCustomModule": { "id": "securitycenter.organizations.eventThreatDetectionSettings.validateCustomModule", "path": "v1/{+parent}:validateCustomModule", "flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings:validateCustomModule", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the parent to validate the Custom Module under. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "ValidateEventThreatDetectionCustomModuleRequest" }, "response": { "$ref": "ValidateEventThreatDetectionCustomModuleResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Validates the given Event Threat Detection custom module." } }, "resources": { "customModules": { "methods": { "create": { "id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.create", "path": "v1/{+parent}/customModules", "flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. The new custom module's parent. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "EventThreatDetectionCustomModule" }, "response": { "$ref": "EventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default." }, "delete": { "id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.delete", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules/{customModulesId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the custom module to delete. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", "pattern": "^organizations/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes the specified Event Threat Detection custom module and all of its descendants in the Resource Manager hierarchy. This method is only supported for resident custom modules." }, "get": { "id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules/{customModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the custom module to get. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", "pattern": "^organizations/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "EventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets an Event Threat Detection custom module." }, "listDescendant": { "id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.listDescendant", "path": "v1/{+parent}/customModules:listDescendant", "flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules:listDescendant", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the parent to list custom modules under. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "A page token, received from a previous `ListDescendantEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDescendantEventThreatDetectionCustomModules` must match the call that provided the page token.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListDescendantEventThreatDetectionCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants." }, "list": { "id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.list", "path": "v1/{+parent}/customModules", "flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the parent to list custom modules under. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "A page token, received from a previous `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventThreatDetectionCustomModules` must match the call that provided the page token.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEventThreatDetectionCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all Event Threat Detection custom modules for the given Resource Manager parent. This includes resident modules defined at the scope of the parent along with modules inherited from ancestors." }, "patch": { "id": "securitycenter.organizations.eventThreatDetectionSettings.customModules.patch", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/customModules/{customModulesId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Immutable. The resource name of the Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/customModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/customModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/customModules/{module}\".", "pattern": "^organizations/[^/]+/eventThreatDetectionSettings/customModules/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "EventThreatDetectionCustomModule" }, "response": { "$ref": "EventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates the Event Threat Detection custom module with the given name based on the given update mask. Updating the enablement state is supported for both resident and inherited modules (though resident modules cannot have an enablement state of \"inherited\"). Updating the display name or configuration of a module is supported for resident modules only. The type of a module cannot be changed." } } }, "effectiveCustomModules": { "methods": { "get": { "id": "securitycenter.organizations.eventThreatDetectionSettings.effectiveCustomModules.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/effectiveCustomModules/{effectiveCustomModulesId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. The resource name of the effective Event Threat Detection custom module. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}\". * \"folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}\". * \"projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}\".", "pattern": "^organizations/[^/]+/eventThreatDetectionSettings/effectiveCustomModules/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "EffectiveEventThreatDetectionCustomModule" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets an effective Event Threat Detection custom module at the given level." }, "list": { "id": "securitycenter.organizations.eventThreatDetectionSettings.effectiveCustomModules.list", "path": "v1/{+parent}/effectiveCustomModules", "flatPath": "v1/organizations/{organizationsId}/eventThreatDetectionSettings/effectiveCustomModules", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. Name of the parent to list custom modules for. Its format is: * \"organizations/{organization}/eventThreatDetectionSettings\". * \"folders/{folder}/eventThreatDetectionSettings\". * \"projects/{project}/eventThreatDetectionSettings\".", "pattern": "^organizations/[^/]+/eventThreatDetectionSettings$", "location": "path", "required": true, "type": "string" }, "pageToken": { "description": "A page token, received from a previous `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEffectiveEventThreatDetectionCustomModules` must match the call that provided the page token.", "location": "query", "type": "string" }, "pageSize": { "description": "The maximum number of modules to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListEffectiveEventThreatDetectionCustomModulesResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors." } } } } }, "resourceValueConfigs": { "methods": { "batchCreate": { "id": "securitycenter.organizations.resourceValueConfigs.batchCreate", "path": "v1/{+parent}/resourceValueConfigs:batchCreate", "flatPath": "v1/organizations/{organizationsId}/resourceValueConfigs:batchCreate", "httpMethod": "POST", "parameters": { "parent": { "description": "Required. Resource name of the new ResourceValueConfig's parent. The parent field in the CreateResourceValueConfigRequest messages must either be empty or match this field.", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "parent" ], "request": { "$ref": "BatchCreateResourceValueConfigsRequest" }, "response": { "$ref": "BatchCreateResourceValueConfigsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Creates a ResourceValueConfig for an organization. Maps user's tags to difference resource values for use by the attack path simulation." }, "delete": { "id": "securitycenter.organizations.resourceValueConfigs.delete", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/resourceValueConfigs/{resourceValueConfigsId}", "httpMethod": "DELETE", "parameters": { "name": { "description": "Required. Name of the ResourceValueConfig to delete", "pattern": "^organizations/[^/]+/resourceValueConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "Empty" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Deletes a ResourceValueConfig." }, "get": { "id": "securitycenter.organizations.resourceValueConfigs.get", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/resourceValueConfigs/{resourceValueConfigsId}", "httpMethod": "GET", "parameters": { "name": { "description": "Required. Name of the resource value config to retrieve. Its format is organizations/{organization}/resourceValueConfigs/{config_id}.", "pattern": "^organizations/[^/]+/resourceValueConfigs/[^/]+$", "location": "path", "required": true, "type": "string" } }, "parameterOrder": [ "name" ], "response": { "$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Gets a ResourceValueConfig." }, "list": { "id": "securitycenter.organizations.resourceValueConfigs.list", "path": "v1/{+parent}/resourceValueConfigs", "flatPath": "v1/organizations/{organizationsId}/resourceValueConfigs", "httpMethod": "GET", "parameters": { "parent": { "description": "Required. The parent, which owns the collection of resource value configs. Its format is \"organizations/[organization_id]\"", "pattern": "^organizations/[^/]+$", "location": "path", "required": true, "type": "string" }, "pageSize": { "description": "The number of results to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", "location": "query", "type": "integer", "format": "int32" }, "pageToken": { "description": "A page token, received from a previous `ListResourceValueConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListResourceValueConfigs` must match the call that provided the page token. page_size can be specified, and the new page_size will be used.", "location": "query", "type": "string" } }, "parameterOrder": [ "parent" ], "response": { "$ref": "ListResourceValueConfigsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Lists all ResourceValueConfigs." }, "patch": { "id": "securitycenter.organizations.resourceValueConfigs.patch", "path": "v1/{+name}", "flatPath": "v1/organizations/{organizationsId}/resourceValueConfigs/{resourceValueConfigsId}", "httpMethod": "PATCH", "parameters": { "name": { "description": "Name for the resource value config", "pattern": "^organizations/[^/]+/resourceValueConfigs/[^/]+$", "location": "path", "required": true, "type": "string" }, "updateMask": { "description": "The list of fields to be updated. If empty all mutable fields will be updated.", "location": "query", "type": "string", "format": "google-fieldmask" } }, "parameterOrder": [ "name" ], "request": { "$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" }, "response": { "$ref": "GoogleCloudSecuritycenterV1ResourceValueConfig" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ], "description": "Updates an existing ResourceValueConfigs with new rules." } } } } } }, "version": "v1", "title": "Security Command Center API", "fullyEncodeReservedExpansion": true, "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", "parameters": { "access_token": { "type": "string", "description": "OAuth access token.", "location": "query" }, "alt": { "type": "string", "description": "Data format for response.", "default": "json", "enum": [ "json", "media", "proto" ], "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], "location": "query" }, "callback": { "type": "string", "description": "JSONP", "location": "query" }, "fields": { "type": "string", "description": "Selector specifying which fields to include in a partial response.", "location": "query" }, "key": { "type": "string", "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" }, "oauth_token": { "type": "string", "description": "OAuth 2.0 token for the current user.", "location": "query" }, "prettyPrint": { "type": "boolean", "description": "Returns response with indentations and line breaks.", "default": "true", "location": "query" }, "quotaUser": { "type": "string", "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.", "location": "query" }, "upload_protocol": { "type": "string", "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "location": "query" }, "uploadType": { "type": "string", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "location": "query" }, "$.xgafv": { "type": "string", "description": "V1 error format.", "enum": [ "1", "2" ], "enumDescriptions": [ "v1 error format", "v2 error format" ], "location": "query" } }, "baseUrl": "https://securitycenter.googleapis.com/", "name": "securitycenter", "canonicalName": "Security Command Center" }