Upload a CSV file to Automox

Upload a CSV file to Automox. Maximum file size = 20,000 rows

SecuritybearerAuth
Request
path Parameters
orgID
required
integer

The organization ID of the target organization.

query Parameters
source
required
string

The source of the CSV. Acceptable values: generic | qualys | tenable | crowd-strike | rapid7

Request Body schema: multipart/form-data
required

Upload action set file with format specification

file
required
string <binary>

The action set file to upload

format
required
string
Default: "crowd-strike"

The format of the action set file

Enum: "crowd-strike" "rapid7" "tenable" "generic" "qualys"
Responses
201

Successful Operation - The response will contain a location header containing the path to the newly created action set.

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

413

The file you are trying to upload is too large.

429

Too many requests

503

Service Unavailable

post/orgs/{orgID}/remediations/action-sets/upload
Request samples
$apiKey = 'your_automox_api_key'
$headers = @{
    "Authorization" = "Bearer $apiKey"
}
$url = "https://console.automox.com/api/orgs/{orgID}/remediations/action-sets/upload"
$form = @{
    "format" = "<your desired format goes here>"
    "file" = Get-Item -Path '<the path to your file goes here>'
}
$response = (Invoke-WebRequest -Method Post -Uri $url -Headers $headers -Form $form).Content
Response samples
application/json
{
  • "summary": "Action set example",
  • "description": "Example of an action set containing vulnerability remediation statistics and configuration details",
  • "value": {
    • "id": 123456,
    • "statistics": {
      • "issues": {
        • "unknown-host": {
          • "count": 0
          }
        },
      • "solutions": {
        • "patch-now": {
          • "count": 0,
          • "device_count": 0,
          • "vulnerability_count": 0
          },
        • "patch-with-worklet": {
          • "count": 0,
          • "device_count": 0,
          • "vulnerability_count": 0
          }
        },
      • "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": "jane.doe@example.com"
        },
      • "updated_by_user": {
        • "id": 901250,
        • "firstname": "Jane",
        • "lastname": "Doe",
        • "email": "jane.doe@example.com"
        },
      • "created_at": "2023-07-27T10:00:53+0000",
      • "updated_at": "2023-07-27T10:02:52+0000"
      }
    }
}