Skip to main content

Configuration Options

Every setting in Prisma AIRS CLI — with its CLI flag, env var, and default value.


Config Cascade

Settings resolve through a four-level cascade (highest priority wins):

  1. CLI flags
  2. Environment variables (SCAN_CONCURRENCY, DATA_DIR, etc.)
  3. Config file (~/.prisma-airs/config.json)
  4. Zod schema defaults
info

The ~ prefix in any path value is expanded to $HOME at load time.


Config File

Optional JSON file at ~/.prisma-airs/config.json. Keys use camelCase matching the Zod schema.

{
"scanConcurrency": 3,
"dataDir": "~/.prisma-airs/runs",
"defaultOutput": "json"
}

General settings

SettingCLI FlagEnv VarDefaultWhat it does
scanConcurrency--SCAN_CONCURRENCY5Parallel scan requests (1--20)
dataDir--DATA_DIR~/.prisma-airs/runsData directory
defaultOutputglobal --outputPANW_CLI_OUTPUTprettyDefault read format (pretty, table, markdown, csv, json, yaml)

Credentials and endpoint overrides

Config keyEnvironment variablePurpose
airsApiKeyPANW_AI_SEC_API_KEYScan API key
airsApiTokenPANW_AI_SEC_API_TOKENPre-obtained scan bearer token
airsApiEndpointPANW_AI_SEC_API_ENDPOINTScan API endpoint
airsNumRetriesPANW_AI_SEC_NUM_RETRIESSDK retry count, 0--5
mgmtClientIdPANW_MGMT_CLIENT_IDShared OAuth client ID
mgmtClientSecretPANW_MGMT_CLIENT_SECRETShared OAuth client secret
mgmtTsgIdPANW_MGMT_TSG_IDTenant service group ID
mgmtEndpointPANW_MGMT_ENDPOINTManagement API endpoint
mgmtTokenEndpointPANW_MGMT_TOKEN_ENDPOINTManagement OAuth endpoint
dlpEndpointPANW_DLP_ENDPOINTDLP API endpoint
redTeamDataEndpointPANW_RED_TEAM_DATA_ENDPOINTRed Team data-plane endpoint
redTeamMgmtEndpointPANW_RED_TEAM_MGMT_ENDPOINTRed Team management endpoint
redTeamTokenEndpointPANW_RED_TEAM_TOKEN_ENDPOINTRed Team OAuth endpoint
redTeamNetworkBrokerEndpointPANW_RED_TEAM_NETWORK_BROKER_ENDPOINTNetwork broker endpoint
modelSecDataEndpointPANW_MODEL_SEC_DATA_ENDPOINTModel Security data endpoint
modelSecMgmtEndpointPANW_MODEL_SEC_MGMT_ENDPOINTModel Security management endpoint
modelSecTokenEndpointPANW_MODEL_SEC_TOKEN_ENDPOINTModel Security OAuth endpoint
aiGwDataEndpointPANW_AI_GW_DATA_ENDPOINTAI Gateway data-plane endpoint
aiGwAdminEndpointPANW_AI_GW_ADMIN_ENDPOINTAI Gateway admin endpoint
aiGwTokenEndpointPANW_AI_GW_TOKEN_ENDPOINTAI Gateway OAuth endpoint

The config file location itself is overridden with PRISMA_AIRS_CONFIG_PATH; it is not a ConfigSchema key.

Concurrency tuning

scanConcurrency above 5 risks AIRS rate limiting. Increase cautiously.