Package types (1.3.1)

API documentation for securitycenter_v1beta1.types package.

Classes

Asset

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.

CreateFindingRequest

Request message for creating a finding. .. attribute:: parent

Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".

:type: str

CreateSourceRequest

Request message for creating a source. .. attribute:: parent

Required. Resource name of the new source's parent. Its format should be "organizations/[organization_id]".

:type: str

Finding

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.

GetOrganizationSettingsRequest

Request message for getting organization settings. .. attribute:: name

Required. Name of the organization to get organization settings for. Its format is "organizations/[organization_id]/organizationSettings".

:type: str

GetSourceRequest

Request message for getting a source. .. attribute:: name

Required. Relative resource name of the source. Its format is "organizations/[organization_id]/source/[source_id]".

:type: str

GroupAssetsRequest

Request message for grouping by assets. .. attribute:: parent

Required. Name of the organization to groupBy. Its format is "organizations/[organization_id]".

:type: str

GroupAssetsResponse

Response message for grouping by assets. .. attribute:: group_by_results

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: Sequence[google.cloud.securitycenter_v1beta1.types.GroupResult]

GroupFindingsRequest

Request message for grouping by findings. .. attribute:: parent

Required. Name of the source to groupBy. Its format is "organizations/[organization_id]/sources/[source_id]". To groupBy across all sources provide a source_id of -. For example: organizations/{organization_id}/sources/-

:type: str

GroupFindingsResponse

Response message for group by findings. .. attribute:: group_by_results

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: Sequence[google.cloud.securitycenter_v1beta1.types.GroupResult]

GroupResult

Result containing the properties and count of a groupBy request.

ListAssetsRequest

Request message for listing assets. .. attribute:: parent

Required. Name of the organization assets should belong to. Its format is "organizations/[organization_id]".

:type: str

ListAssetsResponse

Response message for listing assets. .. attribute:: list_assets_results

Assets matching the list request.

:type: Sequence[google.cloud.securitycenter_v1beta1.types.ListAssetsResponse.ListAssetsResult]

ListFindingsRequest

Request message for listing findings. .. attribute:: parent

Required. Name of the source the findings belong to. Its format is "organizations/[organization_id]/sources/[source_id]". To list across all sources provide a source_id of -. For example: organizations/{organization_id}/sources/-

:type: str

ListFindingsResponse

Response message for listing findings. .. attribute:: findings

Findings matching the list request.

:type: Sequence[google.cloud.securitycenter_v1beta1.types.Finding]

ListSourcesRequest

Request message for listing sources. .. attribute:: parent

Required. Resource name of the parent of sources to list. Its format should be "organizations/[organization_id]".

:type: str

ListSourcesResponse

Response message for listing sources. .. attribute:: sources

Sources belonging to the requested parent.

:type: Sequence[google.cloud.securitycenter_v1beta1.types.Source]

OrganizationSettings

User specified settings that are attached to the Security Command Center organization.

RunAssetDiscoveryRequest

Request message for running asset discovery for an organization.

RunAssetDiscoveryResponse

Response of asset discovery run .. attribute:: state

The state of an asset discovery run.

:type: google.cloud.securitycenter_v1beta1.types.RunAssetDiscoveryResponse.State

SecurityMarks

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.

SetFindingStateRequest

Request message for updating a finding's state. .. attribute:: name

Required. The relative resource name of the finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}".

:type: str

Source

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, etc.

UpdateFindingRequest

Request message for updating or creating a finding. .. attribute:: finding

Required. The finding resource to update or create if it does not already exist. parent, security_marks, and update_time will be ignored.

In the case of creation, the finding id portion of the name must alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.

:type: google.cloud.securitycenter_v1beta1.types.Finding

UpdateOrganizationSettingsRequest

Request message for updating an organization's settings. .. attribute:: organization_settings

Required. The organization settings resource to update.

:type: google.cloud.securitycenter_v1beta1.types.OrganizationSettings

UpdateSecurityMarksRequest

Request message for updating a SecurityMarks resource. .. attribute:: security_marks

Required. The security marks resource to update.

:type: google.cloud.securitycenter_v1beta1.types.SecurityMarks

UpdateSourceRequest

Request message for updating a source. .. attribute:: source

Required. The source resource to update.

:type: google.cloud.securitycenter_v1beta1.types.Source