Skip to main content

buildbot-netauth

NetAuth authentication, user info, and avatar plugin for buildbot

Usage

  1. Install the plugin, for example: pip install buildbot-netauth

  2. In your buildmaster.cfg, add:

from buildbot.plugins import util

netauth = util.BuildbotNetAuth(conf=Path("/etc/netauth/config.toml"))

# in your buildmaster config object
c["www"]["auth"] = netauth
c["www"]["avatar_methods"] = [netauth, ...]

Notes

The plugin looks at the following metadata on NetAuth entities:

  • entity ID: used as an "email" in the format entity_id@domain. domain is the base domain of the NetAuth server, but is overridable.
  • entity display name or legal name: if set, will be used for the full_name buildbot user property in that fallback order
  • entity group membership: used for the groups buildbot user property and can be used for buildbot authz, for example:
from buildbot.plugins import util

c["www"]["authz"] = util.Authz(
    allowRules=[
        util.AnyEndpointMatcher(role="ops", defaultDeny=False),
        util.AnyControlEndpointMatcher(role="ops"),
    ],
    roleMatchers=[
        util.RolesFromGroups(groupPrefix="build-"),
    ]
)

Metadata

Release files for buildbot-netauth 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 buildbot-netauth 0.1.1
File Size Uploaded Provenance Actions
buildbot_netauth-0.1.1.tar.gz 45.7 kB Without provenance Details for buildbot_netauth-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for buildbot-netauth 0.1.1
File Interpreter ABI Platform Actions
buildbot_netauth-0.1.1-py3-none-any.whl Python 3 none any Details for buildbot_netauth-0.1.1-py3-none-any.whl

Total release size: 50.0 kB

Release files / buildbot_netauth-0.1.1.tar.gz

Download URL buildbot_netauth-0.1.1.tar.gz
Size 45.7 kB
Tags Source
SHA-256 checksum
How to use checksums
817f4eb05c6130ae19851a95692ccd8fafa2702cbe069fd725eb55136ac8897e
BLAKE2b-256 checksum
How to use checksums
c3f204de2ec38eee928467cd3739605251d3d142cc6f133618b7d2a2723cce1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.4

Release files / buildbot_netauth-0.1.1-py3-none-any.whl

Download URL buildbot_netauth-0.1.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a75f5fa2354453b8cbf6a572b20faf219cac8646c837c99d76430699a5aed5fb
BLAKE2b-256 checksum
How to use checksums
95d19ed16b107f0779cf63184382f2eaa8454755d5d48f8abf237fff19c2536b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.4

Security for buildbot-netauth 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