Description
Synchronize with the Haskell security advisory database.
README.md
hsec-sync
Synchronize with the Haskell advisories database.
Building
We aim to support both regular cabal-based and nix-based builds.
Design
hsec-tools is the main entry point for dealing with security advisories.
Libraries implementors and services providers will mainly be interested by Security.Advisories.Queries and hsec-tools query which allows querying against a directory containing the advisories.
There are two ways for maintaining this local directory up-to-date:
- Manually (based on
gitof fetching archive from GitHub) - Relying on
hsec-sync(either viaSecurity.Advisories.Sync.syncorhsec-sync sync)

The recommended workflow is:
- Use
hsec-syncto ensure having an up-to-date advisories directory (created or updated) - Use
hsec-toolsto perform queries against it.
