~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/vuln-notif

0
0
main
28 lines · 1.4 KB Raw History
-- Cache seed for scripts/release-metadata-e2e.sh.
-- The script substitutes __DID__, __PROJECT_SLUG__, __PURL__, and __CVE_ID__
-- with the local account and expected values; it never contains credentials.
INSERT OR REPLACE INTO software
  (repo_did, slug, part, vendor, product, project_uri, project_cid, software_uri, software_cid, status, updated_at)
VALUES
  ('__DID__', '__PROJECT_SLUG__', 'a', 'acme', 'widget', '', '',
   'at://__DID__/com.nahdig.software/__PROJECT_SLUG__', 'bafysoftware', 'created', '2026-01-01T00:00:00.000Z');

INSERT OR REPLACE INTO software_purls
  (repo_did, purl, software_slug, purl_uri, purl_cid, status, updated_at)
VALUES
  ('__DID__', '__PURL__', '__PROJECT_SLUG__',
   'at://__DID__/com.nahdig.purl/acme-widget', 'bafypurl', 'created', '2026-01-01T00:00:00.000Z');

INSERT OR REPLACE INTO cves (id, last_modified, data, updated_at)
VALUES
  ('__CVE_ID__', '2026-01-01T00:00:00.000Z',
   '{"id":"__CVE_ID__","vulnStatus":"Analyzed"}',
   '2026-01-01T00:00:00.000Z');

INSERT OR REPLACE INTO links
  (repo_did, src_uri, src_collection, src_rkey, src_cid, path, subject_uri, subject_cid, indexed_at)
VALUES
  ('__DID__', 'at://__DID__/com.nahdig.cve.atprotoV1/__CVE_ID__',
   'com.nahdig.cve.atprotoV1', '__CVE_ID__', 'bafycve',
   'software[].project.uri', 'at://__DID__/software.release.project/__PROJECT_SLUG__',
   'bafyproject', '2026-01-01T00:00:00.000Z');