Skip to content

Commit

Permalink
Update documentation for templated CPEs
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenyz committed Dec 1, 2022
1 parent 48ddab7 commit fd7a66f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/manual/developer/06_contributing_with_content.md
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,11 @@ is used for rules not applicable to containers.
A rule or profile with `platform: machine` will be evaluated only if the
targeted scan environment is either bare-metal or virtual machine.
The second entry defines a CPE for NTP.
The second file defines a parametrized CPE. This allows us to define multiple
similar CPEs that differ in their argument. In our example, we define
the `package` CPE. Within the `args` key we configure a set of its possible
arguments and their values. In our example, there is a single possible value: `ntp`.
By setting the `platform` to `package[ntp]`, the rule will have its applicability
restricted to only environments which have `ntp` package installed.
Expand Down

0 comments on commit fd7a66f

Please sign in to comment.