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
file
required
string
format
required
string
Default: "crowd-strike"
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
[
  • {
    • "id": 0,
    • "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": "af0daaf4-983e-4703-a7ed-a10f146d6684",
    • "organization_id": 0,
    • "status": "string",
    • "source": {
      • "name": "string",
      • "type": "string"
      },
    • "created_by_user": {
      • "id": 0,
      • "firstname": "string",
      • "lastname": "string",
      • "email": "user@example.com"
      },
    • "updated_by_user": {
      • "id": 0,
      • "firstname": "string",
      • "lastname": "string",
      • "email": "user@example.com"
      },
    • "created_at": "2019-08-24T14:15:22Z",
    • "updated_at": "2019-08-24T14:15:22Z"
    }
]