Skip to content

Commit 2bf5a58

Browse files
committed
docs: correct usage in tutorial.
Signed-off-by: Demolus13 <[email protected]>
1 parent 9010582 commit 2bf5a58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/pages/tutorials/verify_with_existing_policy.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ Run the ``malware-detection`` policy using wildcard:
5858
./run_macaron.sh verify-policy \
5959
--database output/macaron.db \
6060
--existing-policy malware-detection \
61-
--package-url "pkg:pypi/django@*"
61+
--package-url "pkg:pypi/django@.*"
6262
63-
It uses the wildcard '*' to checks for components satisfying the expression "pkg:pypi/django@*".
63+
It uses the wildcard '*' to checks for components satisfying the expression "pkg:pypi/django@.*".
6464
The result of this command should show that the policy succeeds with a zero exit code (if a policy fails to pass, Macaron returns a none-zero error code):
6565

6666
.. code-block:: shell
6767
6868
Components Satisfy Policy
6969
1 pkg:pypi/[email protected] check-component
70-
1 pkg:pypi/[email protected] check-component
70+
2 pkg:pypi/[email protected] check-component
7171
7272
Components Violate Policy None
7373

0 commit comments

Comments
 (0)