Skip to content

Add license policies tutorial in documentation #337

Description

@tdruez

A suggested by @Atharex in #335 (comment), that feature is not well presented and hidden deep in the settings.

Paragraphs ideas for the tutorial:

  1. General explanation about license policies and compliance alert
  2. How to create a policies file, details about the format
  3. Define the location of the policies file in the settings
  4. 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
  1. Run a pipeline and look at the policies results

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions