Queries a list of security policies. Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:DescribePolicies |
get |
*All Resource
|
None | None |
Request syntax
GET /policies HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The list of the returned policies. The key of each entry indicates the type of the policy. The value of each entry indicates the names of the policies of the corresponding type. |
||
|
array |
The list of the names of policy templates of each type. |
||
|
string |
For more information about policies, see Predefined security policies of ACK. |
ACKNoEnvVarSecrets |
Examples
Success response
JSON format
{
"key": [
"ACKNoEnvVarSecrets"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.