Security Posture API
Defines, assesses, and monitors the overall status of your security in Google Cloud. You can use security postures to evaluate your current cloud security…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
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.
Endpoints 15
organizations.locations.reports
- GETGets details for a Report.
/v1/:nameGets details for a Report. - POSTValidates a specified infrastructure-as-code (IaC) configuration, and creates a Report with the validation results
/v1/:parent/reports:createIaCValidationReportValidates a specified infrastructure-as-code (IaC) configuration, and creates a Report with the validation results. Only Terraform configurations are… - GETLists every Report in a given organization and location.
/v1/:parent/reports?filter=string&pageSize=0&pageToken=stringLists every Report in a given organization and location.
organizations.locations.postures
- DELETEDeletes all revisions of a Posture
/v1/:name?etag=stringDeletes all revisions of a Posture. You can only delete a posture if none of its revisions are deployed. - PATCHUpdates a revision of an existing Posture
/v1/:name?revisionId=string&updateMask=stringUpdates a revision of an existing Posture. If the posture revision that you update is currently deployed, then a new revision of the posture is created. To… - GETLists the most recent revisions of all Posture resources in a specified organization and location.
/v1/:parent/postures?filter=string&pageSize=0&pageToken=stringLists the most recent revisions of all Posture resources in a specified organization and location. - POSTCreates a new Posture.
/v1/:parent/postures?postureId=stringCreates a new Posture. - POSTExtracts existing policies from an organization, folder, or project, and applies them to another organization, folder,…
/v1/:parent/postures:extractExtracts existing policies from an organization, folder, or project, and applies them to another organization, folder, or project as a Posture. If the other… - GETLists all revisions of a single Posture.
/v1/:name:listRevisions?pageSize=0&pageToken=stringLists all revisions of a single Posture.
organizations.locations
- GETLists information about the supported locations for this service
/v1/:name/locations?extraLocationTypes=string&filter=string&pageSize=0&pageToken=stringLists information about the supported locations for this service. This method lists locations based on the resource scope provided in the…
organizations.locations.operations
- POSTStarts asynchronous cancellation on a long-running operation
/v1/:name:cancelStarts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the… - GETLists operations that match the specified filter in the request
/v1/:name/operations?filter=string&pageSize=0&pageToken=string&returnPartialSuccess=trueLists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
organizations.locations.postureDeployments
- GETLists every PostureDeployment in a project and location.
/v1/:parent/postureDeployments?filter=string&pageSize=0&pageToken=stringLists every PostureDeployment in a project and location. - POSTCreates a new PostureDeployment in a given project and location.
/v1/:parent/postureDeployments?postureDeploymentId=stringCreates a new PostureDeployment in a given project and location.
organizations.locations.postureTemplates
- GETLists every PostureTemplate in a given organization and location.
/v1/:parent/postureTemplates?filter=string&pageSize=0&pageToken=stringLists every PostureTemplate in a given organization and location.
API details
- Base URL
https://securityposture.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter - Operations
- 15 operations on 11 pathsGET 8POST 5PATCH 1DELETE 1
- Main resources
- organizations.locations.postures 6organizations.locations.reports 3organizations.locations.operations 2organizations.locations.postureDeployments 2organizations.locations 1organizations.locations.postureTemplates 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Security Posture API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Security Posture API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Gets details for a Report.” (GET /v1/:name), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Security Posture API?
Defines, assesses, and monitors the overall status of your security in Google Cloud. You can use security postures to evaluate your current cloud security… It is listed under Identity & security and has 15 endpoints.
Who publishes the Security Posture API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Security Posture API?
Requests go to https://securityposture.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Security Posture API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.
How many endpoints does the Security Posture API have?
15 operations on 11 paths (8 GET, 5 POST, 1 PATCH, 1 DELETE). The largest groups are organizations.locations.postures, organizations.locations.reports, organizations.locations.operations, organizations.locations.postureDeployments.
Is forking the Security Posture API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.