Skip to main content

Salt Extension for Andrisoft WANGuard

Manage Andrisoft WANGuard from Salt, through its REST API.

Provides:

  • an execution module and a runner for reading and manipulating roles, users, IP zones, threshold templates, responses, whitelist templates, BGP connectors, servers, sensors, filters, decoders, anomalies and more, plus generic verbs and a query escape hatch for any endpoint without a dedicated wrapper;
  • states for the configuration objects that make sense to manage declaratively, all supporting test=True.
salt '*' wanguard.list_roles
salt '*' wanguard.get_role role_name=Guest
Wanguard Guest role:
  wanguard.role_present:
    - name: Guest
    - description: Read-only access

Requires the wanrestapi package on the WANGuard Console and an account with REST API access enabled. See the User Documentation for setup.

Security

If you discover a security vulnerability, please refer to Salt's security guide.

User Documentation

For setup and usage instructions, please refer to the User Documentation.

Contributing

The saltext-wanguard project welcomes contributions from anyone!

The Salt Extensions guide provides comprehensive instructions on all aspects of Salt extension development, including writing tests, running tests, writing documentation and rendering the docs.

Quickstart

To get started contributing, first clone this repository (or your fork):

# Clone the repo
git clone --origin upstream git@gitlab.com:ggiesen/saltext-wanguard.git

# Change to the repo dir
cd saltext-wanguard

Automatic

If you have installed direnv, copying the included .envrc.example to .envrc and allowing it to run ensures a proper development environment is present and the virtual environment is active.

Without direnv, you can still run the automation explicitly:

make dev  # or python3 tools/initialize.py
source .venv/bin/activate

Manual

Please follow the first steps, skipping the repository initialization and first commit.

Ways to contribute

Contributions come in many forms, and they're all valuable! Here are some ways you can help without writing code:

  • Documentation: Especially examples showing how to use this project to solve specific problems.
  • Triaging issues: Help manage issues.

You can also contribute by:

  • Writing blog posts
  • Sharing your experiences using Salt + Andrisoft WANGuard on social media
  • Giving talks at conferences
  • Publishing videos
  • Engaging in IRC, Discord or email groups

Any of these things are super valuable to our community, and we sincerely appreciate every contribution!

Metadata

Release files for saltext.wanguard 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for saltext.wanguard 0.1.1
File Size Uploaded Provenance Actions
saltext_wanguard-0.1.1.tar.gz 111.2 kB Without provenance Details for saltext_wanguard-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for saltext.wanguard 0.1.1
File Interpreter ABI Platform Actions
saltext_wanguard-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for saltext_wanguard-0.1.1-py2.py3-none-any.whl

Total release size: 144.0 kB

Release files / saltext_wanguard-0.1.1.tar.gz

Download URL saltext_wanguard-0.1.1.tar.gz
Size 111.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1c63b52e32d0e1a4eaa8dd3b7c91e2ba98cff0a020533bdda3fc33683ae1ff86
BLAKE2b-256 checksum
How to use checksums
9e9e80e66f98c9eaf90a9c2559fdc1dba68ed71d8449bc549191382ba32b7841
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / saltext_wanguard-0.1.1-py2.py3-none-any.whl

Download URL saltext_wanguard-0.1.1-py2.py3-none-any.whl
Size 32.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6bb10673687df3739e2fc882172096d0f97406aa8d40de2b6733ae354ec81bb8
BLAKE2b-256 checksum
How to use checksums
946e36ccce03bbea9c3db5d0fbaf70e2b5cf9dc668af5e2414d1b0ac19f74fa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.13

Security for saltext.wanguard 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page