Skip to main content

Integrity-Authenticity-Confidentiality-Key management cybersecurity framework

Project description

IACK Framework

IACK is an Integrity-Authenticity-Confidentiality-Key management framework for cybersecurity assessment and validation.

Install

python -m pip install -e .

CLI usage

The IACK package exposes four CLI commands for validation, scoring, CSF mapping, and report generation.

python -m pip install -e .
iack-validate .\examples\assessment-input.json
iack-score .\examples\assessment-input.json
iack-map-csf .\examples\assessment-input.json
iack-report .\examples\assessment-input.json

Output files

  • data/output/assessment_result.json
  • data/output/assessment_result.csv
  • data/output/assessment_result.md
  • data/output/assessment_result_mapped.json

Assessment flow

import json
from pathlib import Path

from iack.validators.assessment_validator import validate_assessment
from iack.metrics.model import score_assessment
from iack.mappings.csf_mapping import apply_csf_mapping
from iack.outputs.report_writer import write_json, write_csv, write_markdown

input_path = Path("examples/assessment-input.json")
data = json.loads(input_path.read_text(encoding="utf-8-sig"))

errors = validate_assessment(data)
if errors:
    raise ValueError(f"Assessment validation failed: {errors}")

result = score_assessment(data)
mapped_result = apply_csf_mapping(result)

output_dir = Path("data/output")
output_dir.mkdir(parents=True, exist_ok=True)

write_json(output_dir / "assessment_result.json", mapped_result)
write_csv(output_dir / "assessment_result.csv", mapped_result["metric_results"])
write_markdown(output_dir / "assessment_result.md", mapped_result)

Example inputs

  • examples/assessment-input.json
  • examples/expected-output.json

Run tests

pytest

Package layout

The installable package lives under src/iack/. Root-level files such as README.md, pyproject.toml, tests/, and examples/ support packaging, documentation, and validation.

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

iack_framework-0.2.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

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

iack_framework-0.2.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file iack_framework-0.2.0.tar.gz.

File metadata

  • Download URL: iack_framework-0.2.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for iack_framework-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a77c599a085ff99e47ff1fa57345c15af7c09b14992e8a8f76c23a8f0086d2ab
MD5 1e9bdb86d5fd51aaf5d675eb4bd8f46f
BLAKE2b-256 5f030579c0f89663dab8f997615808cde7a5899c3e138cf7b38e8bbc3cf918b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for iack_framework-0.2.0.tar.gz:

Publisher: publish.yml on Anthonybryan2021/iack-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file iack_framework-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: iack_framework-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for iack_framework-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13f0c5d722db771c02f9ed7afa444bb505780d2a9494018f6a6f3f8d8377f34c
MD5 1f7c86d6304572f1b1973bedb2f434f1
BLAKE2b-256 926a815e02ce49d028598914cfe89c7529786ff0bccb32138f0d58257a6d91ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for iack_framework-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Anthonybryan2021/iack-framework

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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