Assign Configuration to an Image

Assigns a specific configuration to a base image.

POST/csapi/v1.3/runtime/images/{imageSha}/configs/{configId}

Input ParametersInput Parameters

Parameter Mandatory/Optional Data Type Description

imageSha

Mandatory string

Specify the SHA value of the image for which you want to assign the CRS agent configuration.

configId

Mandatory string

Specify the ID of the configuration you want to assign to the specified image.

SampleSample

API request

    curl --location --request POST "<qualys_base_url>/csapi/v1.3/runtime/images/d6c910425801a703530b92f943575b8ea9daa520f77f96e891993f1549a27073/configs/5e7df4f14b89300001cde5cb"
--header "Authorization: Bearer <token>"       
    

Response

    
      Response code 200 
    

 

 

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.