Skip to content

Commit

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

The following keys were added:
- schemas.Finding.properties.kernelRootkit.$ref (Total Keys: 1)
- schemas.KernelRootkit (Total Keys: 11)

#### securitycenter:v1beta1

The following keys were added:
- schemas.Finding.properties.kernelRootkit.$ref (Total Keys: 1)
- schemas.KernelRootkit (Total Keys: 11)

#### securitycenter:v1beta2

The following keys were added:
- schemas.Finding.properties.kernelRootkit.$ref (Total Keys: 1)
- schemas.KernelRootkit (Total Keys: 11)
  • Loading branch information
yoshi-automation committed Dec 6, 2022
1 parent fd60e11 commit c0c746a
Show file tree
Hide file tree
Showing 35 changed files with 500 additions and 172 deletions.
4 changes: 2 additions & 2 deletions docs/dyn/securitycenter_v1.folders.assets.html
Expand Up @@ -103,7 +103,7 @@ <h3>Method Details</h3>
<pre>Filters an organization&#x27;s assets and groups them by their specified properties.

Args:
parent: string, Required. Name of the organization to groupBy. Its format is &quot;organizations/[organization_id], folders/[folder_id], or projects/[project_id]&quot;. (required)
parent: string, Required. Name of the parent to groupBy. Its format is &quot;organizations/[organization_id], folders/[folder_id], or projects/[project_id]&quot;. (required)
body: object, The request body.
The object takes the form of:

Expand Down Expand Up @@ -158,7 +158,7 @@ <h3>Method Details</h3>
<pre>Lists an organization&#x27;s assets.

Args:
parent: string, Required. Name of the organization assets should belong to. Its format is &quot;organizations/[organization_id], folders/[folder_id], or projects/[project_id]&quot;. (required)
parent: string, Required. Name of the parent assets should belong to. Its format is &quot;organizations/[organization_id], folders/[folder_id], or projects/[project_id]&quot;. (required)
compareDuration: string, When compare_duration is set, the ListAssetsResult&#x27;s &quot;state_change&quot; 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&#x27;t affect the result. For example, the results aren&#x27;t affected if the asset is removed and re-created again. Possible &quot;state_change&quot; values when compare_duration is specified: * &quot;ADDED&quot;: indicates that the asset was not present at the start of compare_duration, but present at read_time. * &quot;REMOVED&quot;: indicates that the asset was present at the start of compare_duration, but not present at read_time. * &quot;ACTIVE&quot;: 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 &quot;UNUSED&quot;, which will be the state_change set for all assets present at read_time.
fieldMask: string, A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list all fields.
filter: string, 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. * `&gt;`, `&lt;`, `&gt;=`, `&lt;=` 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: `=`, `&gt;`, `&lt;`, `&gt;=`, `&lt;=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `update_time = &quot;2019-06-10T16:07:18-07:00&quot;` `update_time = 1560208038000` * create_time: `=`, `&gt;`, `&lt;`, `&gt;=`, `&lt;=` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: `create_time = &quot;2019-06-10T16:07:18-07:00&quot;` `create_time = 1560208038000` * iam_policy.policy_blob: `=`, `:` * resource_properties: `=`, `:`, `&gt;`, `&lt;`, `&gt;=`, `&lt;=` * 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 : &quot;&quot;` Use a negated partial match on the empty string to filter based on a property not existing: `-resource_properties.my_property : &quot;&quot;`
Expand Down
20 changes: 10 additions & 10 deletions docs/dyn/securitycenter_v1.folders.notificationConfigs.html
Expand Up @@ -112,7 +112,7 @@ <h3>Method Details</h3>

