Register Integration

Registers an integration.

POST /partner-integration/aws/s3/pc

Input ParametersInput Parameters

Parameter

Optional/

Mandatory

Data Type

Description

bucketName={value}

Mandatory Integer

Provide the name of the AWS S3 bucket being used for integration.

bucketRegion={value}

Mandatory Integer

Provide the region where the AWS S3 bucket is located.

roleArn={value}

Mandatory Integer

Specify the ARN of the cross-account role that you created in your AWS account.

name={value}

Mandatory Integer

Provide a unique name for the integration in the API request. The maximum length allowed for the name is 50 characters.

SampleSample

API Request

"curl -H ‘Authorization":"Bearer <token>’""Content-Type:application/json""<qualys_base_url>/partner-integration/aws/s3/pc""--data""@integration.json"	  
	  

'integration.json' contains the request POST data.

Request POST Data (integration.json)

{
   "name":"AWS S3 PC integarion for quays_aa15",
   "bucketName":"qualys-pc-data",
   "bucketRegion":"ap-south-1",
   "roleArn":"arn:aws:iam::xxxxxxxxxxxx:role/aa-15-pc-aws-s3-role"
}	  
	  

Output

{
   "integrationId":5,
   "externalId":"US_POD_1-1- xxxxxxxx-xxxx-xxxx-xxxxxx-xxxxxxxxxxxxx"
}	  
	  

Related Topic

Validate Integration