michael hohn c5b25628d6 Add hepc-serve-global and stabilize container startup
- Introduce hepc-serve-global to serve global MRVA values from
  hohnlab.org/mrva/values without local DB provisioning.
- Keep schema initialization symmetric across server and agent, while
  serializing PostgreSQL DDL via a global advisory lock to prevent
  concurrent CREATE TABLE races.
- Pin RabbitMQ image to rabbitmq:3.13.7-management to avoid credential
  incompatibilities introduced by upstream image changes.
- Remove pre-hashed RabbitMQ credentials and return to deterministic
  user/password initialization.
- Eliminate reliance on implicit container state to ensure reproducible
  startup.

The primary purpose of this change is integration of global MRVA values;
the remaining fixes are required to make the new startup path reliable.
2026-01-08 16:17:34 -08:00
2023-03-16 14:13:04 +01:00
2023-10-26 12:51:04 +02:00
2023-09-11 16:57:59 +02:00
2024-02-05 11:51:20 -08:00
2025-05-19 13:45:54 -07:00
2024-01-29 12:04:52 -08:00
2024-01-24 11:50:21 -08:00
2025-08-19 11:23:48 -07:00
2025-08-19 11:23:48 -07:00
2024-02-05 11:51:20 -08:00
2024-01-29 12:04:52 -08:00
2023-04-21 13:43:20 +02:00
2024-02-16 17:44:56 -08:00
2025-08-19 11:23:48 -07:00
2023-10-26 12:58:03 +02:00
2024-02-05 11:51:20 -08:00
2024-01-29 12:04:52 -08:00

gh-mrva

This is an unofficial tool and is not officially supported by GitHub.

Configuration

A configuration file will be created in ~/.config/gh-mrva/config.yml. The following options are supported:

  • codeql_path: Path to CodeQL distribution (checkout of codeql repo)
  • controller: NWO of the MRVA controller to use
  • list_file: Path to the JSON file containing the target repos

Usage

Submit a new query

gh mrva submit [--codeql-path<path to CodeQL repo>] [--controller <controller>] --language <language> --session <session name> [--list-file <list file>] --list <list> [--query <query> | --query-suite <query suite> ]

Note: codeql-dist, controller and list-file are only optionals if defined in the configuration file

Download the results

gh mrva download --session <session name> --output-dir <output directory> [--download-dbs] [--nwo <owner/repo>]

List sessions

gh mrva list [--json]

Check scan status

gh mrva status --session <session name> [--json]

Contributing

gh-mrva is a work in progress. If you have ideas for new fixes or improvements, please open an issue or pull request.

If possible, tests should be added for any new fixes. We favour testing with real file systems or processes where possible.

Releasing

Releasing is currently done via tags. To release a new version, create a new tag and push it to the remote. The release workflow will automatically build and publish the new version.

e.g.

# Determine the latest tag
git tag -l | sort -V | tail -n 1

# Create a new tag
git tag -a v0.0.2 -m "Release v0.0.2"

# Push the tag to the remote
git push origin --tags
Description
No description provided
Readme MIT 13 MiB
Languages
Go 99%
CodeQL 1%