Assets and scope
Generated from artex-cc tools --json. Descriptions and parameters come from the tool definitions.
insert_assets
Section titled “insert_assets”Register newly discovered assets in bulk; multiple types can be mixed in one call (see the type enum).
Required fields per type: root_domain->domain; ip->ip (must be IPv4/IPv6, not a hostname); subdomain->domain; app->app_name; service(HTTP)->url; service(non-HTTP)->service_name+port (at least one of ip/domain); endpoint->url+method. See each field’s own description for the rest.
auth/technologies/params are append-merged, not overwritten.
Returns: {results:[{index,id,type}], errors:[{index,error}]}
| Parameter | Type | Required | Description |
|---|---|---|---|
| assets | array of objects | yes | Asset array; each element is one asset record |
| assets[].type | string | yes | Asset type. One of root_domain, ip, subdomain, app, service, endpoint |
| assets[].app_icp | string | no | Application ICP registration (optional) |
| assets[].app_name | string | no | Application name (required for app type) |
| assets[].auth | array of objects | no | Discovered credentials (optional) |
| assets[].bound_domains | array of string | no | List of domains bound to this IP (optional for ip type) |
| assets[].bundle_id | string | no | Bundle ID (optional for app type) |
| assets[].category | string | no | Application category (optional) |
| assets[].company_id | integer | no | Owning company id (optional for app type) |
| assets[].content_length | integer | no | HTTP response body size in bytes (optional) |
| assets[].description | string | no | Application description (optional) |
| assets[].domain | string | no | Root domain or subdomain (required for root_domain/subdomain) |
| assets[].favicon_mmh3 | string | no | Favicon MMH3 hash (optional) |
| assets[].icp | string | no | ICP registration number (optional) |
| assets[].ip | string | no | IP address (must be IPv4/IPv6, not a hostname; required for ip type) |
| assets[].method | string | no | HTTP method (required for endpoint) |
| assets[].open_ports | array of objects | no | List of open ports (optional for ip type) |
| assets[].open_ports[].port | integer | yes | Port number |
| assets[].open_ports[].service | string | no | Service name (optional) |
| assets[].page_title | string | no | Page <title> content (optional) |
| assets[].params | array of objects | no | Request parameters (optional) |
| assets[].port | integer | no | Port number (required for non-HTTP service) |
| assets[].record_type | string | no | DNS record type: A/AAAA/CNAME/MX etc. (optional for subdomain) |
| assets[].record_value | array of string | no | List of DNS record values (optional for subdomain) |
| assets[].service_ip | string | no | Optional enrichment IP |
| assets[].service_name | string | no | Service name, e.g. ssh/mysql/redis (required for non-HTTP service) |
| assets[].status_code | integer | no | HTTP response status code (optional) |
| assets[].technologies | array of string | no | Tech-stack list (optional) |
| assets[].url | string | no | Full URL including scheme and port (required for HTTP service) |
list_assets
Section titled “list_assets”Read-only.
Query the asset library: search by DSL expression, or fetch directly by id/ids; supports pagination.
DSL: field=value fuzzy (ILIKE) | field==value exact | field!=value exclusion | numeric fields support > >= < <= | a bare word = full-text fuzzy; combine with AND/OR (AND binds tighter), parentheses for grouping.
When neither id nor ids is passed, dsl must be non-empty.
Available fields: domain, root_domain, ip, url, page_title, icp, service_name, app_name, method, service_type, record_type, technology, port, status_code, company_id.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dsl | string | no | DSL query expression (must be non-empty when id/ids are not passed) |
| id | integer | no | Fetch by a single asset id |
| ids | array of integer | no | Fetch by multiple asset ids |
| limit | integer | no | Return cap, default 10 |
| offset | integer | no | Pagination offset, default 0 |
| type | string | no | Asset type filter: root_domain|ip|subdomain|app|service|endpoint |
Returns: {count, assets: [...]}.
list_companies
Section titled “list_companies”Read-only.
List the companies in the asset library with their asset scopes and attributed asset counts. The optional search fuzzy-filters by company name (case-insensitive); empty returns all.
| Parameter | Type | Required | Description |
|---|---|---|---|
| search | string | no | Fuzzy filter by company name (optional, case-insensitive) |
Returns: {count, companies: [...]}.
add_company_scope
Section titled “add_company_scope”Add domains/IPs/CIDRs/ICP registrations/company keywords to a company’s asset scope. Company names are unique: if the company doesn’t exist it is created; if it exists it is reused.
scope is one entry per line; the system auto-recognizes: root domain / URL / single IP / CIDR range / ICP registration / company keyword.
Always give reason explaining the attribution basis.
| Parameter | Type | Required | Description |
|---|---|---|---|
| company | string | yes | Company name (created if absent, reused if present) |
| scope | string | yes | Asset scope, one entry per line |
| logo | string | no | Company logo URL (optional) |
| reason | string | no | Attribution basis (evidence/source); required |
Returns: {company_id, added, skipped, invalid, errors?}.
add_task_scope
Section titled “add_task_scope”Add test scope to this task (coverage scope, not enforced): it is the denominator of asset test coverage.
Supported kinds: company / root_domain / subdomain / ip / cidr / icp / keyword.
Use the entries array for multiple entries.
| Parameter | Type | Required | Description |
|---|---|---|---|
| entries | array of objects | no | Batch: [{kind, value}] |
| kind | string | no | Company / root_domain / subdomain / ip / cidr / icp / keyword |
| reason | string | no | Basis for adding (for audit); required |
| value | string | no | Company name or id / domain / IP / CIDR / ICP / keyword |
Returns: {added: [{kind, value}, ...], errors?}.
list_untested_assets
Section titled “list_untested_assets”Read-only.
Query the assets inside the scope of this task that haven’t been covered by fact anchors yet.
Optional filter by asset type: root_domain/subdomain/service/app/endpoint/ip.
Pagination: page starts at 1, page_size defaults to 10. Returns {assets, total, page, page_size}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | integer | no | Page number, starting at 1 (default 1) |
| page_size | integer | no | Entries per page (default 10) |
| type | string | no | Asset type filter (optional) |
Returns: {assets: [...], total, page, page_size}.
record_coverage
Section titled “record_coverage”Record what you examined on a surface for one risk class (use the goal’s vulnclass as risk_area when it applies), including negative results, so an absent finding is never read as a clean target.
| Parameter | Type | Required | Description |
|---|---|---|---|
| outcome | string | yes | Result for this surface and risk class. One of reported, no_issue_found, ruled_out, not_applicable, needs_follow_up |
| risk_area | string | yes | Risk class, e.g. sqli, xss, idor |
| surface | string | yes | What was examined: a URL, endpoint, parameter, host or feature |
| evidence | string | no | Required for no_issue_found: a fact id, intent id or traffic id that shows the test |
| reason | string | no | Required for ruled_out and not_applicable: why |
Returns: "recorded".
check_scope
Section titled “check_scope”Read-only.
Check whether a target (domain, IP, or URL) is within the engagement’s scope rules.
| Parameter | Type | Required | Description |
|---|---|---|---|
| target | string | yes | Domain, IP address, or URL to check |
Returns: {in_scope: bool, reason, matching_rule}.