A suggested by @Atharex in #335 (comment), that feature is not well presented and hidden deep in the settings.
Paragraphs ideas for the tutorial:
- General explanation about license policies and compliance alert
- How to create a policies file, details about the format
- Define the location of the policies file in the settings
- How the compliance alert ok/warning/error/missing works
ok = self.Compliance.OK
error = self.Compliance.ERROR
warning = self.Compliance.WARNING
missing = self.Compliance.MISSING
if error in alerts:
return error
elif warning in alerts:
return warning
elif missing in alerts:
return missing
return ok
- Run a pipeline and look at the policies results
A suggested by @Atharex in #335 (comment), that feature is not well presented and hidden deep in the settings.
Paragraphs ideas for the tutorial: