# Method: systempolicy.getPolicy

- [HTTP request](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1beta1/systempolicy/getPolicy#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1beta1/systempolicy/getPolicy#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1beta1/systempolicy/getPolicy#body.request_body)
- [Response body](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1beta1/systempolicy/getPolicy#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1beta1/systempolicy/getPolicy#body.aspect)

Gets the current system policy in the specified location.

### HTTP request

`GET https://binaryauthorization.googleapis.com/v1beta1/{name=locations/*/policy}`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. The resource name, in the format `locations/*/policy`. Note that the system policy is not associated with a project. |

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Policy`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).