Example Assessment Scan: Policy-based

Related Endpoints:

This example request body configures an Advanced Network scan based on a policy. This example also uses a target group, instead of listing individual targets.

{
  "uuid": "60d7d8e2-5efa-40b5-bb9b-a4d88591d95bd24bd260ef5f9e66",
  "settings": {
    "name": "eastern-region-assets",
    "policy_id": 378,
    "enabled": true,
    "starttime": "20181017T130000",
    "rrules": "FREQ=ONETIME;INTERVAL=0;BYDAY=MO",
    "timezone": "US/Eastern",
    "target_groups": [2, 8, 12],
    "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?