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.0.1.tar.gz (108.2 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.0.1-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

File details

Details for the file kcwarden-0.0.1.tar.gz.

File metadata

  • Download URL: kcwarden-0.0.1.tar.gz
  • Upload date:
  • Size: 108.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for kcwarden-0.0.1.tar.gz
Algorithm Hash digest
SHA256 32763911d60768660e89ce7e887a2ea46a7576d220e2bc7605c91d2a4f270842
MD5 0ee6130f00ec49373407252b587bfe16
BLAKE2b-256 42060f864d003decf574864cd6bdbb3297c0a48b786fcb1a34260591271d9e2a

See more details on using hashes here.

File details

Details for the file kcwarden-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: kcwarden-0.0.1-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.5

File hashes

Hashes for kcwarden-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 252e8d3df41a81c52fa14599a6e7ce07fee0c3044a64d0ea937ed979f7348adf
MD5 6423a22f12e97be17310f20054808a9c
BLAKE2b-256 7b9e9c42c1452d9ae06683901230649b43a80440bf564aef2f45a9bd8df28965

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