Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Get the status of publish last scan results to Management and Orchestration layer for a specific project.

Usage

  1. GET /projects and get details of all projects

  2. POST /sast/projects/{id}/publisher/policyFindings and publish last scan results to Management and Orchestration for a specific project.

  3. GET /sast/projects/{id}/publisher/policyFindings/status and get the status of publish last scan results to Management and Orchestration for a specific project.

URL

/cxrestapi/sast/projects/{id}/publisher/policyFindings/status

Method:

GET

Media Type (header):

Authorization: Bearer <access token value>
Content-Type: application/json;v=1.0

Parameters

Required:

id=[integer] – Unique Id of the project

Success Response:

Code: 200 OK

Error Response:

Code: 400 Bad Request

Sample Response:

{
  "project": {
    "id": 36,
    "link": {
      "rel": "self",
      "uri": "/projects/36"
    }
  },
  "scan": {
    "id": 1000007,
    "link": {
      "rel": "self",
      "uri": "/sast/scans/1000007"
    }
  },
  "status": "Finished",
  "lastSync": "2018-09-12T08:08:20.3393614Z"
}

Notes:

Retrieves the ‘publish last scan results to Management and Orchestration layer’ status for a specific project. If the request fails, it returns an error response. Management and Orchestration must be installed in order to run GET /sast/projects/{id}/publisher/policyFindings/status.






  • No labels