Appearance
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
| Key | Type | Default | Allowed values / range | Meaning | Guide page |
|---|---|---|---|---|---|
assess | object | — | — | Group of settings: assess. | Assessments |
assess.pentagi | object | — | — | Group of settings: pentagi. | Pentest agent |
assess.pentagi.enabled | boolean | — | — | Turns the feature on or off. | Pentest agent |
assess.pentagi.base_url | string | — | — | https://host:port of the PentAGI server | Pentest agent |
assess.pentagi.ca_file | string | certificate 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.fingerprint | string | — | — | SHA-256 of the leaf certificate, hex | Pentest agent |
assess.pentagi.api | string | — | — | graphql (default) or rest | Pentest agent |
assess.pentagi.token | string | — | — | token names the stored API token (default "pentagi"); the value is never configuration. | Pentest agent |
assess.pentagi.provider | string | — | — | id of the agent provider catalog | Pentest agent |
assess.pentagi.max_minutes | integer | — | — | the agent's time limit per run | Pentest agent |
assess.pentagi.answer_minutes | integer | 15 | — | 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_minutes | integer | — | — | Sets idle minutes. | Pentest agent |
assess.pentagi.llm_where | string | — | — | llm_where is the operator's declaration of where PentAGI's model runs: local or cloud. | Pentest agent |
assess.pentagi.ack | object | — | — | Group of settings: ack. | Pentest agent |
assess.pentagi.ack.authorized_use | boolean | — | — | 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_in | boolean | — | — | 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
| Key | Type | Default | Allowed values / range | Meaning | Guide page |
|---|---|---|---|---|---|
scan_targets[] | list of object | — | — | Group of settings: scan targets. | Scan targets |
scan_targets[].name | string | — | — | The name that identifies this entry. | Scan targets |
scan_targets[].url | string | — | — | url is the address scans start from, like https://shop.test.example/. | Scan targets |
scan_targets[].scope_hosts | list of string | — | — | scope_hosts are the host names the scan may request. | Scan targets |
scan_targets[].address | string | — | — | 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_verify | boolean | true | — | tls_verify says whether the server's certificate is checked (default true). | Scan targets |
scan_targets[].evidence_level | string | — | — | evidence_level is the most a scan may do to prove an issue: reported (default) or confirmed. | Scan targets |
scan_targets[].application | string | — | — | application links the target to one of this product's applications (optional). | Scan targets |
scan_targets[].allow_scan | boolean | — | — | Sets allow scan. | Scan targets |
scan_targets[].note | string | — | — | Free-text note for operators. | Scan targets |
scan_targets[].health_path | string | — | — | Sets health path. | Scan targets |
scan_targets[].seeds | object | — | — | Group of settings: seeds. | Scan targets |
scan_targets[].seeds.urls | list of string | — | — | Sets urls. | Scan targets |
scan_targets[].seeds.openapi | list of string | — | — | Sets openapi. | Scan targets |
scan_targets[].seeds.graphql | list of string | — | — | Sets graphql. | Scan targets |
scan_targets[].seeds.openapi_files | list 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_paths | list of string | — | — | Sets exclude paths. | Scan targets |
scan_targets[].engines | list of string | — | — | Sets engines. | Scan targets |
scan_targets[].auth | object | — | — | Group of settings: auth. | Scan targets |
scan_targets[].auth.type | string | — | — | Kind of this entry. | Scan targets |
scan_targets[].auth.login_path | string | — | — | Sets login path. | Scan targets |
scan_targets[].auth.username_field | string | — | — | Sets username field. | Scan targets |
scan_targets[].auth.password_field | string | — | — | Sets password field. | Scan targets |
scan_targets[].auth.username | string | — | — | Sets username. | Scan targets |
scan_targets[].auth.token_field | string | — | — | Sets token field. | Scan targets |
scan_targets[].auth.fields | list of string | — | — | Sets fields. | Scan targets |
scan_targets[].auth.cookies | list of string | — | — | Cookie names the setting covers. | Scan targets |
scan_targets[].auth.header | string | — | — | Name of the header. | Scan targets |
scan_targets[].auth.check_path | string | — | — | Sets check path. | Scan targets |
scan_targets[].limits | object | — | — | Group of settings: limits. | Scan targets |
scan_targets[].limits.profile | string | — | — | Sets profile. | Scan targets |
scan_targets[].limits.rate | integer | — | — | Sets rate. | Scan targets |
scan_targets[].limits.concurrency | integer | — | — | Sets concurrency. | Scan targets |
scan_targets[].limits.requests | integer | — | — | Sets requests. | Scan targets |
scan_targets[].limits.duration | duration | — | — | Sets duration. | Scan targets |
scan_targets[].allow_agent | boolean | — | — | allow_agent lets the autonomous pentest agent (assess.pentagi) test this target. | Scan targets |
scan_targets[].agent_scope | string | — | — | agent_scope is extra scope text for the agent (paths, notes). | Scan targets |
scan_targets[].agent_share_login | boolean | — | — | 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_changes | boolean | no 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_ups | list 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_authorization | object | — | — | Group of settings: agent authorization. | Scan targets |
scan_targets[].agent_authorization.host | string | — | — | Host name this entry applies to or connects to. | Scan targets |
scan_targets[].agent_authorization.by | string | — | — | Sets by. | Scan targets |
scan_targets[].agent_authorization.at | time (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