@@ -683,7 +683,7 @@ accreditations passed to the framework by the CLI.
683683
684684
685685Fixers
686- ~~~~~~
686+ ------
687687
688688After checks have been run, but before notifications or reports are
689689generated, the Auditree framework will optionally try to fix the
@@ -703,7 +703,7 @@ See :ref:`fixers` section for more information.
703703
704704
705705Report Builder
706- ~~~~~~~~~~~~~~
706+ --------------
707707
708708Once the execution of all checks and (optionally) fixers have been
709709executed, the :py:class: `~compliance.report.ReportBuilder ` generates
@@ -715,7 +715,7 @@ See :ref:`report-builder` section for more information.
715715
716716
717717Notifiers
718- ~~~~~~~~~
718+ ---------
719719
720720After reports have been generated, the tool will collect notification
721721messages from them and will create a
@@ -727,7 +727,7 @@ See :ref:`notifiers-description` section for more information.
727727
728728
729729Execution Config
730- ~~~~~~~~~~~~~~~~
730+ ----------------
731731
732732The Auditree framework is designed to be run locally from your PC or from
733733a CI server like Jenkins or Travis. The execution can be tweaked at 2
@@ -748,18 +748,18 @@ levels:
748748
749749
750750Credentials
751- ~~~~~~~~~~~
751+ -----------
752752
753753There are 2 ways for providing credentials:
754754
755- 1 . *Local file *: if you want to configure your credentials in a local file,
755+ # . *Local file *: if you want to configure your credentials in a local file,
756756 you will have to provide the the framework using ``--creds-path `` option.
757757 This file should be similar to this:
758758
759759 .. include :: credentials-example.cfg
760760 :literal:
761761
762- 1 . *Environment variables *: each section and field of the local file can be
762+ # . *Environment variables *: each section and field of the local file can be
763763 rendered as an environment variable.
764764 For instance, suppose your code requires ``creds['github'].token `` or ``creds['slack'].webhook ``.
765765 You just need to export:
@@ -777,17 +777,17 @@ There are 2 ways for providing credentials:
777777 api_key=YYY
778778
779779Creds with ``.env `` files and 1Password
780- +++++++++++++++++++++++++++++++++++++++
780+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
781781
782782Combining the method based on passing env vars to Auditree and `1Password CLI <https://developer.1password.com/docs/cli/ >`_,
783783it is possible to grab the secrets from 1Password and inject them into Auditree.
784784Here it is how to do it:
785785
786- 1 . Create the following alias::
786+ # . Create the following alias::
787787
788788 alias compliance="op run --env-file .env -- compliance"
789789
790- 1 . In your fetchers/checks project, create an ``.env `` file with the following schema::
790+ # . In your fetchers/checks project, create an ``.env `` file with the following schema::
791791
792792 <SECTION>_<ATTRIBUTE>="op://<VAULT>/<ITEM>/<FIELD>"
793793
@@ -797,4 +797,4 @@ Here it is how to do it:
797797 MY_SERVICE_ORG="the-org-id"
798798 MY_SERVICE_API_KEY="op://Shared/my_service/api_key"
799799
800- 1 . Now running ``compliance `` will pull credentials from 1Password vaults.
800+ # . Now running ``compliance `` will pull credentials from 1Password vaults.
0 commit comments