Builds a new custom security policy based on the recorded activities of the container.
Parameter | Mandatory/Optional | Data Type | Description |
---|---|---|---|
containerSha |
Mandatory | string |
Specify the SHA value of the container for which you want to create a new custom security policy based on the recorded activities of the specified container. |
The container you specify must have Behavior logs present to successfully create a template policy based on the container’s behavior.
API request
curl --location --request POST "<qualys_base_url>/csapi/v1.3/runtime/containers/7113e5aa32875169d41d168a871ca17a510663a6c0ea0e3a9ba03d0eea00cff6/template"
--header "Authorization: Bearer <token>"
Response
{
"policyId": "5ede15a34b23720001a75560"
}
Was this topic helpful?