Apply a complete applicative policy
Now we have defined our technique, we will apply it. To do so, got to the directives page (Configuration management → Directives) and find our new technique (for example by using the filter with "Website"), and create a directive.
We will configure the site using the node property we defined in the node management section.
The syntax to use to access them is
Here we have hierarchical JSON, so we access a sub-key with
This time our technique takes parameters, so we have to provide them:
Then you can see the rules zone at the bottom of the page. It allows quickly linking a directive to a rule, as it is a common task in Rudder.
We will use it and select our Demo Website rule, then save the directive.
← Define a complete applicative policy Visualize compliance →