AppThreat / AppThreat/vulnerability-db

sanity tests for vdb publish

Open
#186 0 comments 0 reactions 0 assignees View on GitHub
sponsor this
Dominant language
Python
Stars
151
Forks
23
Avg merge
22m
Merged PRs (30d)
7

Description

Inspired by the Crowdstrike event, where a file containing only zeros got pushed to all users. We need some tests to prevent an empty or corrupted SQLite database from getting published to the VDB repo. We currently have a metadata file that has some [counts](https://github.com/AppThreat/vulnerability-db/blob/e0e3ec87efa18fb63c57a57c6020301add99fb0f/vdb/cli.py#L211). But best to have a range of queries based on some types, namespaces, and names.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.