Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: OSV Scanner

on:
pull_request:
branches: [main]
merge_group:
branches: [main]
push:
branches: [main]
schedule:
- cron: '0 3 * * *'
workflow_dispatch:

permissions:
actions: read
contents: read
security-events: write

jobs:
scan-pr:
if: (github.event_name == 'pull_request' && github.event.pull_request.draft == false) || github.event_name == 'merge_group'
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@v2.3.2

scan-scheduled:
if: github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.3.2
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ARIA Metadata Management Plugin Library

[![OSV Scanner](https://github.com/FragmentScreen/ddapi-record-logs/actions/workflows/osv-scanner.yml/badge.svg)](https://github.com/FragmentScreen/ddapi-record-logs/actions/workflows/osv-scanner.yml)

This is a stub plugin library for the **ARIA metadata management service**, specifically designed for handling LOGS metadata.

For more information, visit: https://gitlab.com/aria-php/data-deposition-api
Expand All @@ -8,3 +10,25 @@ For more information, visit: https://gitlab.com/aria-php/data-deposition-api

This stub plugin provides a foundation for integrating LOGS metadata handling with the ARIA metadata management system.

## Security Scanning

This repo uses [OSV Scanner](https://github.com/google/osv-scanner) for vulnerability detection.

**When it runs:**
- Daily at 03:00 UTC (full scan)
- On PRs targeting main (changed deps only)
- On push to main (full scan)

**If vulnerabilities are found:**
1. Check the [Security tab](../../security) for alerts
2. To ignore false positives, add entries to `osv-scanner.toml`:
```toml
[[IgnoredVulns]]
id = "GHSA-xxxx-xxxx-xxxx"
reason = "Justification"
```

**References:**
- [OSV Scanner docs](https://google.github.io/osv-scanner/)
- [GitHub Action](https://github.com/google/osv-scanner-action)
- [OSV Database](https://osv.dev/)
2 changes: 2 additions & 0 deletions osv-scanner.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# OSV Scanner configuration
# https://google.github.io/osv-scanner/configuration/
Loading