Skip to content

feat: add stdin support for linting CVE records (Issue #26) - #27

Merged
mprpic merged 1 commit into
mainfrom
feat/stdin-support
Jul 27, 2026
Merged

feat: add stdin support for linting CVE records (Issue #26)#27
mprpic merged 1 commit into
mainfrom
feat/stdin-support

Conversation

@mprpic

@mprpic mprpic commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Allow reading CVE JSON from standard input, either by piping data directly or by passing "-" as the file argument. The CVE ID is extracted from cveMetadata.cveId in the JSON content, falling back to "" when absent.

Fixes #26

Allow reading CVE JSON from standard input, either by piping data
directly or by passing "-" as the file argument. The CVE ID is
extracted from cveMetadata.cveId in the JSON content, falling back
to "<unknown>" when absent.

Fixes #26

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Martin Prpič <martin.prpic@gmail.com>
@mprpic
mprpic force-pushed the feat/stdin-support branch from 0481818 to 3f71988 Compare July 27, 2026 23:50
@mprpic
mprpic merged commit ca04d6d into main Jul 27, 2026
1 check passed
@mprpic
mprpic deleted the feat/stdin-support branch July 27, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow running on STDIN

1 participant