- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Creates a new Posture
.
HTTP request
POST https://securityposture.googleapis.com/v1/{parent=organizations/*/locations/*}/postures
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource name, in the format |
Query parameters
Parameters | |
---|---|
posture |
Required. An identifier for the posture. |
Request body
The request body contains an instance of Posture
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
securityposture.postures.create
For more information, see the IAM documentation.