This URL adds a adds a cross account for a Controller.
Resource URL
POST /controller/account/<accound id>/crossaccount
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| ID allocated by the Manager for the cloud account associated with the Controller | number | Yes |
Payload Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Cross account name | string | Yes |
| Cross account ID | string | Yes |
Response Parameters
Following fields are returned in the response.
Field Name | Description | Data Type |
|---|---|---|
| Indicates if the cross account addition is successful. Value is set to Value is set to | string |
| Message if cross account addition is successful | string |
| Error message if the cross account addition is not successful | string |
| Domain in which the cross account is added | string |
| Name of the cross account that was added | string |
Example
Request
POST https://<NSM_IP>/intruvert/webservice/api/v1/cloud/controller/account/7/crossaccount
Payload
{
"name":"Finance-compartment-1",
"crossAccountId":"arn:aws:iam::97284xxxx:instance-profile/Trellix_vIPS_IAM"
}
Response
{
"success": true,
"msg": "Success",
"errMsg": null,
"domainName": null,
"data": "Finance-compartment-1"
}