replimap 0.4.2__tar.gz → 0.4.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {replimap-0.4.2 → replimap-0.4.4}/PKG-INFO +1 -1
- {replimap-0.4.2 → replimap-0.4.4}/replimap/__init__.py +1 -1
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/engine.py +20 -5
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/audit.py +34 -8
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/codify.py +168 -6
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/errors.py +36 -1
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/utils/aws_session.py +54 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/utils/helpers.py +2 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/__init__.py +3 -2
- replimap-0.4.4/replimap/codify/coverage/__init__.py +56 -0
- replimap-0.4.4/replimap/codify/coverage/classify.py +112 -0
- replimap-0.4.4/replimap/codify/coverage/normalize.py +172 -0
- replimap-0.4.4/replimap/codify/coverage/report.py +205 -0
- replimap-0.4.4/replimap/codify/coverage/state_merge.py +210 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/generators/backend.py +10 -12
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/generators/imports.py +33 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/generators/output.py +52 -11
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/generators/readme.py +59 -24
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/cache_manager.py +59 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/drift/state_parser.py +10 -1
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/__init__.py +10 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/gates.py +78 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/manager.py +15 -4
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/models.py +30 -1
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/prompts.py +102 -2
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/verifier.py +18 -4
- {replimap-0.4.2 → replimap-0.4.4}/.gitignore +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/LICENSE +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/MANIFEST.in +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/README.md +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/docs/assets/demo.gif +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/docs/history/README.md +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/pyproject.toml +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/api.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/apra_cps234_mapping.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/checkov_runner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/classifier.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/exporters.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/fix_suggestions.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/hooks.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/models.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/nzism_mapping.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/rbnz_bs11_mapping.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/remediation/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/remediation/generator.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/remediation/models.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/remediation/templates/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/remediation/templates/ec2.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/remediation/templates/kms.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/remediation/templates/rds.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/remediation/templates/s3.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/renderer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/reporter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/soc2_mapping.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/templates/audit_report.html.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/terminal_reporter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/audit/trust_center.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cache/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cache/snapshots.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/analyze.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/cache.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/clone.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/completion.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/cost.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/deps.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/doctor.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/dr.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/drift.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/explain.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/graph.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/iam.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/license.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/load.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/profiles.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/remediate.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/residency.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/scan.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/snapshot.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/transfer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/trends.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/trust_center.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/unused.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/upgrade.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/commands/validate.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/common_options.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/completers.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/completion.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/config.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/context.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/error_catalog.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/error_renderer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/output.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/params/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/params/definitions.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/params/registry.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/params/schema.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/state.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/telemetry.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/utils/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/utils/cache_resolution.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/utils/console.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/utils/console_links.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/utils/deprecation.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/utils/error_handler.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/utils/options.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cli/utils/tips.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/empty_pruner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/generators/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/generators/hcl.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/generators/variables.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/hcl_types.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/pipeline.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/schema_mapper.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/schema_rules.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/set_sorter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/base.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/cleanup_transformer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/data_source_filter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/default_filter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/global_filter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/iam_normalizer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/import_resolver.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/lifecycle_protector.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/managed_filter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/naming_transformer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/ref_transformer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/schema_filter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/secrets_transformer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transformers/sg_splitter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/transforms.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/type_caster.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/utils/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/codify/utils/config_integrity_checker.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/audit/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/audit/renderer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/codify_checker.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/compliance_tf_registry.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/data_residency.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/drift/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/drift/exemptions.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/drift/mapping.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/drift/report.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/compliance/drift/rules.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/analysis/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/analysis/centrality.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/async_aws.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/aws_config.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/bootstrap.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/browser.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/cache.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/circuit_breaker.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/concurrency.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/config.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/constants.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/context.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/enrichment/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/enrichment/enricher.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/enrichment/metadata_extractor.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/enrichment/network_analyzer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/errors.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/filters.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/first_run.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/formatters/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/formatters/sarif.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/graph/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/graph/algorithms.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/graph_engine.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/graph_tracer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/identity.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/identity_resolver.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/logging.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/models.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/naming.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/operations.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/pagination.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/pagination_config.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/rate_limiter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/resilience/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/resilience/circuit_breaker.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/resilience/errors/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/resilience/errors/classifier.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/resilience/errors/loader.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/resilience/errors/rules.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/retry.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/sanitizer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/scope.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/security/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/security/credential_checker.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/security/drift.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/security/global_sanitizer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/security/iam_generator.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/security/patterns.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/security/redactor.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/security/scrubber.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/security/session_manager.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/security/storage.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/selection.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/signals.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/state.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/storage.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/topology_constraints.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/unified_storage/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/unified_storage/adapter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/unified_storage/base.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/unified_storage/engine.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/unified_storage/migrate.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/core/unified_storage/sqlite_backend.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/constants.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/estimator.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/explorer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/local_rightsizer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/models.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/pricing.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/pricing_engine.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/reporter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/ri_aware.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/rightsizer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/transfer_analyzer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/trends.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/cost/unused_detector.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/data/field_hints.yaml +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/data/schema_rules.yaml +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/decisions/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/decisions/cli.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/decisions/manager.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/decisions/models.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/dependencies/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/dependencies/graph_builder.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/dependencies/impact_calculator.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/dependencies/models.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/dependencies/reporter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/dependencies/weights.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/asg.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/ec2.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/elasticache.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/elb.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/graph_fallback.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/iam_role.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/lambda_func.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/rds.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/s3.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/analyzers/security_group.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/base_analyzer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/blast_radius.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/implicit_resolver.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/models.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/deps/reporter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/dr/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/dr/readiness.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/drift/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/drift/comparator.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/drift/engine.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/drift/ignore.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/drift/models.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/drift/normalizer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/drift/reporter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/drift/templates/drift_report.html.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/extraction/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/extraction/hints.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/aggregation.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/builder.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/cost_overlay.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/cross_region.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/drift.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/environment.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/filters.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/formatters/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/formatters/d3.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/formatters/json_format.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/formatters/mermaid.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/global_context.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/grouper.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/layout.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/link_classification.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/multi_region.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/naming.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/orphan_detection.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/summary_links.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/templates/graph.html.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/tool_modes.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/views.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/graph/visualizer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/cache.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/ci_adapter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/crypto/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/crypto/keys.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/crypto/time_validator.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/fingerprint.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/secure_models.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/licensing/tracker.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/main.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/mcp_server.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/migrations/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/migrations/sanitize_cache.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/patterns/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/patterns/local_module.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/recovery/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/recovery/actions.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/recovery/engine.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/recovery/gray_zone.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/audit_annotator.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/backend.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/base.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/cloudformation.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/file_router.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/import_generator.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/name_generator.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/preloader.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/pulumi.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/refactoring.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/terraform.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/terraform_v2.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/renderers/variable_extractor.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/async_base.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/async_vpc_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/base.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/compute_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/ec2_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/elasticache_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/iam_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/implementations/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/implementations/s3_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/implementations/vpc_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/incremental.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/legacy_adapter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/messaging_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/monitoring_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/networking_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/rds_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/s3_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/storage_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/unified_base.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/unified_scanners.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/scanners/vpc_scanner.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/snapshot/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/snapshot/differ.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/snapshot/models.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/snapshot/reporter.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/snapshot/store.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/autoscaling_group.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/db_parameter_group.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/db_subnet_group.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/ebs_volume.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/ec2_instance.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/elasticache_cluster.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/elasticache_subnet_group.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/internet_gateway.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/launch_template.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/lb.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/lb_listener.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/lb_target_group.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/nat_gateway.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/network_acl.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/rds_instance.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/route_table.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/s3_bucket.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/s3_bucket_policy.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/security_group.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/sns_topic.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/sqs_queue.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/subnet.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/vpc.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/templates/vpc_endpoint.tf.j2 +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/transformers/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/transformers/base.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/transformers/downsizer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/transformers/network_remapper.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/transformers/renamer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/transformers/sanitizer.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/ui/__init__.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/ui/console.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/ui/rich_output.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/ui/snapshot_panels.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/replimap/ui/snapshot_tables.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/scripts/check_stdout_hygiene.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/scripts/record_cassettes.py +0 -0
- {replimap-0.4.2 → replimap-0.4.4}/scripts/verify_compliance_tf_subdomains.py +0 -0
|
@@ -85,7 +85,8 @@ class AuditEngine:
|
|
|
85
85
|
report_path: Path,
|
|
86
86
|
skip_scan: bool = False,
|
|
87
87
|
graph: GraphEngine | None = None,
|
|
88
|
-
|
|
88
|
+
write_report: bool = True,
|
|
89
|
+
) -> tuple[CheckovResults, Path | None]:
|
|
89
90
|
"""
|
|
90
91
|
Run the complete audit workflow.
|
|
91
92
|
|
|
@@ -94,9 +95,16 @@ class AuditEngine:
|
|
|
94
95
|
report_path: Path for the HTML report
|
|
95
96
|
skip_scan: Skip AWS scanning (use provided graph)
|
|
96
97
|
graph: Pre-scanned graph (optional, used with skip_scan)
|
|
98
|
+
write_report: Whether to write the HTML report file to disk.
|
|
99
|
+
Defaults to True for backward compatibility. Callers gating
|
|
100
|
+
report export (Pro+ — see check_audit_report_allowed in
|
|
101
|
+
cli/commands/audit.py) pass False to still get full Checkov
|
|
102
|
+
scan results (score, findings, terminal summary) without
|
|
103
|
+
writing the report file.
|
|
97
104
|
|
|
98
105
|
Returns:
|
|
99
|
-
Tuple of (CheckovResults, report_path)
|
|
106
|
+
Tuple of (CheckovResults, report_path). report_path is None
|
|
107
|
+
when write_report is False.
|
|
100
108
|
|
|
101
109
|
Raises:
|
|
102
110
|
CheckovNotInstalledError: If Checkov is not installed
|
|
@@ -124,9 +132,16 @@ class AuditEngine:
|
|
|
124
132
|
# evaluated by Checkov, so the score does not cover them (B-4).
|
|
125
133
|
results.unscored_types = unscored_types
|
|
126
134
|
|
|
127
|
-
# Step 4: Generate HTML report
|
|
128
|
-
|
|
129
|
-
|
|
135
|
+
# Step 4: Generate HTML report (skipped when the Pro+ report-export
|
|
136
|
+
# gate denies — the full scan above still ran, so score/grade/
|
|
137
|
+
# findings remain available for the terminal summary either way)
|
|
138
|
+
report: Path | None
|
|
139
|
+
if write_report:
|
|
140
|
+
logger.info(f"Generating audit report: {report_path}")
|
|
141
|
+
report = self._generate_report(results, output_dir, report_path)
|
|
142
|
+
else:
|
|
143
|
+
logger.info("Skipping audit report file write (report export gate denied)")
|
|
144
|
+
report = None
|
|
130
145
|
|
|
131
146
|
logger.info(
|
|
132
147
|
f"Audit complete: Score={results.score}% Grade={results.grade} "
|
|
@@ -29,7 +29,11 @@ from replimap.cli.utils.deprecation import (
|
|
|
29
29
|
resolve_deprecated,
|
|
30
30
|
)
|
|
31
31
|
from replimap.core.browser import open_in_browser
|
|
32
|
-
from replimap.licensing import
|
|
32
|
+
from replimap.licensing import (
|
|
33
|
+
check_audit_ci_mode_allowed,
|
|
34
|
+
check_audit_fix_allowed,
|
|
35
|
+
check_audit_report_allowed,
|
|
36
|
+
)
|
|
33
37
|
from replimap.ui import print_audit_findings_fomo
|
|
34
38
|
|
|
35
39
|
if TYPE_CHECKING:
|
|
@@ -476,9 +480,17 @@ def _run_evidence_audit(
|
|
|
476
480
|
payload = renderer.render()
|
|
477
481
|
label = "Evidence report"
|
|
478
482
|
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
483
|
+
# Report file write is a Pro+ feature (check_audit_report_allowed) — the
|
|
484
|
+
# compliance mapping/renderer above always runs in full, so the terminal
|
|
485
|
+
# PASS/FAIL summary below stays free regardless of this gate.
|
|
486
|
+
report_gate = check_audit_report_allowed()
|
|
487
|
+
if report_gate.allowed:
|
|
488
|
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
|
489
|
+
out_path.write_text(payload)
|
|
490
|
+
output.success(f"{label}: {out_path.absolute()}")
|
|
491
|
+
else:
|
|
492
|
+
output.log("")
|
|
493
|
+
output.log(report_gate.prompt)
|
|
482
494
|
|
|
483
495
|
# JSON mode (V3 global --format json): present to stdout
|
|
484
496
|
if output.is_json:
|
|
@@ -895,6 +907,11 @@ def audit_command(
|
|
|
895
907
|
output_file.parent.mkdir(parents=True, exist_ok=True)
|
|
896
908
|
terraform_dir.mkdir(parents=True, exist_ok=True)
|
|
897
909
|
|
|
910
|
+
# Report file write (audit_report.html) is a Pro+ feature — the full
|
|
911
|
+
# Checkov scan below always runs regardless, so score/grade/findings
|
|
912
|
+
# (terminal summary) stay free either way.
|
|
913
|
+
report_gate = check_audit_report_allowed()
|
|
914
|
+
|
|
898
915
|
output.log("")
|
|
899
916
|
with Progress(
|
|
900
917
|
SpinnerColumn(),
|
|
@@ -909,6 +926,7 @@ def audit_command(
|
|
|
909
926
|
report_path=output_file,
|
|
910
927
|
skip_scan=True,
|
|
911
928
|
graph=graph,
|
|
929
|
+
write_report=report_gate.allowed,
|
|
912
930
|
)
|
|
913
931
|
except Exception as e:
|
|
914
932
|
from rich.panel import Panel
|
|
@@ -972,6 +990,7 @@ def audit_command(
|
|
|
972
990
|
],
|
|
973
991
|
"compliance_summary": compliance_summaries,
|
|
974
992
|
"report_path": str(report_path.absolute()) if report_path else None,
|
|
993
|
+
"report_export_allowed": report_gate.allowed,
|
|
975
994
|
"terraform_dir": str(terraform_dir.absolute()),
|
|
976
995
|
}
|
|
977
996
|
output.present(json_result)
|
|
@@ -1004,13 +1023,20 @@ def audit_command(
|
|
|
1004
1023
|
|
|
1005
1024
|
# Output paths
|
|
1006
1025
|
output.log("")
|
|
1007
|
-
|
|
1026
|
+
if report_gate.allowed:
|
|
1027
|
+
output.success(f"Report: {report_path.absolute()}")
|
|
1028
|
+
else:
|
|
1029
|
+
output.log(report_gate.prompt)
|
|
1008
1030
|
output.success(f"Terraform: {terraform_dir.absolute()}")
|
|
1009
1031
|
|
|
1010
|
-
# Open report in browser (only for HTML format
|
|
1032
|
+
# Open report in browser (only for HTML format, and only when a
|
|
1033
|
+
# report file was actually written)
|
|
1011
1034
|
if open_report:
|
|
1012
|
-
|
|
1013
|
-
|
|
1035
|
+
if report_gate.allowed:
|
|
1036
|
+
output.log("")
|
|
1037
|
+
open_in_browser(report_path, console=stderr_console)
|
|
1038
|
+
else:
|
|
1039
|
+
output.warn("Cannot open report: report export requires Pro+ plan")
|
|
1014
1040
|
|
|
1015
1041
|
# Generate remediation if requested (PRO+ feature)
|
|
1016
1042
|
if fix:
|
|
@@ -3,7 +3,8 @@ Codify command - Transform ClickOps AWS infrastructure into Terraform code.
|
|
|
3
3
|
|
|
4
4
|
V4.1 Brownfield Infrastructure Adoption:
|
|
5
5
|
- 11-stage transformation pipeline
|
|
6
|
-
-
|
|
6
|
+
- A Terraform adoption starting point (import scaffold): safe, maintainable
|
|
7
|
+
resource code, reviewed before you apply it
|
|
7
8
|
- Zero risk of data loss with lifecycle protection
|
|
8
9
|
|
|
9
10
|
V3 Architecture:
|
|
@@ -141,13 +142,33 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
141
142
|
help="Force fresh AWS scan (ignore cached graph)",
|
|
142
143
|
rich_help_panel="Cache & Performance",
|
|
143
144
|
),
|
|
145
|
+
# === Coverage Options ===
|
|
146
|
+
coverage_state: list[str] | None = typer.Option(
|
|
147
|
+
None,
|
|
148
|
+
"--coverage-state",
|
|
149
|
+
help=(
|
|
150
|
+
"Terraform state file(s) to compute IaC coverage against "
|
|
151
|
+
"(repeatable). Accepts local paths or s3://bucket/key URIs."
|
|
152
|
+
),
|
|
153
|
+
rich_help_panel="Coverage",
|
|
154
|
+
),
|
|
155
|
+
coverage_state_dir: Path | None = typer.Option(
|
|
156
|
+
None,
|
|
157
|
+
"--coverage-state-dir",
|
|
158
|
+
help=(
|
|
159
|
+
"Directory of *.tfstate files to compute IaC coverage against "
|
|
160
|
+
"(local paths only, not S3)"
|
|
161
|
+
),
|
|
162
|
+
rich_help_panel="Coverage",
|
|
163
|
+
),
|
|
144
164
|
) -> None:
|
|
145
|
-
"""Transform ClickOps AWS infrastructure into
|
|
165
|
+
"""Transform ClickOps AWS infrastructure into a Terraform adoption starting point.
|
|
146
166
|
|
|
147
167
|
\b
|
|
148
|
-
RepliMap Codify generates safe, maintainable Terraform
|
|
149
|
-
existing AWS infrastructure
|
|
150
|
-
|
|
168
|
+
RepliMap Codify generates a safe, maintainable Terraform import scaffold
|
|
169
|
+
from your existing AWS infrastructure — a starting point to review and
|
|
170
|
+
adapt, not a finished deployment. It includes lifecycle protection for
|
|
171
|
+
critical resources and handles complex import scenarios automatically.
|
|
151
172
|
|
|
152
173
|
\b
|
|
153
174
|
Features:
|
|
@@ -174,7 +195,16 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
174
195
|
\b
|
|
175
196
|
# Dry run to preview what would be generated
|
|
176
197
|
replimap codify -p prod -r us-east-1 --dry-run
|
|
198
|
+
\b
|
|
199
|
+
# Compute IaC coverage against existing Terraform state
|
|
200
|
+
replimap codify -p prod -r us-east-1 --coverage-state-dir ./terraform
|
|
201
|
+
\b
|
|
202
|
+
# Compute IaC coverage against state stored in S3
|
|
203
|
+
replimap codify -p prod -r us-east-1 \\
|
|
204
|
+
--coverage-state s3://my-tfstate-bucket/prod/terraform.tfstate
|
|
177
205
|
"""
|
|
206
|
+
import json
|
|
207
|
+
|
|
178
208
|
from replimap.cli.context import GlobalContext
|
|
179
209
|
from replimap.cli.output import OutputFormat, create_output_manager
|
|
180
210
|
from replimap.codify import CodifyOutputGenerator, get_codify_pipeline
|
|
@@ -343,6 +373,63 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
343
373
|
)
|
|
344
374
|
raise typer.Exit(EXIT_SUCCESS)
|
|
345
375
|
|
|
376
|
+
# IaC Coverage: snapshot the raw scan inventory and merge the
|
|
377
|
+
# supplied Terraform state(s) BEFORE the codify pipeline runs.
|
|
378
|
+
# Coverage must reflect what was actually scanned, not what the
|
|
379
|
+
# pipeline decides to filter/rewrite (default-skips, ref rewrites,
|
|
380
|
+
# etc.) - see replimap/codify/coverage/CLAUDE.md.
|
|
381
|
+
merged_state = None
|
|
382
|
+
coverage_inventory: list[tuple[str, str, str | None, dict[str, Any]]] | None = (
|
|
383
|
+
None
|
|
384
|
+
)
|
|
385
|
+
if coverage_state or coverage_state_dir:
|
|
386
|
+
from replimap.codify.coverage import (
|
|
387
|
+
collect_state_files,
|
|
388
|
+
is_s3_uri,
|
|
389
|
+
merge_states,
|
|
390
|
+
)
|
|
391
|
+
|
|
392
|
+
# --coverage-state accepts local paths and s3:// URIs in the same
|
|
393
|
+
# repeatable flag; split them here (s3:// as a Path would get
|
|
394
|
+
# mangled - Path("s3://b/k") collapses to "s3:/b/k").
|
|
395
|
+
coverage_state_local = [
|
|
396
|
+
Path(item) for item in (coverage_state or []) if not is_s3_uri(item)
|
|
397
|
+
]
|
|
398
|
+
coverage_state_s3 = [
|
|
399
|
+
item for item in (coverage_state or []) if is_s3_uri(item)
|
|
400
|
+
]
|
|
401
|
+
|
|
402
|
+
try:
|
|
403
|
+
state_paths = collect_state_files(
|
|
404
|
+
coverage_state_local, coverage_state_dir
|
|
405
|
+
)
|
|
406
|
+
except (FileNotFoundError, NotADirectoryError) as exc:
|
|
407
|
+
raise typer.BadParameter(str(exc)) from exc
|
|
408
|
+
|
|
409
|
+
if not state_paths and not coverage_state_s3:
|
|
410
|
+
location = coverage_state_dir or coverage_state
|
|
411
|
+
raise typer.BadParameter(f"No .tfstate files found in {location}")
|
|
412
|
+
|
|
413
|
+
with output.spinner("Merging Terraform states..."):
|
|
414
|
+
try:
|
|
415
|
+
merged_state = merge_states(
|
|
416
|
+
state_paths,
|
|
417
|
+
s3_uris=coverage_state_s3,
|
|
418
|
+
session=session,
|
|
419
|
+
)
|
|
420
|
+
except ValueError as exc:
|
|
421
|
+
raise typer.BadParameter(str(exc)) from exc
|
|
422
|
+
|
|
423
|
+
coverage_inventory = [
|
|
424
|
+
(
|
|
425
|
+
str(r.resource_type),
|
|
426
|
+
r.id,
|
|
427
|
+
(r.tags or {}).get("Name") or r.original_name or None,
|
|
428
|
+
r.config or {},
|
|
429
|
+
)
|
|
430
|
+
for r in graph.iter_resources()
|
|
431
|
+
]
|
|
432
|
+
|
|
346
433
|
# Load managed IDs from state file if provided
|
|
347
434
|
managed_ids: set[str] | None = None
|
|
348
435
|
if state_file:
|
|
@@ -384,6 +471,60 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
384
471
|
"files": {},
|
|
385
472
|
}
|
|
386
473
|
|
|
474
|
+
def _apply_coverage(write_to_disk: bool) -> None:
|
|
475
|
+
"""Build, display, and (Pro+, non-dry-run) persist coverage.json.
|
|
476
|
+
|
|
477
|
+
No-op entirely when no --coverage-state/--coverage-state-dir was
|
|
478
|
+
supplied - zero behavior change for callers who don't opt in.
|
|
479
|
+
"""
|
|
480
|
+
if merged_state is None or coverage_inventory is None:
|
|
481
|
+
return
|
|
482
|
+
|
|
483
|
+
from replimap.codify.coverage import (
|
|
484
|
+
build_coverage_report,
|
|
485
|
+
render_coverage_panel,
|
|
486
|
+
)
|
|
487
|
+
from replimap.licensing.gates import check_coverage_full_list_allowed
|
|
488
|
+
from replimap.licensing.prompts import format_coverage_list_blocked_prompt
|
|
489
|
+
|
|
490
|
+
report = build_coverage_report(coverage_inventory, merged_state)
|
|
491
|
+
gate = check_coverage_full_list_allowed()
|
|
492
|
+
|
|
493
|
+
output.panel(
|
|
494
|
+
render_coverage_panel(report, show_full_list=gate.allowed),
|
|
495
|
+
title="IaC Coverage",
|
|
496
|
+
border_style="cyan",
|
|
497
|
+
)
|
|
498
|
+
|
|
499
|
+
if not gate.allowed:
|
|
500
|
+
unmanaged_total = (
|
|
501
|
+
len(report.actionable)
|
|
502
|
+
+ len(report.embedded)
|
|
503
|
+
+ len(report.auto_created)
|
|
504
|
+
)
|
|
505
|
+
output.log(
|
|
506
|
+
format_coverage_list_blocked_prompt(
|
|
507
|
+
unmanaged_total, len(report.actionable)
|
|
508
|
+
)
|
|
509
|
+
)
|
|
510
|
+
|
|
511
|
+
if gate.allowed and write_to_disk:
|
|
512
|
+
coverage_path = output_dir / "coverage.json"
|
|
513
|
+
coverage_path.write_text(json.dumps(report.to_dict(), indent=2))
|
|
514
|
+
output.success(f"Coverage report written to {coverage_path}")
|
|
515
|
+
result_data["files"]["coverage.json"] = str(coverage_path)
|
|
516
|
+
|
|
517
|
+
if output.is_json:
|
|
518
|
+
if gate.allowed:
|
|
519
|
+
result_data["coverage"] = report.to_dict()
|
|
520
|
+
else:
|
|
521
|
+
result_data["coverage"] = {
|
|
522
|
+
"summary": report.to_dict()["summary"],
|
|
523
|
+
"actionable_counts_by_type": dict(
|
|
524
|
+
report.actionable_counts_by_type()
|
|
525
|
+
),
|
|
526
|
+
}
|
|
527
|
+
|
|
387
528
|
if dry_run:
|
|
388
529
|
# Show preview
|
|
389
530
|
preview_data = [
|
|
@@ -400,6 +541,8 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
400
541
|
border_style="yellow",
|
|
401
542
|
)
|
|
402
543
|
|
|
544
|
+
_apply_coverage(write_to_disk=False)
|
|
545
|
+
|
|
403
546
|
# In JSON mode, present the result data
|
|
404
547
|
if output.is_json:
|
|
405
548
|
output.present(result_data)
|
|
@@ -413,8 +556,15 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
413
556
|
)
|
|
414
557
|
written_files = generator.generate(graph, output_dir)
|
|
415
558
|
|
|
559
|
+
import_stats = generator.last_import_stats
|
|
560
|
+
|
|
416
561
|
# Update result data with files
|
|
417
562
|
result_data["files"] = {k: str(v) for k, v in written_files.items()}
|
|
563
|
+
result_data["imports"] = {
|
|
564
|
+
"written": import_stats.get("written", True),
|
|
565
|
+
"import_count": import_stats.get("import_count", 0),
|
|
566
|
+
"resource_type_count": import_stats.get("resource_type_count", 0),
|
|
567
|
+
}
|
|
418
568
|
|
|
419
569
|
# Show results table (to stderr)
|
|
420
570
|
file_data = [
|
|
@@ -447,17 +597,29 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
447
597
|
"[dim]See README.md for detailed instructions.[/]"
|
|
448
598
|
)
|
|
449
599
|
|
|
600
|
+
imports_line = ""
|
|
601
|
+
if not import_stats.get("written", True):
|
|
602
|
+
imports_line = (
|
|
603
|
+
f"\n[yellow]{import_stats.get('import_count', 0)} import blocks "
|
|
604
|
+
f"resolved across {import_stats.get('resource_type_count', 0)} "
|
|
605
|
+
"resource types (SQS URLs, ASG names, ALB ARNs, …) — "
|
|
606
|
+
"upgrade to Pro to write imports.tf[/]\n"
|
|
607
|
+
)
|
|
608
|
+
|
|
450
609
|
completion_content = (
|
|
451
610
|
f"[green]Generated {len(written_files)} files[/] in [bold]{output_dir}[/]\n\n"
|
|
452
611
|
f"Resources: [cyan]{final_count}[/]\n"
|
|
453
612
|
f"Protected: [cyan]{len(protected)}[/] (lifecycle {{ prevent_destroy = true }})\n"
|
|
454
|
-
f"Secrets: [cyan]{len(variables)}[/] (extracted to variables)\n
|
|
613
|
+
f"Secrets: [cyan]{len(variables)}[/] (extracted to variables)\n"
|
|
614
|
+
f"{imports_line}\n"
|
|
455
615
|
f"{next_steps}"
|
|
456
616
|
)
|
|
457
617
|
output.panel(
|
|
458
618
|
completion_content, title="Codify Complete", border_style="green"
|
|
459
619
|
)
|
|
460
620
|
|
|
621
|
+
_apply_coverage(write_to_disk=True)
|
|
622
|
+
|
|
461
623
|
# In JSON mode, present the final result
|
|
462
624
|
if output.is_json:
|
|
463
625
|
output.present(result_data)
|
|
@@ -24,7 +24,7 @@ import hashlib
|
|
|
24
24
|
import shlex
|
|
25
25
|
import sys
|
|
26
26
|
import traceback
|
|
27
|
-
from dataclasses import dataclass, field
|
|
27
|
+
from dataclasses import dataclass, field, replace
|
|
28
28
|
from datetime import UTC, datetime
|
|
29
29
|
from pathlib import Path
|
|
30
30
|
from typing import TYPE_CHECKING, Any
|
|
@@ -536,6 +536,41 @@ def enhanced_cli_error_handler(func: Callable[..., Any]) -> Callable[..., Any]:
|
|
|
536
536
|
except typer.Abort:
|
|
537
537
|
raise
|
|
538
538
|
|
|
539
|
+
except EOFError as e:
|
|
540
|
+
# Non-interactive MFA prompt failure (botocore's getpass()
|
|
541
|
+
# raises EOFError when stdin has no TTY). get_aws_session's
|
|
542
|
+
# own startup validation already turns this into a friendly
|
|
543
|
+
# message via aws_session.format_mfa_eof_message(); this is
|
|
544
|
+
# the fallback for the same failure surfacing elsewhere (e.g.
|
|
545
|
+
# a scanner's mid-scan credential refresh), where we only
|
|
546
|
+
# know whatever profile _extract_context_from_args recovered
|
|
547
|
+
# — format_mfa_eof_message() degrades to generic wording when
|
|
548
|
+
# that's None.
|
|
549
|
+
from replimap.cli.utils.aws_session import format_mfa_eof_message
|
|
550
|
+
|
|
551
|
+
context = _extract_context_from_args(func, args, kwargs)
|
|
552
|
+
telemetry = get_error_telemetry()
|
|
553
|
+
ref = telemetry.capture(e, context)
|
|
554
|
+
exit_code = EXIT_AWS_AUTH_ERROR
|
|
555
|
+
friendly_message = format_mfa_eof_message(context.profile)
|
|
556
|
+
|
|
557
|
+
if json_mode:
|
|
558
|
+
_display_error_json(
|
|
559
|
+
error_type=ref.exception_type,
|
|
560
|
+
message=friendly_message,
|
|
561
|
+
exit_code=exit_code,
|
|
562
|
+
reference_code=ref.code,
|
|
563
|
+
log_path=str(ref.log_path) if ref.log_path else None,
|
|
564
|
+
)
|
|
565
|
+
else:
|
|
566
|
+
_display_error_panel(
|
|
567
|
+
console=console,
|
|
568
|
+
reference=replace(ref, exception_message=friendly_message),
|
|
569
|
+
is_aws_error=True,
|
|
570
|
+
debug=debug,
|
|
571
|
+
)
|
|
572
|
+
sys.exit(exit_code)
|
|
573
|
+
|
|
539
574
|
except (
|
|
540
575
|
botocore.exceptions.BotoCoreError,
|
|
541
576
|
botocore.exceptions.ClientError,
|
|
@@ -45,6 +45,7 @@ __all__ = [
|
|
|
45
45
|
"get_cached_credentials",
|
|
46
46
|
"save_cached_credentials",
|
|
47
47
|
"clear_credential_cache",
|
|
48
|
+
"format_mfa_eof_message",
|
|
48
49
|
"get_aws_session",
|
|
49
50
|
]
|
|
50
51
|
|
|
@@ -402,6 +403,45 @@ def clear_credential_cache(profile: str | None = None) -> None:
|
|
|
402
403
|
pass
|
|
403
404
|
|
|
404
405
|
|
|
406
|
+
def format_mfa_eof_message(profile: str | None) -> str:
|
|
407
|
+
"""
|
|
408
|
+
Build the user-facing explanation for a bare EOFError from a
|
|
409
|
+
non-interactive MFA prompt.
|
|
410
|
+
|
|
411
|
+
botocore prompts for an MFA code via ``getpass()`` when a profile is
|
|
412
|
+
configured for assume-role + MFA and there are no valid cached
|
|
413
|
+
credentials. In a non-interactive environment (CI, pipelines, any
|
|
414
|
+
session without a TTY) ``getpass()`` raises ``EOFError`` instead of
|
|
415
|
+
reading a code — which otherwise surfaces to the user as a bare
|
|
416
|
+
"EOFError" panel with a stack trace and no explanation.
|
|
417
|
+
|
|
418
|
+
Shared with the generic fallback in ``replimap.cli.errors`` so a bare
|
|
419
|
+
EOFError surfacing later (e.g. a scanner's mid-scan credential
|
|
420
|
+
refresh) gets the same wording, just without a known profile name.
|
|
421
|
+
|
|
422
|
+
Args:
|
|
423
|
+
profile: AWS profile name, if known at the call site.
|
|
424
|
+
|
|
425
|
+
Returns:
|
|
426
|
+
Human-readable message telling the user to re-authenticate
|
|
427
|
+
interactively first, so the cached session gets reused here.
|
|
428
|
+
"""
|
|
429
|
+
if profile:
|
|
430
|
+
return (
|
|
431
|
+
f"Profile '{profile}' requires an interactive MFA prompt, but no "
|
|
432
|
+
"TTY is available (credentials expired or not cached). "
|
|
433
|
+
"Re-authenticate in an interactive terminal first: "
|
|
434
|
+
f"replimap scan -p {profile} — cached credentials will then be "
|
|
435
|
+
"reused here."
|
|
436
|
+
)
|
|
437
|
+
return (
|
|
438
|
+
"This profile requires an interactive MFA prompt, but no TTY is "
|
|
439
|
+
"available (credentials expired or not cached). Re-authenticate in "
|
|
440
|
+
"an interactive terminal first: replimap scan -p <profile> — cached "
|
|
441
|
+
"credentials will then be reused here."
|
|
442
|
+
)
|
|
443
|
+
|
|
444
|
+
|
|
405
445
|
def get_aws_session(
|
|
406
446
|
profile: str | None, region: str, use_cache: bool = True
|
|
407
447
|
) -> boto3.Session:
|
|
@@ -487,6 +527,20 @@ def get_aws_session(
|
|
|
487
527
|
|
|
488
528
|
return session
|
|
489
529
|
|
|
530
|
+
except EOFError:
|
|
531
|
+
# botocore's MFA prompt (getpass()) has no TTY to read from —
|
|
532
|
+
# e.g. CI/pipelines, or any non-interactive session where cached
|
|
533
|
+
# credentials expired or were never cached. Interactive sessions
|
|
534
|
+
# never hit this branch since getpass() succeeds there.
|
|
535
|
+
console.print(
|
|
536
|
+
Panel(
|
|
537
|
+
format_mfa_eof_message(profile),
|
|
538
|
+
title="Interactive MFA Required",
|
|
539
|
+
border_style="red",
|
|
540
|
+
)
|
|
541
|
+
)
|
|
542
|
+
raise typer.Exit(1) from None
|
|
543
|
+
|
|
490
544
|
except ProfileNotFound:
|
|
491
545
|
available = get_available_profiles()
|
|
492
546
|
console.print(
|
|
@@ -82,6 +82,7 @@ def print_next_steps() -> None:
|
|
|
82
82
|
from replimap.cli.utils.tips import show_random_tip
|
|
83
83
|
|
|
84
84
|
next_steps = """[bold]replimap graph[/] Visualize infrastructure dependencies
|
|
85
|
+
[bold]replimap codify[/] Turn your account into Terraform + import scaffold
|
|
85
86
|
[bold]replimap analyze[/] Find critical resources and blast radius
|
|
86
87
|
[bold]replimap audit[/] Check for security and cost issues
|
|
87
88
|
[bold]replimap clone[/] Generate Terraform for staging environment
|
|
@@ -192,6 +193,7 @@ def print_next_steps_to_output(output: OutputManager) -> None:
|
|
|
192
193
|
from replimap.cli.utils.tips import show_random_tip
|
|
193
194
|
|
|
194
195
|
next_steps = """[bold]replimap graph[/] Visualize infrastructure dependencies
|
|
196
|
+
[bold]replimap codify[/] Turn your account into Terraform + import scaffold
|
|
195
197
|
[bold]replimap analyze[/] Find critical resources and blast radius
|
|
196
198
|
[bold]replimap audit[/] Check for security and cost issues
|
|
197
199
|
[bold]replimap clone[/] Generate Terraform for staging environment
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"""
|
|
2
2
|
RepliMap Codify - Brownfield Infrastructure Adoption.
|
|
3
3
|
|
|
4
|
-
Transform ClickOps AWS infrastructure into
|
|
5
|
-
maintainable
|
|
4
|
+
Transform ClickOps AWS infrastructure into a Terraform adoption starting
|
|
5
|
+
point (import scaffold): safe, maintainable resource code with zero risk
|
|
6
|
+
of data loss, reviewed before you apply it.
|
|
6
7
|
|
|
7
8
|
Architecture:
|
|
8
9
|
Stage 0 - Schema Mapping (MUST BE FIRST):
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"""
|
|
2
|
+
IaC Coverage - matches scanned AWS resources against Terraform state.
|
|
3
|
+
|
|
4
|
+
Determines which scanned resources are unmanaged (not present in any
|
|
5
|
+
supplied Terraform state) by comparing normalized (type, id) keys. See
|
|
6
|
+
normalize.py for why normalization is required before matching.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
from .classify import Category, classify_unmanaged
|
|
12
|
+
from .normalize import (
|
|
13
|
+
TYPE_ALIASES,
|
|
14
|
+
normalize_scan_id,
|
|
15
|
+
normalize_state_id,
|
|
16
|
+
normalize_type,
|
|
17
|
+
scan_key,
|
|
18
|
+
state_key,
|
|
19
|
+
strip_scan_prefix,
|
|
20
|
+
)
|
|
21
|
+
from .report import (
|
|
22
|
+
CoverageEntry,
|
|
23
|
+
CoverageReport,
|
|
24
|
+
build_coverage_report,
|
|
25
|
+
render_coverage_panel,
|
|
26
|
+
)
|
|
27
|
+
from .state_merge import (
|
|
28
|
+
AllAwsStateParser,
|
|
29
|
+
MergedStateSet,
|
|
30
|
+
collect_state_files,
|
|
31
|
+
is_s3_uri,
|
|
32
|
+
merge_states,
|
|
33
|
+
parse_s3_uri,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
__all__ = [
|
|
37
|
+
"TYPE_ALIASES",
|
|
38
|
+
"normalize_type",
|
|
39
|
+
"strip_scan_prefix",
|
|
40
|
+
"normalize_scan_id",
|
|
41
|
+
"normalize_state_id",
|
|
42
|
+
"scan_key",
|
|
43
|
+
"state_key",
|
|
44
|
+
"AllAwsStateParser",
|
|
45
|
+
"MergedStateSet",
|
|
46
|
+
"collect_state_files",
|
|
47
|
+
"is_s3_uri",
|
|
48
|
+
"merge_states",
|
|
49
|
+
"parse_s3_uri",
|
|
50
|
+
"Category",
|
|
51
|
+
"classify_unmanaged",
|
|
52
|
+
"CoverageEntry",
|
|
53
|
+
"CoverageReport",
|
|
54
|
+
"build_coverage_report",
|
|
55
|
+
"render_coverage_panel",
|
|
56
|
+
]
|