You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow --deny-dependency-source-change without a value to enforce both Git and URL transitions. Retain explicit single-source selection through =git and =url, normalize and deduplicate policy values, expose any consistently through configuration and MCP guidance, and cover the behavior in unit and pinned smoke tests.
Copy file name to clipboardExpand all lines: docs/auditors/package.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ use the dependency details already produced by an enriched diff.
34
34
| --- | --- | --- |
35
35
|`--deny-package <name>`|`policy.deny_packages`| Fail when this package is present. Repeatable. |
36
36
|`--deny-group <group>`|`policy.deny_groups`| Fail on any package in this group/namespace (e.g. a Maven groupId). Repeatable. |
37
-
|`--deny-dependency-source-change <git\|url>`|`policy.deny_dependency_source_changes`| Make a matching source change fail instead of warn. Repeatable and diff-only. |
37
+
|`--deny-dependency-source-change[=any\|git\|url]`|`policy.deny_dependency_source_changes`| Make a matching source change fail instead of warn. Without a value, `any` covers both Git and URL. Use `=git` or `=url` to select one. Repeatable and diff-only. |
38
38
|`--protected-package <name>`|`policy.protected_packages`| A trusted name; lookalikes within the threshold are flagged as possible typosquats. Repeatable. |
39
39
|`--typosquat-threshold <0..1>`|`policy.typosquat_threshold`| Similarity score above which a name is treated as a lookalike. Default `0.90`. Higher = stricter (fewer matches). |
40
40
|`--typosquat-mode <warn\|fail>`|`policy.typosquat_mode`| Policy status for a typosquat finding. `warn` (default) records a warning; `fail` makes it eligible to fail when it also matches `--fail-on`. |
"Dependency source change that fails diff policy: git or url. Repeatable (requires --audit)",
73
+
"Dependency source change that fails diff policy. Without a value, both Git and URL are denied; use =git or =url to select one. Repeatable (requires --audit)",
Copy file name to clipboardExpand all lines: internal/support/prose/auditors/package.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ use the dependency details already produced by an enriched diff.
15
15
| --- | --- | --- |
16
16
|`--deny-package <name>`|`policy.deny_packages`| Fail when this package is present. Repeatable. |
17
17
|`--deny-group <group>`|`policy.deny_groups`| Fail on any package in this group/namespace (e.g. a Maven groupId). Repeatable. |
18
-
|`--deny-dependency-source-change <git\|url>`|`policy.deny_dependency_source_changes`| Make a matching source change fail instead of warn. Repeatable and diff-only. |
18
+
|`--deny-dependency-source-change[=any\|git\|url]`|`policy.deny_dependency_source_changes`| Make a matching source change fail instead of warn. Without a value, `any` covers both Git and URL. Use `=git` or `=url` to select one. Repeatable and diff-only. |
19
19
|`--protected-package <name>`|`policy.protected_packages`| A trusted name; lookalikes within the threshold are flagged as possible typosquats. Repeatable. |
20
20
|`--typosquat-threshold <0..1>`|`policy.typosquat_threshold`| Similarity score above which a name is treated as a lookalike. Default `0.90`. Higher = stricter (fewer matches). |
21
21
|`--typosquat-mode <warn\|fail>`|`policy.typosquat_mode`| Policy status for a typosquat finding. `warn` (default) records a warning; `fail` makes it eligible to fail when it also matches `--fail-on`. |
0 commit comments