Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
d7d6939
adding OSCAL CLI verification to commits
khanssen Nov 5, 2025
53ea78b
editing OSCAL CLI workflow language
khanssen Nov 5, 2025
8f545ce
editing OSCAL CLI workflow
khanssen Nov 5, 2025
5a01534
oscal workflow
khanssen Nov 5, 2025
fe31c1b
oscal workflow
khanssen Nov 5, 2025
3d1213e
Add OSCAL 800-171A assessment plan + generated catalog (example)
khanssen Oct 28, 2025
ead4db2
add reference md
khanssen Oct 28, 2025
e1430d7
Replace minimal catalog with complete version including all objectives
khanssen Oct 30, 2025
6a04e2d
Fix OSCAL validation errors in 800-171 catalog
khanssen Oct 30, 2025
6856191
Add .gitignore to exclude development artifacts
khanssen Oct 31, 2025
9212d36
Reorganize files into proper directory structure and standardize naming
khanssen Oct 31, 2025
85ee35e
Update .gitignore to exclude backups and dev files
khanssen Oct 31, 2025
5b1cdd3
Add documentation for 800-171 examples
khanssen Oct 31, 2025
5152b8c
trying again
khanssen Nov 5, 2025
ff3e965
ci: disable recursive submodules in periodic/release/status workflows
khanssen Nov 5, 2025
2ced89d
ci: disable recursive submodules in periodic/release/status workflows
khanssen Nov 5, 2025
22ac413
chore: trigger CI
khanssen Nov 5, 2025
22a955d
ci: enable workflow_dispatch and include add-171a-plan
khanssen Nov 5, 2025
f14e4c8
yET ANOTHER EDIT
khanssen Nov 5, 2025
a8fa3ae
chore: trigger CI
khanssen Nov 5, 2025
576aa91
still trying
khanssen Nov 5, 2025
6f000cf
ci: remove upstream NIST workflows not used in fork
khanssen Nov 5, 2025
0af42d1
motherfucker
khanssen Nov 5, 2025
82f7d38
ci: restore OSCAL Validation workflow (no submodules; oscal-cli install)
khanssen Nov 5, 2025
18e62aa
ci: restore OSCAL Validation workflow (no submodules; oscal-cli install)
khanssen Nov 5, 2025
b8e725d
ci: fix YAML and restore OSCAL Validation workflow
khanssen Nov 5, 2025
1af8eb7
ci: fix oscal-validation args quoting for PowerShell
khanssen Nov 5, 2025
0f5c6bb
ci: switch to matrix metaschema validation
khanssen Nov 5, 2025
03db832
more changes
khanssen Nov 5, 2025
5aaa118
Add both metaschema and content validation workflows
khanssen Nov 6, 2025
82a523d
Fix OSCAL validation workflow with all document types
khanssen Nov 6, 2025
6bb2de6
fixing oscal validation workflow
khanssen Nov 6, 2025
286e07a
fixing oscal validation workflow
khanssen Nov 6, 2025
3ffe0a4
fixing oscal validation workflow
khanssen Nov 6, 2025
4cb301e
Fix: Use correct OSCAL CLI command abbreviations (ap, ar, ssp)
khanssen Nov 6, 2025
59a0a2e
replace 800-171a catalog and add point values
khanssen Nov 10, 2025
8071eed
fix oscal validation YAML
khanssen Nov 10, 2025
21c9cdc
oscal corrections
khanssen Nov 10, 2025
6a98cb4
correcting OSCAL schema findings
khanssen Nov 11, 2025
dfa36e5
testing OSCAL fixes
khanssen Nov 11, 2025
be33b06
testing OSCAL fixes
khanssen Nov 11, 2025
b348fde
testing OSCAL fixes
khanssen Nov 11, 2025
2a312ef
testing OSCAL fixes
khanssen Nov 11, 2025
16b6297
compliant points version
khanssen Nov 12, 2025
ba5bc7c
just the basics for OSCAL validation
khanssen Nov 13, 2025
3b9dd86
just the basics for OSCAL validation
khanssen Nov 13, 2025
15400cb
Move 800-171A catalog to correct directory
khanssen Nov 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/workflows/issue-triage.yml

