Settings

The settings.json file is generated with each Action that is initiated on a BrazenAgent. The file will be present in the working directory when the Action is executed. Once the Action has completed, the settings.json file will be cached in the results cache alongside the results zip file.

You can import the settings by getting the contents of the file and then converting it from JSON.

Settings' Settings

Here is a sample settings file without any parameters:

{
  "runner_identity":"8c589a92-7130-425a-b98c-a9ba394a7827",
  "host":"https://portal.runway.host:443",
  "thread_id":"dee105f3-0d0e-4b96-a541-45ddbe4545f1",
  "job_id":"6faa7bee-c3a5-4b42-9849-ae852ee8ec01",
  "action_instance_id":"8b4f5b0e-37f5-4d21-9dcf-57e0352d0665",
  "repository_action_id":"bdfb6308-2221-4e73-833b-f9481a3441b9",
  "prodigal_object_id":"9941b7c2-4ab3-41dc-8654-d8cd48fb97e9",
  "prodigal_asset_name":"MobileWolf",
  "atoken":"7a0d4a3be298ea1f8145449f983efa59"
}

And the explanation for each item:

Name
Description

runner_identity

The ID of the BrazenAgent

host

The URL of the BrazenCloud portal

thread_id

The ID of the thread, which is the ID of the local version of the Job

job_id

The ID of the Job currently being executed

action_instance_id

repository_action_id

The ID of the Action being run

prodigal_object_id

The ID of the asset the BrazenAgent is associated with

prodigal_asset_name

The name of the asset the BrazenAgent is associated with

atoken

The token the BrazenAgent uses to communicate with the BrazenCloud portal

Settings with parameters

Here is what the settings.json file might look like with the parameters from the inventory:netstat example on the parameters page:

{
  "runner_identity":"8c589a92-7130-425a-b98c-a9ba394a7827",
  "host":"https://portal.runway.host:443",
  "thread_id":"dee105f3-0d0e-4b96-a541-45ddbe4545f1",
  "job_id":"6faa7bee-c3a5-4b42-9849-ae852ee8ec01",
  "action_instance_id":"8b4f5b0e-37f5-4d21-9dcf-57e0352d0665",
  "repository_action_id":"bdfb6308-2221-4e73-833b-f9481a3441b9",
  "prodigal_object_id":"9941b7c2-4ab3-41dc-8654-d8cd48fb97e9",
  "prodigal_asset_name":"MobileWolf",
  "atoken":"7a0d4a3be298ea1f8145449f983efa59",
  "Use Filter": true,
  "IP Filter": "192.168.*.*"
}

Last updated