Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oscal-club/oscal-cli-action
A GitHub Action to process, convert, and validate OSCAL content with the NIST oscal-cli tool.
https://github.com/oscal-club/oscal-cli-action
Last synced: 2 months ago
JSON representation
A GitHub Action to process, convert, and validate OSCAL content with the NIST oscal-cli tool.
- Host: GitHub
- URL: https://github.com/oscal-club/oscal-cli-action
- Owner: oscal-club
- License: cc0-1.0
- Created: 2022-05-31T03:25:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-30T01:11:34.000Z (over 1 year ago)
- Last Synced: 2024-04-25T01:08:26.902Z (9 months ago)
- Language: Shell
- Size: 16.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-oscal - OSCAL Club's oscal-cli-action - cli`](https://github.com/usnistgov/oscal-cli) for continuous integration or continuous deployment tasks on [the GitHub Actions service](https://docs.github.com/en/actions). (Tools)
README
# oscal-cli-action
A GitHub Action to process, convert, and validate OSCAL content with the NIST oscal-cli tool.
# Usage
**NOTE**: This is a composite action for the GitHub Actions and you must check
the code and setup a Java runtime as dependencies, or it will fail.```yaml
- name: Checkout
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
id: checkout
- name: Setup Java
uses: actions/setup-java@c3ac5dd0ed8db40fedb61c32fbe677e6b355e94c
with:
distribution: adopt
java-version: 11
id: setup_java
- name: Validate SSP schema and constraints
uses: oscal-club/[email protected]
with:
args: ssp validate repo/path/to/ssp.xml
id: validate_ssp
- name: Run shell command with all setup and context from before
run: |
ls -lha
id: post_setup_shell_command
```