Fortinet black logo

Version:

Version:

Version:

Version:


Table of Contents

Online Help

Get Account Severity Level

Description

Get severity level of each cloud service account.

URL

/api/v1/dashboard/cloud/account/list

Request Method: Get

Request Headers

Key

Value

Type

Description

companyId <12345> Integer Company ID in FortiCWP, can be obtained through Get Resource Map

roleId

<12345>

Long

Login user identity, can be obtained through Get Resource Map

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCWP
Content-Type application/json String  

Sample Request

Request URL

GET https://www.forticwp.com/api/v1/dashboard/cloud/account/list

Request Header

Authorization: Bearer <Authorization_Token>

companyId: 2

roleId: 36241

Content-Type: application/json

Response Variables

Name

Type

Description

serviceId String Identity to distinguish different cloud service accounts in FortiCWP
service Application Cloud service (e.g. , AWS, Google Cloud, and Azure)
severity String Severity level

Sample Response

[

{

"serviceId":"385279133563",

"service":"AWS",

"severity":"Medium Risk"

},

{

"serviceId":"@autotest.staging.forticasb.com",

"service":"GoogleCloud",

"severity":"High Risk"

},

{

"serviceId":"77383417454",

"service":"AWS",

"severity":"Medium Risk"

},

{

"serviceId":"143288111685",

"service":"AWS",

"severity":"Medium Risk"

},

{

"serviceId":"15ee8224-790c-48c6-b4c7-477e8616f71d",

"service":"Azure",

"severity":"Medium Risk"

},

]

 

 

 

Get Account Severity Level

Description

Get severity level of each cloud service account.

URL

/api/v1/dashboard/cloud/account/list

Request Method: Get

Request Headers

Key

Value

Type

Description

companyId <12345> Integer Company ID in FortiCWP, can be obtained through Get Resource Map

roleId

<12345>

Long

Login user identity, can be obtained through Get Resource Map

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCWP
Content-Type application/json String  

Sample Request

Request URL

GET https://www.forticwp.com/api/v1/dashboard/cloud/account/list

Request Header

Authorization: Bearer <Authorization_Token>

companyId: 2

roleId: 36241

Content-Type: application/json

Response Variables

Name

Type

Description

serviceId String Identity to distinguish different cloud service accounts in FortiCWP
service Application Cloud service (e.g. , AWS, Google Cloud, and Azure)
severity String Severity level

Sample Response

[

{

"serviceId":"385279133563",

"service":"AWS",

"severity":"Medium Risk"

},

{

"serviceId":"@autotest.staging.forticasb.com",

"service":"GoogleCloud",

"severity":"High Risk"

},

{

"serviceId":"77383417454",

"service":"AWS",

"severity":"Medium Risk"

},

{

"serviceId":"143288111685",

"service":"AWS",

"severity":"Medium Risk"

},

{

"serviceId":"15ee8224-790c-48c6-b4c7-477e8616f71d",

"service":"Azure",

"severity":"Medium Risk"

},

]