Public primitives for SCIF/SAPF compliance: badge log w/ tamper-evident audit, TPI, escort tracking, GSA container cadence.
Real, reproducible output from the tool — runs offline:
$ scifops-emit --version
scifops 0.1.0$ scifops-emit --help
usage: scifops [-h] [--format {console,json,markdown,sarif,oscal}] [--out OUT]
[--fail-on {very_high,high,moderate,low,none}]
[--classification CLASSIFICATION] [-v]
[target]
scifops — Cognis Digital · Military/IC ecosystem
positional arguments:
target Path/target
options:
-h, --help show this help message and exit
--format {console,json,markdown,sarif,oscal}
--out OUT Write output to file
--fail-on {very_high,high,moderate,low,none}
--classification CLASSIFICATION
Operator-supplied banner. PLACEHOLDER. Tool does not
interpret.
-v, --version show program's version number and exitBlocks above are real
scifopsoutput — reproduce them from a clone.
Sample result format (illustrative values — run on your own data for real findings):
{
"findings": [
{
"id": "1234567890",
"title": "Suspicious Network Activity",
"description": "Anomalous network traffic detected on port 443.",
"confidence": 0.8,
"labels": ["Network", "Malware"],
"created_at": "2023-02-15T14:30:00Z"
}
]
}
scifops is built on the shared cognis_mil CLI: a positional target plus
standard output/scoring flags.
- Install (editable from a clone, or from the wheel):
pip install -e . # provides the `scifops` console script
- Run the primary scan against a path or target (defaults to
.):scifops . - Emit machine-readable output — pick any of
console|json|markdown|sarif|oscal:scifops ./target --format json --out scifops-report.json
- Read / use the output. The JSON report carries the findings list and a
severity-weighted
composite_score; SARIF drops straight into code-scanning, andoscalemits an OSCAL skeleton. A--classificationbanner can be stamped on the report (placeholder only — the tool does not interpret it):scifops ./target --classification "UNCLASSIFIED//FOR PUBLIC RELEASE" --format markdown - Gate CI on severity with
--fail-on(very_high|high|moderate|low|none). The process exits non-zero when a finding at/above the threshold exists:scifops ./target --format sarif --out scifops.sarif --fail-on high
Forks / wraps (original). See UPSTREAM.md for the
licensing posture, supported commits, and how to upgrade.
- BadgeLog with hash-chained audit (cognis_mil.AuditLog)
- TPI verification primitive
- Visitor escort enforcement
- GSA container inspection-due reminders
# Shared library (only once for the whole ecosystem):
pip install -e ../../shared
# This tool:
pip install -e .scifops demos/Outputs are available in five formats — all respect an operator-supplied
classification banner (passed via --classification):
scifops <target> --format=console # default
scifops <target> --format=json
scifops <target> --format=sarif # for code-scanning pipelines
scifops <target> --format=markdown # for PRs / briefings
scifops <target> --format=oscal # OSCAL Assessment Results skeletonAll output is wrapped with an operator-supplied classification banner.
Default: UNCLASSIFIED//FOR PUBLIC RELEASE.
⚠️ This tool does not generate or validate the content of higher classifications. Operators on cleared systems supply real markings at runtime. See../shared/cognis_mil/classmark.py.
Every finding can carry references to:
- NIST 800-53 Rev 5 controls (e.g.
AC-2(1)) - DISA STIG rule IDs (e.g.
V-242414) - MITRE ATT&CK technique IDs (e.g.
T1078) - CCI (Control Correlation Identifier)
These are emitted in JSON, SARIF, and the OSCAL skeleton.
- name: scifops scan
run: |
pip install cognis-scifops
scifops . --format=oscal --out=assessment-results.json --fail-on=high
- name: Upload to eMASS/Xacta
run: cognis-rmf-package import assessment-results.json12 repos. All MIT/Apache-2.0/GPL-3 (per upstream). Cognis additions are Apache-2.0 unless stated otherwise.
See the master index.
scifops composes with the 300+ tool Cognis suite — JSON in/out and a shared
OpenAI-compatible /v1 backbone. See INTEROP.md for the
suite map, composition patterns, and reference stacks.
Forward scifops's findings to STIX/MISP/Sigma/Splunk/Elastic/Slack/webhooks via
cognis-connect. See INTEGRATIONS.md.