Learn · Guides
Install a rule pack
Take a published set of warning labels and pin it to a version.
Checked against the product on · written for everyone
A rule pack is a published set of warning labels with examples behind each one. Installing a pack gives your rules more labels to watch for.
Respond
Library
41 labels · reviewed · 2.3.0
18 labels · reviewed · 1.1.2
96 labels · reviewed · 3.0.1
Open Labels and select Browse the library.1
Pick a pack and read its label count and version.2
Read the pinning line.3
An installed pack stays on the version you installed until you move it.
Read the pack before you install it
Respond
Industrial safety basics 2.3.0
| Warning label | Group | Examples |
|---|---|---|
| temperature-excursion | Thermal | 24 |
| pressure-excursion | Mechanical | 19 |
| repeat-excursion | Thermal | 11 |
Open the Labels tab and read what the pack will add.1
Open Tests and read the results.2
A published pack carries the test suite it passed and the examples it was measured against.
Select Install.3
The labels appear in your rule builder within a few seconds.
From code
curl 'https://api.dmzagent.com/v1/library/canons?limit=25' \
-H 'Authorization: Bearer YOUR_API_KEY'curl -X POST 'https://api.dmzagent.com/v1/library/canons/CANON_ID/install' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"version": "2.3.0"}'curl 'https://api.dmzagent.com/v1/library/manifests/MANIFEST_HASH' \
-H 'Authorization: Bearer YOUR_API_KEY'The audit replay door: the exact manifest that hash names.
Moving to a new version
Open the pack in Labels and select Versions.
Read the change summary for the version you are moving to.
It lists labels added, labels retired, and examples changed.
Select Test against past events.
The test reports which of your rules would fire differently under the new version.
Select Pin to this version.
The move is written to the logbook with your name on it.