This file was deleted.

94 changes: 94 additions & 0 deletions .github/workflows/oscal-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: OSCAL Validation

on:
push:
branches: [ main, add-171a-plan ]

jobs:
validate-oscal:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: false

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'

- name: Setup OSCAL CLI
uses: oscal-club/[email protected]
with:
args: --version

- name: Validate Catalogs
run: |
for file in $(find . -name "*catalog*.json" 2>/dev/null); do
if [ -f "$file" ]; then
echo "Validating: $file"
oscal-cli catalog validate "$file"
fi
done
continue-on-error: true

- name: Validate Profiles
run: |
for file in $(find . -name "*profile*.json" 2>/dev/null); do
if [ -f "$file" ]; then
echo "Validating: $file"
oscal-cli profile validate "$file"
fi
done
continue-on-error: true

- name: Validate Assessment Plans
shell: bash
run: |
set -euo pipefail
shopt -s nullglob
files=( $(git ls-files '*assessment-plan*.json') )
if ((${#files[@]} == 0)); then
echo "No assessment-plan JSON files found. Skipping."
exit 0
fi
for file in "${files[@]}"; do
echo "Validating: $file"
oscal-cli validate "$file"
done
continue-on-error: true

- name: Validate Assessment Results
shell: bash
run: |
set -euo pipefail
shopt -s nullglob
files=( $(git ls-files '*assessment-results*.json') )
if ((${#files[@]} == 0)); then
echo "No assessment-results JSON files found. Skipping."
exit 0
fi
for file in "${files[@]}"; do
echo "Validating: $file"
oscal-cli validate "$file"
done
continue-on-error: true

- name: Validate POAMs
shell: bash
run: |
set -euo pipefail
shopt -s nullglob
files=( $(git ls-files '*poam*.json') )
if ((${#files[@]} == 0)); then
echo "No POAM JSON files found. Skipping."
exit 0
fi
for file in "${files[@]}"; do
echo "Validating: $file"
oscal-cli validate "$file"
done
continue-on-error: true
87 changes: 0 additions & 87 deletions .github/workflows/periodic.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/release.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/status.yml

This file was deleted.

65 changes: 65 additions & 0 deletions .github/workflows/validate-metaschemas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Validate Metaschemas

on:
push:
branches: [ main ]
paths:
- 'src/metaschema/**/*.xml'

jobs:
validate-metaschemas:
name: Validate metaschemas
runs-on: ubuntu-latest
strategy:
matrix:
file:
- ./src/metaschema/oscal_component_metaschema.xml
- ./src/metaschema/oscal_assessment-common_metaschema.xml
- ./src/metaschema/oscal_assessment-plan_metaschema.xml
- ./src/metaschema/oscal_assessment-results_metaschema.xml
- ./src/metaschema/oscal_catalog_metaschema.xml
- ./src/metaschema/oscal_complete_metaschema.xml
- ./src/metaschema/oscal_control-common_metaschema.xml
- ./src/metaschema/oscal_implementation-common_metaschema.xml
- ./src/metaschema/oscal_metadata_metaschema.xml
- ./src/metaschema/oscal_poam_metaschema.xml
steps:
- name: Checkout (no submodules)
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: "false"
lfs: "false"
persist-credentials: "false"

- name: Setup Java (required for CLI)
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "17"

- name: oscal-cli --version
uses: oscal-club/[email protected]
with:
args: --version

- name: Sanity-check ${{ matrix.file }}
shell: bash
run: |
set -e
echo "Validating presence of: ${{ matrix.file }}"
if [ ! -f "${{ matrix.file }}" ]; then
echo "❌ File not found: ${{ matrix.file }}"
echo "Listing ./src/metaschema:"
ls -la ./src/metaschema || true
echo "Tree (top-level):"
ls -la .
exit 66
else
echo "✅ Found ${{ matrix.file }}"
fi

- name: Validate ${{ matrix.file }}
uses: oscal-club/[email protected]
with:
args: validate metaschema ${{ matrix.file }}
Binary file modified .gitignore
Binary file not shown.
Loading