| Format | Description | Use Case |
|---|---|---|
| JSON | default format | SCANOSS ecosystem, detailed analysis |
| CycloneDX | Industry-standard CBOM | Compliance, third-party tools |
JSON Format
The default output format containing detailed cryptographic asset information optimised for the SCANOSS ecosystem.Generate
Format Specification
Field Descriptions
| Field | Description |
|---|---|
version | Format version (currently “1.0”) |
tool.name | Scanner used (opengrep or semgrep) |
tool.version | Scanner version |
findings | Array of file-level findings |
file_path | Relative path to scanned file |
language | Detected programming language |
cryptographic_assets | Array of crypto findings in the file |
match_type | Scanner that detected the asset |
line_number | Line where the match was found |
match | Actual code snippet matched |
rule.id | Unique rule identifier |
rule.message | Human-readable description |
rule.severity | Finding severity level |
type | Asset classification |
name | Algorithm/protocol name |
primitive | Cryptographic primitive type |
mode | Mode of operation (for block ciphers) |
padding | Padding scheme used |
Example Output
Use Cases
- Integration with SCANOSS platform
- Custom analysis pipelines
- Detailed cryptographic asset tracking
- Security auditing and compliance
CycloneDX Format
CycloneDX 1.6 compatible Cryptography Bill of Materials format for standardised reporting.Features
- Schema Validation: Validates against CycloneDX 1.6 specification
- Standardized Components: Maps cryptographic assets to standardized component types
- Rich Metadata: Includes algorithm properties, evidence, and provenance
- Industry Standard: Compatible with CycloneDX ecosystem tools
Supported Asset Types
| Type | Description |
|---|---|
algorithm | Cryptographic algorithms (AES, RSA, SHA-256, etc.) |
certificate | Digital certificates and certificate chains |
protocol | Cryptographic protocols (TLS, SSH, etc.) |
related-crypto-material | Keys, seeds, nonces, and other crypto material |
Generate
Example Output
Converting Formats
Use theconvert command to transform interim JSON to CycloneDX:
Integration
CycloneDX CBOM output can be consumed by:- Dependency track systems
- Software Bill of Materials (SBOM) aggregators
- Security scanning platforms
- Compliance reporting tools
- Supply chain risk management systems
Format Comparison
| Feature | Interim JSON | CycloneDX CBOM |
|---|---|---|
| Ecosystem | SCANOSS-specific | Industry standard |
| Detail Level | High (includes code snippets) | Medium (structured metadata) |
| File Size | Larger | Smaller |
| Best For | Deep analysis, custom tooling | Compliance, integration, reporting |
| Schema | SCANOSS interim spec | CycloneDX 1.6 |
| Validation | SCANOSS tools | CycloneDX validators |