securityposture/v1 library
Security Posture API - v1
Defines, assesses, and monitors the overall status of your security in Google Cloud. You can use security postures to evaluate your current cloud security against defined benchmarks and help maintain the level of security that your organization requires.
For more information, see cloud.google.com/security-command-center
Create an instance of SecurityPostureApi to access these resources:
Classes
- AssetDetails
- Details of a Cloud Asset Inventory asset that caused a violation.
- ComplianceStandard
- Information about a compliance standard that the policy helps enforce.
- Constraint
- Metadata for a constraint in a Policy.
- CreateIaCValidationReportRequest
- Request message for CreateIaCValidationReport.
- CustomConfig
- A custom module configuration for Security Health Analytics.
- CustomOutputSpec
- Definitions of custom source properties that can appear in findings.
- ExtractPostureRequest
- Request message for ExtractPosture.
- GoogleCloudSecuritypostureV1CustomConstraint
- A custom, user-defined constraint.
- GoogleCloudSecuritypostureV1PolicyRule
- A rule that defines the allowed and denied values for an organization policy constraint.
- GoogleCloudSecuritypostureV1PolicyRuleStringValues
- The allowed and denied values for a list constraint.
- IaC
- Details of an infrastructure-as-code (IaC) configuration.
- IaCValidationReport
- Details of an infrastructure-as-code (IaC) validation report.
- ListLocationsResponse
- The response message for Locations.ListLocations.
- ListOperationsResponse
- The response message for Operations.ListOperations.
- ListPostureDeploymentsResponse
- Response message for ListPostureDeployments.
- ListPostureRevisionsResponse
- Response message for ListPostureRevisions.
- ListPosturesResponse
- Response message for ListPostures.
- ListPostureTemplatesResponse
- Response message for ListPostureTemplates.
- ListReportsResponse
- Response message for ListReports.
- Operation
- This resource represents a long-running operation that is the result of a network API call.
- OrganizationsLocationsOperationsResource
- OrganizationsLocationsPostureDeploymentsResource
- OrganizationsLocationsPosturesResource
- OrganizationsLocationsPostureTemplatesResource
- OrganizationsLocationsReportsResource
- OrganizationsLocationsResource
- OrganizationsResource
- OrgPolicyConstraint
- A predefined organization policy constraint.
- OrgPolicyConstraintCustom
- A custom organization policy constraint.
- Policy
- The details of a policy, including the constraints that it includes.
- PolicyDetails
- Details of a policy that was violated.
- PolicySet
- A group of one or more Policy resources.
- Posture
- The details of a posture.
- PostureDeployment
- Details for a Posture deployment on an organization, folder, or project.
- PostureDetails
- Details of a posture deployment.
- PostureTemplate
- The details of a posture template.
- ProjectsLocationsResource
- ProjectsResource
- Property
- A name-value pair used as a custom source property.
- Report
- Details of a report.
- ResourceSelector
- A selector for the resource types to run the detector on.
- ResourceTypes
- Set multiple resource types for one policy, for example: resourceTypes: included: - compute.googleapis.com/Instance - compute.googleapis.com/Disk Constraint definition contains an empty resource type in order to support multiple resource types in the policy.
- SecurityHealthAnalyticsCustomModule
- A custom module for Security Health Analytics.
- SecurityHealthAnalyticsModule
- A built-in detector for Security Health Analytics.
- SecurityPostureApi
- Defines, assesses, and monitors the overall status of your security in Google Cloud.
- Violation
- Details of a violation.
Typedefs
- CancelOperationRequest = $Empty
- The request message for Operations.CancelOperation.
- Empty = $Empty
- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
- Expr = $Expr
- Represents a textual expression in the Common Expression Language (CEL) syntax.
- Location = $Location00
- A resource that represents a Google Cloud location.
- Status = $Status00
-
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.