Smart Guard 14
01README
Sync state of security posture against a desired-state YAML. Diffs are previewed before any mutation.
Quick start
Add @pagerduty/smart-guard-14 to your repo's extensions list, then reference its model in your swamp.yaml:
extensions:
- @pagerduty/smart-guard-14
workflows:
- name: smart-guard-14-run
jobs:
- name: main
steps:
- name: update
model: pagerduty/smart-guard-14
method: updateRun with swamp workflow run smart-guard-14-run. The first invocation prints what it would change; pass --apply to commit.
What's inside
- Typed models — Zod-validated arguments, structured outputs, and a manifest the agent can reason about.
- Datastore provider — collection-level Zod schemas, change-stream subscriptions, TTL indexes.
Configuration
Configure via ~/.swamp/config.yaml or environment variables. The full method reference and rubric format live in the package's manual/ directory.
Labels: security secrets enterprise
02Models
@pagerduty/smart-guard-14/scoutv0.1.0scout.ts
fn update(dryRun: boolean)
Update the resource.
| Argument | Type | Description |
|---|---|---|
| dryRun | boolean | Compute changes without applying them |
fn delete(dryRun: boolean, force?: boolean, filter: record)
Delete the resource.
| Argument | Type | Description |
|---|---|---|
| dryRun | boolean | Compute changes without applying them |
| force? | boolean | Skip confirmation and apply immediately |
| filter | record | Key-value filter expression |
fn sync(limit: number)
Sync the resource.
| Argument | Type | Description |
|---|---|---|
| limit | number | Maximum results to return |
03Datastores
smart-guard-14-storeconfigurable
@pagerduty/smart-guard-14/datastoredatastore.ts
Document datastore with TTL indexes and change streams.
Config Fields
| Field | Type | Description |
|---|---|---|
| uri | string | Connection URI |
04Previous Versions
2.5.9Oct 19, 2025
05Stats
A
100 / 100
Downloads
30
Archive size
74.0 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels