Software Secure Workload
Activity Configure

Get Status of a Policy Discovery Run

Query the status of an automatic policy discovery run in the workspace.

GET /openapi/v1/applications/{application_id}/adm_run_status

Parameters: The request URL contains the following parameters

Name

Type

Description

application_id

string

The unique identifier for the workspace.

Response object: Returns an object with the following attributes:

Name

Type

Description

status

string

Status of the automatic policy discovery run. Values: PENDING, COMPLETE, or FAILED

Sample python code


  application_id = '5d02b493755f0237a3d6e078'
  resp = restclient.get('/applications/%s/adm_run_status' % application_id)