Skip to content

Commit

Permalink
fix example policy packages (#172)
Browse files Browse the repository at this point in the history
When I updated the policy documentation, I missed these package lines.

## Checklist

- [ ] Does this PR have an associated issue (i.e., `closes #<issueNum>`
in description above)?
- [ ] Have you ensured that you have met the expected acceptance
criteria?
  • Loading branch information
matt-phylum authored Jun 28, 2024
1 parent d26d6b0 commit 62ac0fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/knowledge_base/policy_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ You may also block on a dependency-level characteristic using a `dependency` rul
The following policy blocks packages belonging to a namespace.

```rego
package policy
package policy.v1
import rego.v1
Expand Down Expand Up @@ -130,7 +130,7 @@ If a policy wants to block a job for a reason that is not related to a specific
The following policy blocks any job that introduces an NPM dependency. Only one error is generated, even if hundreds of dependencies have been added.

```rego
package policy
package policy.v1
import data.phylum.ecosystem
import rego.v1
Expand Down

0 comments on commit 62ac0fc

Please sign in to comment.