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.0a1.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.0a1-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kcwarden-0.1.0a1.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.0a1.tar.gz
Algorithm Hash digest
SHA256 5db38e819e723411b6d26d50a1e80c3b3a1721812282bec94aa4dc59885386de
MD5 7a9115710a74c24887666698de5ba5c8
BLAKE2b-256 7b4e368ff656163d8c8dac0da8d904b6927cda7e25afd8da34dbb92b88678d92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kcwarden-0.1.0a1-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.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 c05972d5782c33221f001117c4699f65fe542b0c3c6a9b37982971f5f8de0b0f
MD5 9ca4c2cb5fc385511020b548313afb32
BLAKE2b-256 ae679acd5c6feeb6d24c57f4e3dc86408c57a5f6c07e0bb414ca362774a3e3ec

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