Skip to main content

Keycloak auditor

Project description

kcwarden - Keycloak Configuration Auditor

kcwarden checks your Keycloak configuration for common misconfigurations and security vulnerabilities.

Installation and Usage

Please see our documentation on the project website.

Development

Docker Image

To build a Docker image with a bundled kcwarden, you can use:

docker build -f Docker/Dockerfile -t kcwarden:0.0.1 .

or

buildah build -f Docker/Dockerfile -t kcwarden:0.0.1 .

It uses a multi-stage build to first build the application as Python wheel and afterwards install this wheel in a second image.

Tests

The unit tests can be run with poetry run pytest.

The integration tests that actually start Keycloak containers using Docker can be executed with poetry run pytest --integration. The Keycloak versions for which the tests are executed can be found in conftest.py. It can be overridden by setting the environment variable INTEGRATION_TEST_KEYCLOAK_VERSIONS to a space-separated list of Keycloak container image tags (see quay.io).

Build the Docs

The documentation is created using MkDocs and lives in the docs directory. The dependencies for MkDocs can be installed using this command: poetry install --with docs. Afterward, the documentation can be built using poetry run mkdocs build. The static output is then located in the site directory. A development server that serves the documentation, watches for changes and automatically re-creates the site can be spun up using poetry run mkdocs serve.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kcwarden-0.1.0a0.tar.gz (42.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kcwarden-0.1.0a0-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

File details

Details for the file kcwarden-0.1.0a0.tar.gz.

File metadata

  • Download URL: kcwarden-0.1.0a0.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for kcwarden-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 afe39b955c78c57d0703236b60e73cee29cda60a3f844d8a07a2b03e9cb891e5
MD5 46b19168ad32f22e06e204866847b36c
BLAKE2b-256 fed049278516664a1444dd9e338d80ef28a0eab86dfb922eaba97bef51ca5a02

See more details on using hashes here.

File details

Details for the file kcwarden-0.1.0a0-py3-none-any.whl.

File metadata

  • Download URL: kcwarden-0.1.0a0-py3-none-any.whl
  • Upload date:
  • Size: 73.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for kcwarden-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 088ce9f8d8480f4ab1eb4736dd59d9e1368ded6f555027d7e946a3037a735673
MD5 e2c4253e8e5622b46b2a9f4248589a3b
BLAKE2b-256 0ef63fc1446458e538f5e9acb7777ae54d5894d93682997db2f0cc27a861fbae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page