Skip to main content

bsikompendium 0.2.0

Native Offline-Prüfungen für BSI IT-Grundschutz: 1.835 aktive Anforderungen, 111 individuelle Bausteinmodellierungen und 83 Methodenschritte nach BSI 200-1/200-2/200-3 sind implementiert und auf Bereichsebene unabhängig gegen Quellen geprüft. Die Paketprüfergebnisse werden im versionierten Abnahmebericht des Projekts geführt. Eine Veröffentlichung ist nicht erfolgt. Python ab 3.10; keine Laufzeitabhängigkeiten.

Lokal installieren und prüfen

Aus diesem Paketverzeichnis:

python3 -m pip install .
import bsikompendium as b

vertrag = b.fachlicher_eingabevertrag("ORP.3.A6")
befund = b.pruefe_fachregel("ORP.3.A6", {
    "mitarbeitende": {
        "vollstaendig": True,
        "objekte": [{"geschult_aufgaben": True, "geschult_verantwortung": False}],
    }
})
assert befund["befund"] == "TEILWEISE_ERFUELLT"
assert befund["bekannte_maengel"] == ["ORP.3.A6.K2"]

Die Tatsachen beziehen sich auf Schulungsinhalt, Aufgaben und Verantwortung der konkreten Mitarbeitenden. Die Library berechnet den Befund aus den Einzelpflichten; ein pauschales Nutzer-Endurteil wird nicht verlangt. Felddefinitionen nennen Nachweisgegenstand und gegebenenfalls fachlichen Bewertungsmaßstab.

Modellierung, Methodik und Risiko

methodenschritte() liefert 194 IDs: 111 BSIMODELL.*-Modelle und 83 Schritte der Standards BSI2001.*, BSI2002.*, BSI2003.*. methodischer_eingabevertrag(id) beschreibt ihre Eingaben; pruefe_methodenschritt(id, angaben) prüft sie nativ. bewerte_risiko() schlägt Häufigkeit und Schaden in der ausdrücklich gewählten Matrix nach. Die mitgelieferte BSI-Beispielmatrix ist keine allgemeine Vorgabe für jede Institution. pruefe_risikoverlauf() verbindet diese Berechnung mit tatsächlicher bzw. erst geplanter Risikobehandlung.

Das Beispiel individueller_pruefablauf verbindet Fahrzeugmodellierung, Analysebedarf, Matrixeinstufung und die Diebstahlschutzpflicht INF.11.A12:

python3 examples/individueller_pruefablauf.py examples/individueller_pruefablauf.json

Die identische JSON-Datei kann dem gleichnamigen R-Beispiel übergeben werden. Erwartet werden eine erfüllte Modellierung, erforderliche zusätzliche Risikoanalyse, Risikokategorie HOCH und eine teilweise erfüllte Fachpflicht mit Mangel INF.11.A12.K1. Das ist eine ausgewählte Prüfung, kein Gesamturteil über die Sicherheit des Fahrzeugs.

Daten und Grenzen

Objekte sind dict, Arrays list. None oder fehlende Angaben bedeuten unbekannt; False ist ein bekannter falscher Sachverhalt. Objektmengen enthalten objekte und eine ausdrückliche Angabe vollstaendig. Entscheidungsrelevante unbekannte Eingaben können keine positive Gesamtbewertung erzeugen; feststehende Mängel bleiben sichtbar. Ungültige Daten lösen Eingabefehler mit code="EINGABE_UNGUELTIG" aus.

eingabevertrag() und pruefe_anforderung() sind Legacy-Funktionen für Absatz-Selbstauskünfte. Das alte Beispiel kundenportal verwendet diesen Ablauf; es gehört nicht zur individuellen Anforderungsabdeckung von 0.2. Spezialisierte Teilprüfungen ersetzen ebenfalls keine vollständige Fachregel.

Quellenstand: Kompendium 2023 mit Errata vom 26.03.2026; BSI-Standards 200-1/200-2/200-3 jeweils Version 1.0 und dokumentierte ergänzende Verweise. Die Library läuft ohne Netzbetrieb oder Telemetrie, liest keine Nachweisdateien und schreibt keine Nutzerdaten. Die Beispielprogramme lesen ausdrücklich ihre JSON-Eingabe. Ein positiver Befund beruht auf den erhobenen Tatsachen und ist keine BSI-Zertifizierung.

Lizenz: Apache-2.0. Copyright RiskDataScience GmbH. Maintainer: Dr. Dimitrios Geromichalos, riskdatascience@web.de.

Metadata

Release files for bsikompendium 0.2.0

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

Source distribution (sdist)

Source distribution for bsikompendium 0.2.0
File Size Uploaded Provenance Actions
bsikompendium-0.2.0.tar.gz 2.3 MB With provenance Details for bsikompendium-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bsikompendium 0.2.0
File Interpreter ABI Platform Actions
bsikompendium-0.2.0-py3-none-any.whl Python 3 none any Details for bsikompendium-0.2.0-py3-none-any.whl

Total release size: 3.6 MB

Release files / bsikompendium-0.2.0.tar.gz

Download URL bsikompendium-0.2.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
7a94045d3fc900733fde08becf889cb7be4f094f04233e5aab03a7784315f700
BLAKE2b-256 checksum
How to use checksums
8f0bd8a2a1baf50553287f3355338a36483fd616750c0ef92751e5846159325e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / bsikompendium-0.2.0-py3-none-any.whl

Download URL bsikompendium-0.2.0-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
bf5527c69596e5a033855564f35671ad9f3b147b350d23b89680c06b34630f9b
BLAKE2b-256 checksum
How to use checksums
c58cd0189f0984dc3fbe2f475126d2cb20b234ac8554c4f8e3670beb4eacb02b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for bsikompendium 0.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bsikompendium-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

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.2.0 This release

2 release files Full 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