Airgap SAK (Swiss Army Knife)
This Python script automates the backup and restore processes for Anchore databases deployed in a Kubernetes cluster.
Prerequisites
- Python 3.x
- (If running a backup or restore)
kubectlcommand-line tool installed and configured to access the Kubernetes cluster where Anchore is deployed.
Usage
pip3 install airgap- Run the tool with appropriate arguments:
airgap [-b or -r] [-n NAMESPACE] [-f FEEDDB_BACKUP_NAME] [-e FEEDDB_NAME]
airgap --clamav
Command-line Arguments
-b: Perform a backup (default action).-r: Perform a restore.-c or --clamav: Download the latest ClamAV DB.-n,--namespace: The namespace in which Anchore is deployed. Defaults to anchore.-f,--feeddb: The filename to backup/restore the Anchore feed database.-e,--feeddb-name: The name of the feeds database. Defaults to anchore-feeds. Only used during backup.
Metadata
Release files for airgap 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| airgap-0.1.0.tar.gz | 4.6 kB | Without provenance | Details for airgap-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| airgap-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for airgap-0.1.0-py3-none-any.whl |
Total release size: 9.7 kB
Release files / airgap-0.1.0.tar.gz
| Download URL | airgap-0.1.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a743331e2a9e8eacfe25290844ba8783a700d2c17bbd933317cf8ff99e4f97b8
|
|
BLAKE2b-256 checksum How to use checksums |
4a067c90c7f5cb4a2061f91536348f1c81e6b5eb82e308cd8ec3e1b203ab8b91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / airgap-0.1.0-py3-none-any.whl
| Download URL | airgap-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
904da721eb9264f1f1bbf7265eba178b942ae1a4122a1694de15e94d4f26f398
|
|
BLAKE2b-256 checksum How to use checksums |
01a56bb0b57609679a3d8a69925f6770a0803033f4ac35664b425a5e184583c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for airgap 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.