@@ -30,29 +30,29 @@ inspection of Github Scopes, Azure Scopes, and other objects.
3030
3131## Exported Modules
3232
33- | Feature Name | Purpose |
34- | :----------------- | :---------------------------------------------------------------------------------------- |
35- | ` $colors ` | Automatic error logging and warn/notice stream logging with colors |
36- | ` $const ` | Declared generic constants for local system paths and GITHUB API |
37- | ` $compare ` | Comparison functions for deep YML objects. |
38- | ` $error ` | Generic error functions for including messages with specific colors |
39- | ` $ruleset ` | Github Rulesets and Rule scopes for detecting branch protections |
40- | ` $report ` | Reporting function for scoring tabulation in streams, and notification functions in teams |
41- | ` $streams ` | Optic FileStream object for logging colored error messages to evaluated streams |
42- | ` $token ` | Token acquisition for GitHub CLI default, or .envcrypt files, or environment vars |
43- | ` $webhook ` | Webhook secret acquisition IFFE functions |
33+ | Feature Name | Purpose |
34+ | :----------- | :---------------------------------------------------------------------------------------- |
35+ | ` $colors ` | Automatic error logging and warn/notice stream logging with colors |
36+ | ` $const ` | Declared generic constants for local system paths and GITHUB API |
37+ | ` $compare ` | Comparison functions for deep YML objects. |
38+ | ` $error ` | Generic error functions for including messages with specific colors |
39+ | ` $ruleset ` | Github Rulesets and Rule scopes for detecting branch protections |
40+ | ` $report ` | Reporting function for scoring tabulation in streams, and notification functions in teams |
41+ | ` $streams ` | Optic FileStream object for logging colored error messages to evaluated streams |
42+ | ` $token ` | Token acquisition for GitHub CLI default, or .envcrypt files, or environment vars |
43+ | ` $webhook ` | Webhook secret acquisition IFFE functions |
4444
4545## Exported Variables
4646
47- | Variable | Description |
48- | :----------------- | :---------------------------------------------------------------------------------------- |
49- | ` generatedVersion ` | Software Version Information |
50- | ` Type ` | Types used throughout this software |
47+ | Variable | Description |
48+ | :----------------- | :---------------------------------- |
49+ | ` generatedVersion ` | Software Version Information |
50+ | ` Type ` | Types used throughout this software |
5151
5252## Github Scopes
5353
5454We refer to Github Scopes frequently, and by scopes we mean the resources that
55- RBAC permissions apply to on Github.
55+ RBAC permissions apply to on Github.
5656
5757#### Examples of Github Scopes
5858
@@ -64,20 +64,21 @@ RBAC permissions apply to on Github.
6464- Organizations
6565- Gists
6666
67- There are many more examples, but you get the idea. Scopes are basically any
68- major section of the Github API.
67+ There are many more examples, but you get the idea. Scopes are basically any
68+ major section of the Github API.
6969
7070## Other Scopes
7171
72- Currently this software only incorporates Github scopes, however in the future we will be adding
73- additional scopes such as:
72+ Currently this software only incorporates Github scopes, however in the future
73+ we will be adding additional scopes such as:
7474
75751 . Azure
76762 . AWS
77773 . JFrog
78784 . Terraform IAC
7979
80- One option here is that we will likely be adding a connector for popular configuration management software such as Ansible in future versions.
80+ One option here is that we will likely be adding a connector for popular
81+ configuration management software such as Ansible in future versions.
8182
8283## Reporting Features
8384
@@ -88,32 +89,32 @@ The purpose is to abstract the reporting methods into a JSR package which can be
8889called using ` deno run ` by passing the ` --import-map ` flag and referencing a
8990JSON import map file containing this package.
9091
91-
9292### Notifications
9393
94- Currently the only notification feature is ` webhook ` fire. This is used primarily for ` MS Teams ` integrations.
95- You can use it by setting ` TEAMS_WEB_HOOK ` as an environment variable.
96-
94+ Currently the only notification feature is ` webhook ` fire. This is used
95+ primarily for ` MS Teams ` integrations. You can use it by setting
96+ ` TEAMS_WEB_HOOK ` as an environment variable.
9797
9898### Import Map
9999
100- Here is an example import map for testing ` deno run --import-map ./deps.json ./src/check_ruleset.ts ` :
100+ Here is an example import map for testing
101+ ` deno run --import-map ./deps.json ./src/check_ruleset.ts ` :
101102
102103``` json
103- {
104- "imports" : {
105- "@octokit/core" : " npm:@octokit/core@^7.0.2" ,
106- "@onjara/optic" : " jsr:@onjara/optic@^2.0.3" ,
107- "@alikia/random-key" : " jsr:@alikia/random-key@^1.0.1" ,
108- "@deno/dnt" : " jsr:@deno/dnt@^0.41.2" ,
109- "@softdist/extensions" : " jsr:@softdist/extensions@0.2.1" ,
110- "@std/assert" : " jsr:@std/assert@1.0.13" ,
111- "@std/fmt" : " jsr:@std/fmt@^1.0.7" ,
112- "@std/fs" : " jsr:@std/fs@^1.0.17" ,
113- "@cliffy/command" : " jsr:@cliffy/command@^1.0.0-rc.7" ,
114- "lefthook" : " npm:lefthook@^1.11.12"
115- }
104+ {
105+ "imports" : {
106+ "@octokit/core" : " npm:@octokit/core@^7.0.2" ,
107+ "@onjara/optic" : " jsr:@onjara/optic@^2.0.3" ,
108+ "@alikia/random-key" : " jsr:@alikia/random-key@^1.0.1" ,
109+ "@deno/dnt" : " jsr:@deno/dnt@^0.41.2" ,
110+ "@softdist/extensions" : " jsr:@softdist/extensions@0.2.1" ,
111+ "@std/assert" : " jsr:@std/assert@1.0.13" ,
112+ "@std/fmt" : " jsr:@std/fmt@^1.0.7" ,
113+ "@std/fs" : " jsr:@std/fs@^1.0.17" ,
114+ "@cliffy/command" : " jsr:@cliffy/command@^1.0.0-rc.7" ,
115+ "lefthook" : " npm:lefthook@^1.11.12"
116116 }
117+ }
117118```
118119
119120> [ !TIP]
0 commit comments