- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Lists all revisions of a single Posture.
HTTP request
GET https://securityposture.googleapis.com/v1/{name=organizations/*/locations/*/postures/*}:listRevisions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. The name of the  | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 Optional. The maximum number of posture revisions to return. The default value is  If you exceed the maximum value of  | 
| pageToken | 
 Optional. A pagination token from a previous request to list posture revisions. Provide this token to retrieve the next page of results. | 
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "revisions": [
    {
      object ( | 
| Fields | |
|---|---|
| revisions[] | 
 The list of revisions for the  | 
| nextPageToken | 
 A pagination token. To retrieve the next page of results, call the method again with this token. | 
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 name resource:
- securityposture.postures.get
For more information, see the IAM documentation.