Example Assessment Scan: Shared

Related Endpoints:

This example request body configures the same scan as the Launch on Demand example, but the additional permissions object shares the scan with other users. Specifically, users from the user group Analyst Group can view individual results for the scan.

{
  "uuid": "fe23e2bf-f8db-4c90-8570-c310fe0ecd90d24bd260ef5f9e66",
  "settings": {
    "name": "northwest-region-assets",
    "text_targets": "192.0.2.1-192.0.2.255,",
    "emails": "[email protected],[email protected]"
  },
  "acls": [
    {
      "permissions": 0,
      "owner": null,
      "display_name": null,
      "name": null,
      "id": null,
      "type": "default"
    },
    {
      "permissions": 16,
      "owner": 0,
      "display_name": "Analyst Group",
      "name": "Analyst Group",
      "id": 1,
      "type": "group"
    },
    {
      "permissions": 128,
      "owner": 1,
      "display_name": "[email protected]",
      "name": "[email protected]",
      "id": 2,
      "type": "user"
    }
  ]
}

Did this page help you?