Skip to content

Commit

Permalink
feat(securitycenter): update the api
Browse files Browse the repository at this point in the history
#### securitycenter:v1

The following keys were added:
- schemas.Finding.properties.files (Total Keys: 2)
- schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.resourceType.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.scope.type (Total Keys: 1)

#### securitycenter:v1beta1

The following keys were added:
- schemas.Finding.properties.files (Total Keys: 2)
- schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.resourceType.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.scope.type (Total Keys: 1)

#### securitycenter:v1beta2

The following keys were added:
- schemas.Finding.properties.files (Total Keys: 2)
- schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.resourceType.type (Total Keys: 1)
- schemas.GoogleCloudSecuritycenterV1ResourceValueConfig.properties.scope.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Nov 8, 2022
1 parent bf0d06a commit 1cfdc18
Show file tree
Hide file tree
Showing 6 changed files with 254 additions and 27 deletions.
54 changes: 52 additions & 2 deletions docs/dyn/securitycenter_v1.folders.sources.findings.html
Expand Up @@ -295,6 +295,16 @@ <h3>Method Details</h3>
},
},
&quot;externalUri&quot;: &quot;A String&quot;, # 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.
&quot;files&quot;: [ # File associated with the finding.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
&quot;contents&quot;: &quot;A String&quot;, # Prefix of the file contents as a JSON encoded string. (Currently only populated for Malicious Script Executed findings.)
&quot;hashedSize&quot;: &quot;A String&quot;, # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
&quot;partiallyHashed&quot;: True or False, # True when the hash covers only a prefix of the file.
&quot;path&quot;: &quot;A String&quot;, # Absolute path of the file as a JSON encoded string.
&quot;sha256&quot;: &quot;A String&quot;, # 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.
&quot;size&quot;: &quot;A String&quot;, # Size of the file in bytes.
},
],
&quot;findingClass&quot;: &quot;A String&quot;, # The class of the finding.
&quot;iamBindings&quot;: [ # Represents IAM bindings associated with the Finding.
{ # Represents a particular IAM binding, which captures a member&#x27;s role addition, removal, or state.
Expand Down Expand Up @@ -660,6 +670,16 @@ <h3>Method Details</h3>
},
},
&quot;externalUri&quot;: &quot;A String&quot;, # 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.
&quot;files&quot;: [ # File associated with the finding.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
&quot;contents&quot;: &quot;A String&quot;, # Prefix of the file contents as a JSON encoded string. (Currently only populated for Malicious Script Executed findings.)
&quot;hashedSize&quot;: &quot;A String&quot;, # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
&quot;partiallyHashed&quot;: True or False, # True when the hash covers only a prefix of the file.
&quot;path&quot;: &quot;A String&quot;, # Absolute path of the file as a JSON encoded string.
&quot;sha256&quot;: &quot;A String&quot;, # 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.
&quot;size&quot;: &quot;A String&quot;, # Size of the file in bytes.
},
],
&quot;findingClass&quot;: &quot;A String&quot;, # The class of the finding.
&quot;iamBindings&quot;: [ # Represents IAM bindings associated with the Finding.
{ # Represents a particular IAM binding, which captures a member&#x27;s role addition, removal, or state.
Expand Down Expand Up @@ -988,6 +1008,16 @@ <h3>Method Details</h3>
},
},
&quot;externalUri&quot;: &quot;A String&quot;, # 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.
&quot;files&quot;: [ # File associated with the finding.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
&quot;contents&quot;: &quot;A String&quot;, # Prefix of the file contents as a JSON encoded string. (Currently only populated for Malicious Script Executed findings.)
&quot;hashedSize&quot;: &quot;A String&quot;, # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
&quot;partiallyHashed&quot;: True or False, # True when the hash covers only a prefix of the file.
&quot;path&quot;: &quot;A String&quot;, # Absolute path of the file as a JSON encoded string.
&quot;sha256&quot;: &quot;A String&quot;, # 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.
&quot;size&quot;: &quot;A String&quot;, # Size of the file in bytes.
},
],
&quot;findingClass&quot;: &quot;A String&quot;, # The class of the finding.
&quot;iamBindings&quot;: [ # Represents IAM bindings associated with the Finding.
{ # Represents a particular IAM binding, which captures a member&#x27;s role addition, removal, or state.
Expand Down Expand Up @@ -1209,7 +1239,7 @@ <h3>Method Details</h3>
<pre>Updates the mute state of a finding.

Args:
name: string, Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/sources/{source_id}/finding/{finding_id}&quot;, &quot;folders/{folder_id}/sources/{source_id}/finding/{finding_id}&quot;, &quot;projects/{project_id}/sources/{source_id}/finding/{finding_id}&quot;. (required)
name: string, Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/sources/{source_id}/findings/{finding_id}&quot;, &quot;folders/{folder_id}/sources/{source_id}/findings/{finding_id}&quot;, &quot;projects/{project_id}/sources/{source_id}/findings/{finding_id}&quot;. (required)
body: object, The request body.
The object takes the form of:

Expand Down Expand Up @@ -1329,6 +1359,16 @@ <h3>Method Details</h3>
},
},
&quot;externalUri&quot;: &quot;A String&quot;, # 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.
&quot;files&quot;: [ # File associated with the finding.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
&quot;contents&quot;: &quot;A String&quot;, # Prefix of the file contents as a JSON encoded string. (Currently only populated for Malicious Script Executed findings.)
&quot;hashedSize&quot;: &quot;A String&quot;, # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
&quot;partiallyHashed&quot;: True or False, # True when the hash covers only a prefix of the file.
&quot;path&quot;: &quot;A String&quot;, # Absolute path of the file as a JSON encoded string.
&quot;sha256&quot;: &quot;A String&quot;, # 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.
&quot;size&quot;: &quot;A String&quot;, # Size of the file in bytes.
},
],
&quot;findingClass&quot;: &quot;A String&quot;, # The class of the finding.
&quot;iamBindings&quot;: [ # Represents IAM bindings associated with the Finding.
{ # Represents a particular IAM binding, which captures a member&#x27;s role addition, removal, or state.
Expand Down Expand Up @@ -1550,7 +1590,7 @@ <h3>Method Details</h3>
<pre>Updates the state of a finding.

Args:
name: string, Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/sources/{source_id}/finding/{finding_id}&quot;. (required)
name: string, Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/sources/{source_id}/findings/{finding_id}&quot;. (required)
body: object, The request body.
The object takes the form of:

Expand Down Expand Up @@ -1671,6 +1711,16 @@ <h3>Method Details</h3>
},
},
&quot;externalUri&quot;: &quot;A String&quot;, # 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.
&quot;files&quot;: [ # File associated with the finding.
{ # File information about the related binary/library used by an executable, or the script used by a script interpreter
&quot;contents&quot;: &quot;A String&quot;, # Prefix of the file contents as a JSON encoded string. (Currently only populated for Malicious Script Executed findings.)
&quot;hashedSize&quot;: &quot;A String&quot;, # The length in bytes of the file prefix that was hashed. If hashed_size == size, any hashes reported represent the entire file.
&quot;partiallyHashed&quot;: True or False, # True when the hash covers only a prefix of the file.
&quot;path&quot;: &quot;A String&quot;, # Absolute path of the file as a JSON encoded string.
&quot;sha256&quot;: &quot;A String&quot;, # 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.
&quot;size&quot;: &quot;A String&quot;, # Size of the file in bytes.
},
],
&quot;findingClass&quot;: &quot;A String&quot;, # The class of the finding.
&quot;iamBindings&quot;: [ # Represents IAM bindings associated with the Finding.
{ # Represents a particular IAM binding, which captures a member&#x27;s role addition, removal, or state.
Expand Down

0 comments on commit 1cfdc18

Please sign in to comment.