Build a Security Policy based on a Container’s Behavior

Builds a new custom security policy based on the recorded activities of the container.

Input ParametersInput Parameters

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.

SampleSample

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?

success Thank you! We're glad to hear that this topic was useful.
success We appreciate your feedback. We'll work to make this topic better for you in the future.