Sync ACE Resources with ASMS

Enables alignment between onboarded resources (accounts) in ACE and ASMS. Currently generally available for AWS accounts and in early availability for Azure subscriptions. This action allows you to manually trigger a synchronization. This is particularly useful if there is a discrepancy in resources listings between ASMS and ACE.

This API is relevant for resources that are onboarded to both AlgoSec Security Management Suite and ASMS and ACE is connected to ASMS.

When successful, a file is created on the ASMS machine listing all changes that were synched between ACE and AFA, located in /home/afa/.fa/cloudflow-sync-status.json.

Resource Name: /api/v1/cloudflow-accounts/sync

Request Method: POST

Request cURL examples

curl -X 'POST' \

'https://localhost/afa/api/v1/cloudflow-accounts/sync' \

-H 'accept: */*' \

-d ''

Response:

Code Description
200 OK
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
423 Locked
429 Too Many Requests
500 Internal Server Error
503 Service Unavailable

Response example success 200:

"OK"

When successful, a file is created on the ASMS machine listing all changes that were synched between ACE and AFA, located in /home/afa/.fa/cloudflow-sync-status.json.

Response example failure 400 (similar for 403, 423, 429, 503):

"Bad Request"

Response example failure 401 (similar for 404, 500):

{

"error": "string", "description": "string", "fieldErrors": [ { "field": "string", "error": "string" } ] }