Retrieve a paged list of Action Sets

Retrieve a paged list of Action Sets

SecuritybearerAuth
Request
path Parameters
orgID
required
integer

The ID of the target organization

query Parameters
page
integer
Default: 0

First page of data to display default: 0

limit
integer

The maximum number of results to display, between 0 and 500.

sort
Array of strings

Supported sort orders: source_name, source_type, status, updated_at, created_at, configuration_id

Items Enum: "source_name" "source_type" "status" "updated_at" "created_at" "configuration_id"
groupSort
Array of strings

Supported sort orders: asc, desc, latest_updated_at:asc, latest_updated_at:desc, source:asc, source:desc

Items Enum: "asc" "desc" "latest_updated_at:asc" "latest_updated_at:desc" "source:asc" "source:desc"
source_type:in[]
Array of strings

Filter on report source.

Items Enum: "Generic Report" "Crowdstrike" "Rapid7" "TenableIO" "Qualys"
status:not_in[]
Array of strings

Filter on status, where status is NOT in building | ready | error.

Items Enum: "building" "ready" "error"
status:in[]
Array of strings

Filter on status, where status IS in building | ready | error.

Items Enum: "building" "ready" "error"
configuration_id:equals
string <uuid>

Filter on a specific configuration ID.

configuration_id:is_set
boolean

Filter based on whether the configuration ID is set.

include_all_runs:equals
boolean

Choose whether to include all runs in the response.

Responses
200

Successful Operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

503

Service Unavailable

get/orgs/{orgID}/remediations/action-sets
Request samples
$apiKey = 'your_automox_api_key'
$headers = @{ "Authorization" = "Bearer $apiKey" }
$url = "https://console.automox.com/api/orgs/{orgID}/remediations/action-sets?limit=25&page=0&sort=updated_at:desc&status:not_in[]=error&groupBy=configuration_id&groupSort=latest_updated_at:desc&configuration_id:is_set=true&include_all_runs:equals=true"

$response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers -ContentType "application/json").Content
Response samples
application/json
{
  • "metadata": {
    • "total_pages": 3,
    • "current_page": 0,
    • "limit": 30,
    • "total_count": 50
    },
  • "data": [
    • {
      • "id": 17194,
      • "statistics": {
        • "issues": {
          • "unknown-host": {
            • "count": 78
            }
          },
        • "solutions": {
          • "patch-now": {
            • "count": 1,
            • "device_count": 1,
            • "vulnerability_count": 1
            },
          • "patch-with-worklet": {
            • "count": 96,
            • "device_count": 1,
            • "vulnerability_count": 4
            }
          }
        },
      • "configuration_id": "1ee24da5-654d-6464-bb90-4b1496b4b3a0",
      • "organization_id": 1191100,
      • "status": "ready",
      • "source": {
        • "name": "AVR Testing Config",
        • "type": "Rapid7"
        },
      • "created_by_user": {
        • "id": 901250,
        • "firstname": "Jane",
        • "lastname": "Doe",
        • "email": "janedoe@web.com"
        },
      • "created_at": "2023-07-27T10:00:53+0000",
      • "updated_at": "2023-07-27T10:02:52+0000"
      }
    ]
}