From 508b676be0537466b1e842e4927edc013c28ac83 Mon Sep 17 00:00:00 2001 From: ssugandh Date: Tue, 4 Apr 2023 14:12:26 +0530 Subject: [PATCH] CWP-47251-Agentless-Error-Details --- api/_topic_map.yml | 5 +++++ .../agentless/post_agentless_errors.md | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 api/descriptions/agentless/post_agentless_errors.md diff --git a/api/_topic_map.yml b/api/_topic_map.yml index c5ac46b5f..10b3696b6 100644 --- a/api/_topic_map.yml +++ b/api/_topic_map.yml @@ -39,6 +39,11 @@ summary: Stop an Ongoing Scan description: !include ../descriptions/agentless/post_agentless_stop.md + /errors: + post: + summary: View the Error Report for Agentless Scan + description: !include ../descriptions/agentless/post_agentless_errors.md + # # /api/v1/audits diff --git a/api/descriptions/agentless/post_agentless_errors.md b/api/descriptions/agentless/post_agentless_errors.md new file mode 100644 index 000000000..971ebdc9d --- /dev/null +++ b/api/descriptions/agentless/post_agentless_errors.md @@ -0,0 +1,16 @@ +Returns a detailed error report for agentless scan. + +**Before you begin** +Make sure that you download (use the agentless/templates API) and apply the permission templates in the supported cloud accounts: AWS, Azure, GCP, and OCI. + + +### cURL Request + +Refer to the following example cURL command: + +```bash +$ curl -k \ + -u \ + -H 'Content-Type: application/json' \ + -X POST \ + “https:///api/v/agentless/errors” \ No newline at end of file