Skip to content

Assessments and scan targets Since v0.2 ​

These sections define what may be scanned and how the pentest agent connects.

For the structure of the file, see Configuration file. Defaults of limits are also listed in Limits and defaults. A dash in Default means the code sets no default value (the setting is empty or off).

Assessments ​

KeyTypeDefaultAllowed values / rangeMeaningGuide page
assessobject——Group of settings: assess.Assessments
assess.pentagiobject——Group of settings: pentagi.Pentest agent
assess.pentagi.enabledboolean——Turns the feature on or off.Pentest agent
assess.pentagi.base_urlstring——https://host:port of the PentAGI serverPentest agent
assess.pentagi.ca_filestringcertificate is self-signed—ca_file and Fingerprint pin the server's certificate; at least one is required, and verification is never skipped (PentAGI's default certificate is self-signed).Pentest agent
assess.pentagi.fingerprintstring——SHA-256 of the leaf certificate, hexPentest agent
assess.pentagi.apistring——graphql (default) or restPentest agent
assess.pentagi.tokenstring——token names the stored API token (default "pentagi"); the value is never configuration.Pentest agent
assess.pentagi.providerstring——id of the agent provider catalogPentest agent
assess.pentagi.max_minutesinteger——the agent's time limit per runPentest agent
assess.pentagi.answer_minutesinteger15—answer_minutes is how long a question of the agent waits for an operator's answer before the flow is stopped (default 15).Pentest agent
assess.pentagi.idle_minutesinteger——Sets idle minutes.Pentest agent
assess.pentagi.llm_wherestring——llm_where is the operator's declaration of where PentAGI's model runs: local or cloud.Pentest agent
assess.pentagi.ackobject——Group of settings: ack.Pentest agent
assess.pentagi.ack.authorized_useboolean——authorized_use: the agent is scoped by prompt text only and may run real tools; it is used only on targets the organization owns or is authorized to test.Pentest agent
assess.pentagi.ack.cloud_opt_inboolean——cloud_opt_in: the second opt-in for llm_where cloud (prompts, tool output and target data go to that provider).Pentest agent

Scan targets ​

KeyTypeDefaultAllowed values / rangeMeaningGuide page
scan_targets[]list of object——Group of settings: scan targets.Scan targets
scan_targets[].namestring——The name that identifies this entry.Scan targets
scan_targets[].urlstring——url is the address scans start from, like https://shop.test.example/.Scan targets
scan_targets[].scope_hostslist of string——scope_hosts are the host names the scan may request.Scan targets
scan_targets[].addressstring——address is host:port to connect to instead of the URL's host (the URL's host is still sent as the host name), for a test copy reached by address.Scan targets
scan_targets[].tls_verifybooleantrue—tls_verify says whether the server's certificate is checked (default true).Scan targets
scan_targets[].evidence_levelstring——evidence_level is the most a scan may do to prove an issue: reported (default) or confirmed.Scan targets
scan_targets[].applicationstring——application links the target to one of this product's applications (optional).Scan targets
scan_targets[].allow_scanboolean——Sets allow scan.Scan targets
scan_targets[].notestring——Free-text note for operators.Scan targets
scan_targets[].health_pathstring——Sets health path.Scan targets
scan_targets[].seedsobject——Group of settings: seeds.Scan targets
scan_targets[].seeds.urlslist of string——Sets urls.Scan targets
scan_targets[].seeds.openapilist of string——Sets openapi.Scan targets
scan_targets[].seeds.graphqllist of string——Sets graphql.Scan targets
scan_targets[].seeds.openapi_fileslist of string——openapi_files are descriptions on the control node's disk, for an API that does not serve its own.Scan targets
scan_targets[].exclude_pathslist of string——Sets exclude paths.Scan targets
scan_targets[].engineslist of string——Sets engines.Scan targets
scan_targets[].authobject——Group of settings: auth.Scan targets
scan_targets[].auth.typestring——Kind of this entry.Scan targets
scan_targets[].auth.login_pathstring——Sets login path.Scan targets
scan_targets[].auth.username_fieldstring——Sets username field.Scan targets
scan_targets[].auth.password_fieldstring——Sets password field.Scan targets
scan_targets[].auth.usernamestring——Sets username.Scan targets
scan_targets[].auth.token_fieldstring——Sets token field.Scan targets
scan_targets[].auth.fieldslist of string——Sets fields.Scan targets
scan_targets[].auth.cookieslist of string——Cookie names the setting covers.Scan targets
scan_targets[].auth.headerstring——Name of the header.Scan targets
scan_targets[].auth.check_pathstring——Sets check path.Scan targets
scan_targets[].limitsobject——Group of settings: limits.Scan targets
scan_targets[].limits.profilestring——Sets profile.Scan targets
scan_targets[].limits.rateinteger——Sets rate.Scan targets
scan_targets[].limits.concurrencyinteger——Sets concurrency.Scan targets
scan_targets[].limits.requestsinteger——Sets requests.Scan targets
scan_targets[].limits.durationduration——Sets duration.Scan targets
scan_targets[].allow_agentboolean——allow_agent lets the autonomous pentest agent (assess.pentagi) test this target.Scan targets
scan_targets[].agent_scopestring——agent_scope is extra scope text for the agent (paths, notes).Scan targets
scan_targets[].agent_share_loginboolean——agent_share_login sends the target's stored login secret (password, cookie, header value or token) to the agent in its prompt, and so to PentAGI and its model provider.Scan targets
scan_targets[].agent_allow_state_changesbooleanno state changes—agent_allow_state_changes lets the agent use intrusive, state-changing proofs on this test copy (submit CSRF, store XSS, change test data); it must list every change.Scan targets
scan_targets[].agent_follow_upslist of string——agent_follow_ups are tasks given to the agent one after another on the same flow, each when the previous task ended (at most 10, masked like the scope notes before they are sent).Scan targets
scan_targets[].agent_authorizationobject——Group of settings: agent authorization.Scan targets
scan_targets[].agent_authorization.hoststring——Host name this entry applies to or connects to.Scan targets
scan_targets[].agent_authorization.bystring——Sets by.Scan targets
scan_targets[].agent_authorization.attime (RFC 3339)——Sets at.Scan targets

Example ​

yaml
version: 2
listeners:
  - {name: web, address: "0.0.0.0:8080", protocol: http}
server_pools:
  - name: shop
    servers:
      - {address: "127.0.0.1:9000", weight: 1, state: active}
scan_targets:
  - name: shop-uat
    url: https://shop-uat.example/
    allow_scan: true
    application: shop
applications:
  - name: shop
    hostnames: [shop.example.com]
    listeners: [web]
    server_pool: shop