-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adds support for rules in YAML format
Removes CSV based rule examples Removes CSV automation for rules Add action to auto-transform when the YAML is edited Signed-off-by: Jennifer Power <[email protected]>
- Loading branch information
Showing
8 changed files
with
38 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Transform Rules | ||
on: | ||
push: | ||
paths: | ||
- 'rules/**' | ||
|
||
jobs: | ||
transform-rules: | ||
name: Transform rules content | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Transform rules | ||
id: transform | ||
uses: jpower432/trestle-bot/actions/rules-transform@bug/single-rule-failure | ||
with: | ||
rules_view_path: "rules/" | ||
file_pattern: "*.json,rules/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
x-trestle-rule-info: | ||
name: Test-rule_001 | ||
description: Ensure all of the services are running these tests | ||
parameter: | ||
name: prm_1 | ||
description: prm_1 description | ||
alternative-values: {'default': '5%', '5pc': '5%', '10pc': '10%', '15pc': '15%', '20pc': '20%'} | ||
default-value: '5%' | ||
profile: | ||
description: FedRAMP REV5 High Baseline | ||
href: profiles/fedramp_rev5_high/profile.json | ||
include-controls: | ||
- id: ac-1 | ||
x-trestle-component-info: | ||
name: Example | ||
description: Example Application | ||
type: service |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.