{ # 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.
&quot;description&quot;: &quot;A String&quot;, # The description of the notification config (max of 1024 characters).
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;, &quot;folders/{folder_id}/notificationConfigs/notify_public_bucket&quot;, or &quot;projects/{project_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;pubsubTopic&quot;: &quot;A String&quot;, # The Pub/Sub topic to send notifications to. Its format is &quot;projects/[project_id]/topics/[topic]&quot;.
&quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account that needs &quot;pubsub.topics.publish&quot; permission to publish to the Pub/Sub topic.
&quot;streamingConfig&quot;: { # The config for streaming-based notifications, which send each event as soon as it is detected. # The config for triggering streaming-based notifications.
Expand All @@ -131,7 +131,7 @@ <h3>Method Details</h3>

{ # 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.
&quot;description&quot;: &quot;A String&quot;, # The description of the notification config (max of 1024 characters).
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;, &quot;folders/{folder_id}/notificationConfigs/notify_public_bucket&quot;, or &quot;projects/{project_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;pubsubTopic&quot;: &quot;A String&quot;, # The Pub/Sub topic to send notifications to. Its format is &quot;projects/[project_id]/topics/[topic]&quot;.
&quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account that needs &quot;pubsub.topics.publish&quot; permission to publish to the Pub/Sub topic.
&quot;streamingConfig&quot;: { # The config for streaming-based notifications, which send each event as soon as it is detected. # The config for triggering streaming-based notifications.
Expand All @@ -145,7 +145,7 @@ <h3>Method Details</h3>
<pre>Deletes a notification config.

Args:
name: string, Required. Name of the notification config to delete. Its format is &quot;organizations/[organization_id]/notificationConfigs/[config_id]&quot;. (required)
name: string, Required. Name of the notification config to delete. Its format is &quot;organizations/[organization_id]/notificationConfigs/[config_id]&quot;, &quot;folders/[folder_id]/notificationConfigs/[config_id]&quot;, or &quot;projects/[project_id]/notificationConfigs/[config_id]&quot;. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand All @@ -163,7 +163,7 @@ <h3>Method Details</h3>
<pre>Gets a notification config.

Args:
name: string, Required. Name of the notification config to get. Its format is &quot;organizations/[organization_id]/notificationConfigs/[config_id]&quot;. (required)
name: string, Required. Name of the notification config to get. Its format is &quot;organizations/[organization_id]/notificationConfigs/[config_id]&quot;, &quot;folders/[folder_id]/notificationConfigs/[config_id]&quot;, or &quot;projects/[project_id]/notificationConfigs/[config_id]&quot;. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
Expand All @@ -174,7 +174,7 @@ <h3>Method Details</h3>

{ # 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.
&quot;description&quot;: &quot;A String&quot;, # The description of the notification config (max of 1024 characters).
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;, &quot;folders/{folder_id}/notificationConfigs/notify_public_bucket&quot;, or &quot;projects/{project_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;pubsubTopic&quot;: &quot;A String&quot;, # The Pub/Sub topic to send notifications to. Its format is &quot;projects/[project_id]/topics/[topic]&quot;.
&quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account that needs &quot;pubsub.topics.publish&quot; permission to publish to the Pub/Sub topic.
&quot;streamingConfig&quot;: { # The config for streaming-based notifications, which send each event as soon as it is detected. # The config for triggering streaming-based notifications.
Expand All @@ -188,7 +188,7 @@ <h3>Method Details</h3>
<pre>Lists notification configs.

Args:
parent: string, Required. Name of the organization to list notification configs. Its format is &quot;organizations/[organization_id]&quot;, &quot;folders/[folder_id]&quot;, or &quot;projects/[project_id]&quot;. (required)
parent: string, Required. Name of the parent to list notification configs. Its format is &quot;organizations/[organization_id]&quot;, &quot;folders/[folder_id]&quot;, or &quot;projects/[project_id]&quot;. (required)
pageSize: integer, The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
pageToken: string, 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.
x__xgafv: string, V1 error format.
Expand All @@ -204,7 +204,7 @@ <h3>Method Details</h3>
&quot;notificationConfigs&quot;: [ # Notification configs belonging to the requested parent.
{ # 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.
&quot;description&quot;: &quot;A String&quot;, # The description of the notification config (max of 1024 characters).
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;, &quot;folders/{folder_id}/notificationConfigs/notify_public_bucket&quot;, or &quot;projects/{project_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;pubsubTopic&quot;: &quot;A String&quot;, # The Pub/Sub topic to send notifications to. Its format is &quot;projects/[project_id]/topics/[topic]&quot;.
&quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account that needs &quot;pubsub.topics.publish&quot; permission to publish to the Pub/Sub topic.
&quot;streamingConfig&quot;: { # The config for streaming-based notifications, which send each event as soon as it is detected. # The config for triggering streaming-based notifications.
Expand Down Expand Up @@ -234,13 +234,13 @@ <h3>Method Details</h3>
<pre> Updates a notification config. The following update fields are allowed: description, pubsub_topic, streaming_config.filter

Args:
name: string, The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;. (required)
name: string, The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;, &quot;folders/{folder_id}/notificationConfigs/notify_public_bucket&quot;, or &quot;projects/{project_id}/notificationConfigs/notify_public_bucket&quot;. (required)
body: object, The request body.
The object takes the form of:

{ # 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.
&quot;description&quot;: &quot;A String&quot;, # The description of the notification config (max of 1024 characters).
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;, &quot;folders/{folder_id}/notificationConfigs/notify_public_bucket&quot;, or &quot;projects/{project_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;pubsubTopic&quot;: &quot;A String&quot;, # The Pub/Sub topic to send notifications to. Its format is &quot;projects/[project_id]/topics/[topic]&quot;.
&quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account that needs &quot;pubsub.topics.publish&quot; permission to publish to the Pub/Sub topic.
&quot;streamingConfig&quot;: { # The config for streaming-based notifications, which send each event as soon as it is detected. # The config for triggering streaming-based notifications.
Expand All @@ -259,7 +259,7 @@ <h3>Method Details</h3>

{ # 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.
&quot;description&quot;: &quot;A String&quot;, # The description of the notification config (max of 1024 characters).
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: &quot;organizations/{organization_id}/notificationConfigs/notify_public_bucket&quot;, &quot;folders/{folder_id}/notificationConfigs/notify_public_bucket&quot;, or &quot;projects/{project_id}/notificationConfigs/notify_public_bucket&quot;.
&quot;pubsubTopic&quot;: &quot;A String&quot;, # The Pub/Sub topic to send notifications to. Its format is &quot;projects/[project_id]/topics/[topic]&quot;.
&quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The service account that needs &quot;pubsub.topics.publish&quot; permission to publish to the Pub/Sub topic.
&quot;streamingConfig&quot;: { # The config for streaming-based notifications, which send each event as soon as it is detected. # The config for triggering streaming-based notifications.
Expand Down

0 comments on commit c0c746a

Please sign in to comment.