Update an Integration
You can update the integration details such as bucket name, bucket region, secreteKey, accessKey, storageUrl, name, resultSectionNeeded, sendVulnInfo, compressData, and many more of the NetApp Integration with Qualys.
Input ParametersInput Parameters
Parameter |
Optional/ Mandatory |
Data Type |
Description |
---|---|---|---|
Name={value} |
Mandatory | String |
Provide a unique name for the integration in the API request. The maximum length allowed for the name is 50 characters. |
integrationType={value} |
Mandatory | String |
Provide the inetgrationType as 's3-object-storage' for NetApp Integration |
accessKey={value} |
Mandatory | String |
Provide the accessKey of the NetApp bucket where the findings are to be sent |
secretKey={value} |
Mandatory | String |
Provide the secreteKey of the NetApp bucket where the findings are to be sent |
storageUrl={value} |
Mandatory | URL |
Provide the Storage URL of the NetApp bucket |
bucket={value} |
Mandatory | String |
Provide the name of the NetApp bucket to which the findings are to be sent |
region={value} |
Mandatory | String |
Provide the region on which the NetApp bucket is hosted |
sendResultSection={true|false} |
Optional | Boolean |
Set this to true to include the result section in the finding. If you want to exclude the result section, set this parameter to false. |
sendVulnInfo ={true|false} |
Optional | Boolean |
Set this to true if you need the vulnerability information. If you want to exclude the vulnerability information, set this parameter to false. |
compressData ={true|false} |
Optional | Boolean |
Set this to true to compress the data in the response. It saves on disk and network IO. If you want to exclude the compression, set this parameter to false. |
sendAlerts={true|false} |
Optional | Boolean |
Set to true to receive ProActive alert notifications. |
errorEmails=[“value1”, “value2”] |
Optional | Boolean |
When sendAlerts is set to true, provide the email list for ProActive Alert notifications. Add upto a List of maximum 5 email addresses as comma-separated values. |
API Request
"curl -X PUT
--header""Content-Type:application/json""<qualys_gateway_url> /partner-integration/vm/{integration_type}""--data""@integration.json""-H""Authorization: Bearer <token>"
“integration.json” contains the request PUT data.
Request PUT Data (integration.json)
{
"name":"<Integration_name>",
"integrationConfig":{
"integrationType":"s3-object-storage",
"accessKey":"<accesskey of the netapp bucket>",
"secretKey":"<secreteKey of the NetApp bucket>",
"storageUrl":"<storageURL of the NetApp bucket>",
"bucket":"<bucketName>",
"region":"<region>"
},
"moduleConfig":{
"sendResultSection":true,
"sendVulnInfo":true,
"compressData":true
},
"sendAlerts":true,
"errorEmails":[
"email address 1",
“email address 2”
],
"filterQuery":{
"asset":"assetId: <assetID>",
"vuln":"qid: <qId>"
}
}
Output
" "{
"message":"VM integration successfully updated."
}