A stored container-runtime-policies document that carries Profiles now replaces the file's profiles instead of merging into them, so a profile deleted in the dashboard stays deleted; one stored before profiles existed still inherits the file's. Profiles drop their json tags so the stored document keys them like its other fields. Adds examples/profiles/Dockerfile.agent-net (agent image plus network lookup tools) with a build-only agent-net compose service, examples/workflows/firewall-investigate.yaml with a test that parses every example against the registered step vocabulary, and names the postgres service in the compose header.
19 lines
688 B
YAML
19 lines
688 B
YAML
# A workflow with no repository: a binding on a firewall event type assigns
|
|
# src_ip from a mapped parameter and runs one agent mission in a scratch
|
|
# workspace under the network-investigator profile. Paste it into the
|
|
# dashboard's workflow definitions.
|
|
id: firewall-investigate
|
|
repository: none
|
|
profile: network-investigator
|
|
inputs:
|
|
src_ip: { type: string, required: true }
|
|
severity: { type: string }
|
|
steps:
|
|
- type: agent.run
|
|
settings:
|
|
mission: >-
|
|
Investigate the source address in the inputs: who owns it, what it
|
|
resolves to, and whether it is reachable. Report what you found and
|
|
how serious it looks given the severity.
|
|
read_only: true
|