replimap 0.3.41__tar.gz → 0.4.0__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.3.41 → replimap-0.4.0}/PKG-INFO +1 -1
- {replimap-0.3.41 → replimap-0.4.0}/replimap/__init__.py +1 -1
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/audit.py +28 -5
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/clone.py +17 -3
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/codify.py +18 -3
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/cost.py +27 -4
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/deps.py +36 -6
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/dr.py +17 -3
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/drift.py +28 -4
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/graph.py +28 -5
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/residency.py +27 -4
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/scan.py +21 -4
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/snapshot.py +43 -7
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/transfer.py +15 -3
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/trends.py +15 -3
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/unused.py +15 -3
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/utils/__init__.py +11 -0
- replimap-0.4.0/replimap/cli/utils/deprecation.py +146 -0
- {replimap-0.3.41 → replimap-0.4.0}/.gitignore +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/LICENSE +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/MANIFEST.in +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/README.md +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/docs/assets/demo.gif +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/pyproject.toml +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/api.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/apra_cps234_mapping.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/checkov_runner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/classifier.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/engine.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/exporters.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/fix_suggestions.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/hooks.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/nzism_mapping.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/rbnz_bs11_mapping.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/remediation/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/remediation/generator.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/remediation/models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/remediation/templates/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/remediation/templates/ec2.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/remediation/templates/kms.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/remediation/templates/rds.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/remediation/templates/s3.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/renderer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/reporter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/soc2_mapping.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/templates/audit_report.html.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/terminal_reporter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/audit/trust_center.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cache/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cache/snapshots.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/analyze.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/cache.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/completion.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/doctor.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/explain.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/iam.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/license.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/load.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/profiles.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/remediate.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/trust_center.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/upgrade.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/commands/validate.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/common_options.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/completers.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/completion.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/config.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/context.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/error_catalog.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/error_renderer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/errors.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/output.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/params/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/params/definitions.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/params/registry.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/params/schema.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/state.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/telemetry.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/utils/aws_session.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/utils/cache_resolution.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/utils/console.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/utils/console_links.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/utils/error_handler.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/utils/helpers.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/utils/options.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/utils/tips.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cli/utils/update_checker.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/empty_pruner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/generators/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/generators/backend.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/generators/hcl.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/generators/imports.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/generators/output.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/generators/readme.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/generators/variables.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/hcl_types.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/pipeline.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/schema_mapper.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/schema_rules.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/set_sorter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/base.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/cleanup_transformer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/data_source_filter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/default_filter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/global_filter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/iam_normalizer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/import_resolver.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/lifecycle_protector.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/managed_filter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/naming_transformer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/ref_transformer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/schema_filter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/secrets_transformer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transformers/sg_splitter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/transforms.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/type_caster.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/utils/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/codify/utils/config_integrity_checker.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/audit/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/audit/renderer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/codify_checker.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/compliance_tf_registry.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/data_residency.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/drift/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/drift/exemptions.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/drift/mapping.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/drift/report.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/compliance/drift/rules.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/analysis/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/analysis/centrality.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/async_aws.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/aws_config.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/bootstrap.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/browser.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/cache.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/cache_manager.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/circuit_breaker.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/concurrency.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/config.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/constants.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/context.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/enrichment/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/enrichment/enricher.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/enrichment/metadata_extractor.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/enrichment/network_analyzer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/errors.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/filters.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/first_run.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/formatters/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/formatters/sarif.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/graph/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/graph/algorithms.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/graph_engine.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/graph_tracer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/identity.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/identity_resolver.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/logging.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/naming.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/operations.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/pagination.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/pagination_config.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/rate_limiter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/resilience/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/resilience/circuit_breaker.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/resilience/errors/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/resilience/errors/classifier.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/resilience/errors/loader.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/resilience/errors/rules.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/retry.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/sanitizer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/scope.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/security/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/security/credential_checker.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/security/drift.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/security/global_sanitizer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/security/iam_generator.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/security/patterns.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/security/redactor.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/security/scrubber.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/security/session_manager.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/security/storage.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/selection.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/signals.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/state.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/storage.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/topology_constraints.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/unified_storage/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/unified_storage/adapter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/unified_storage/base.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/unified_storage/engine.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/unified_storage/migrate.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/core/unified_storage/sqlite_backend.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/constants.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/estimator.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/explorer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/local_rightsizer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/pricing.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/pricing_engine.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/reporter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/ri_aware.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/rightsizer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/transfer_analyzer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/trends.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/cost/unused_detector.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/data/field_hints.yaml +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/data/schema_rules.yaml +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/decisions/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/decisions/cli.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/decisions/manager.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/decisions/models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/dependencies/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/dependencies/graph_builder.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/dependencies/impact_calculator.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/dependencies/models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/dependencies/reporter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/dependencies/weights.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/asg.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/ec2.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/elasticache.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/elb.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/graph_fallback.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/iam_role.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/lambda_func.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/rds.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/s3.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/analyzers/security_group.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/base_analyzer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/blast_radius.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/implicit_resolver.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/deps/reporter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/dr/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/dr/readiness.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/drift/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/drift/comparator.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/drift/engine.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/drift/ignore.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/drift/models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/drift/normalizer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/drift/reporter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/drift/state_parser.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/drift/templates/drift_report.html.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/extraction/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/extraction/hints.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/aggregation.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/builder.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/cost_overlay.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/cross_region.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/drift.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/environment.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/filters.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/formatters/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/formatters/d3.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/formatters/json_format.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/formatters/mermaid.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/global_context.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/grouper.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/layout.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/link_classification.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/multi_region.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/naming.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/orphan_detection.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/summary_links.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/templates/graph.html.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/tool_modes.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/views.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/graph/visualizer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/cache.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/ci_adapter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/crypto/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/crypto/keys.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/crypto/time_validator.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/developer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/fingerprint.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/gates.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/manager.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/prompts.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/secure_manager.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/secure_models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/server/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/server/signer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/tracker.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/verifier.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/licensing/version_check.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/main.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/mcp_server.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/migrations/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/migrations/sanitize_cache.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/patterns/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/patterns/local_module.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/recovery/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/recovery/actions.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/recovery/engine.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/recovery/gray_zone.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/audit_annotator.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/backend.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/base.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/cloudformation.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/file_router.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/import_generator.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/name_generator.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/preloader.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/pulumi.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/refactoring.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/terraform.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/terraform_v2.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/renderers/variable_extractor.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/async_base.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/async_vpc_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/base.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/compute_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/ec2_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/elasticache_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/iam_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/implementations/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/implementations/s3_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/implementations/vpc_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/incremental.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/legacy_adapter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/messaging_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/monitoring_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/networking_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/rds_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/s3_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/storage_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/unified_base.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/unified_scanners.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/scanners/vpc_scanner.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/snapshot/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/snapshot/differ.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/snapshot/models.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/snapshot/reporter.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/snapshot/store.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/autoscaling_group.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/db_parameter_group.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/db_subnet_group.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/ebs_volume.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/ec2_instance.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/elasticache_cluster.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/elasticache_subnet_group.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/internet_gateway.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/launch_template.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/lb.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/lb_listener.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/lb_target_group.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/nat_gateway.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/network_acl.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/rds_instance.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/route_table.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/s3_bucket.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/s3_bucket_policy.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/security_group.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/sns_topic.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/sqs_queue.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/subnet.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/vpc.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/templates/vpc_endpoint.tf.j2 +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/transformers/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/transformers/base.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/transformers/downsizer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/transformers/network_remapper.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/transformers/renamer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/transformers/sanitizer.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/ui/__init__.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/ui/console.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/ui/rich_output.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/ui/snapshot_panels.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/replimap/ui/snapshot_tables.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/scripts/check_stdout_hygiene.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/scripts/record_cassettes.py +0 -0
- {replimap-0.3.41 → replimap-0.4.0}/scripts/verify_compliance_tf_subdomains.py +0 -0
|
@@ -23,6 +23,11 @@ from replimap.cli.errors import (
|
|
|
23
23
|
enhanced_cli_error_handler,
|
|
24
24
|
)
|
|
25
25
|
from replimap.cli.utils import get_aws_session, resolve_effective_region
|
|
26
|
+
from replimap.cli.utils.deprecation import (
|
|
27
|
+
deprecated_flag_option,
|
|
28
|
+
deprecated_value_option,
|
|
29
|
+
resolve_deprecated,
|
|
30
|
+
)
|
|
26
31
|
from replimap.core.browser import open_in_browser
|
|
27
32
|
from replimap.licensing import check_audit_ci_mode_allowed, check_audit_fix_allowed
|
|
28
33
|
from replimap.ui import print_audit_findings_fomo
|
|
@@ -531,9 +536,9 @@ def audit_command(
|
|
|
531
536
|
vpc: str | None = typer.Option(
|
|
532
537
|
None,
|
|
533
538
|
"--vpc",
|
|
534
|
-
"-v",
|
|
535
539
|
help="VPC ID to scope the audit (optional)",
|
|
536
540
|
),
|
|
541
|
+
vpc_deprecated: str | None = deprecated_value_option("-v", new_name="--vpc"),
|
|
537
542
|
output_file: Path | None = typer.Option(
|
|
538
543
|
None,
|
|
539
544
|
"--output",
|
|
@@ -653,12 +658,13 @@ def audit_command(
|
|
|
653
658
|
rich_help_panel="Auditing & Compliance",
|
|
654
659
|
),
|
|
655
660
|
# === Cache & Performance ===
|
|
656
|
-
|
|
661
|
+
no_cred_cache: bool = typer.Option(
|
|
657
662
|
False,
|
|
658
|
-
"--no-cache",
|
|
659
|
-
help="Don't use cached credentials",
|
|
663
|
+
"--no-cred-cache",
|
|
664
|
+
help="Don't use cached AWS credentials (re-authenticate)",
|
|
660
665
|
rich_help_panel="Cache & Performance",
|
|
661
666
|
),
|
|
667
|
+
no_cache: bool = deprecated_flag_option("--no-cache", new_name="--no-cred-cache"),
|
|
662
668
|
refresh: bool = typer.Option(
|
|
663
669
|
False,
|
|
664
670
|
"--refresh",
|
|
@@ -692,7 +698,7 @@ def audit_command(
|
|
|
692
698
|
|
|
693
699
|
replimap audit --region us-east-1
|
|
694
700
|
|
|
695
|
-
replimap audit -p prod -r ap-southeast-2
|
|
701
|
+
replimap audit -p prod -r ap-southeast-2 --vpc vpc-abc123
|
|
696
702
|
|
|
697
703
|
replimap audit -r us-west-2 --open # open HTML report in browser
|
|
698
704
|
|
|
@@ -717,6 +723,23 @@ def audit_command(
|
|
|
717
723
|
# Get V3 context
|
|
718
724
|
gctx: GlobalContext = ctx.obj
|
|
719
725
|
output = gctx.output
|
|
726
|
+
no_cache = resolve_deprecated(
|
|
727
|
+
no_cred_cache,
|
|
728
|
+
no_cache,
|
|
729
|
+
old_name="--no-cache",
|
|
730
|
+
new_name="--no-cred-cache",
|
|
731
|
+
output=output,
|
|
732
|
+
)
|
|
733
|
+
# '-v' used to be the short name for --vpc, colliding with the global
|
|
734
|
+
# -v/--verbose (which only applies before the subcommand name:
|
|
735
|
+
# `replimap -v audit`). It stays accepted as a hidden deprecated alias.
|
|
736
|
+
vpc = resolve_deprecated(
|
|
737
|
+
vpc,
|
|
738
|
+
vpc_deprecated,
|
|
739
|
+
old_name="-v",
|
|
740
|
+
new_name="--vpc",
|
|
741
|
+
output=output,
|
|
742
|
+
)
|
|
720
743
|
|
|
721
744
|
# Inherit profile from global -p flag if not set locally
|
|
722
745
|
effective_profile = profile or gctx.profile
|
|
@@ -24,6 +24,10 @@ from replimap.cli.utils import (
|
|
|
24
24
|
get_aws_session,
|
|
25
25
|
resolve_effective_region,
|
|
26
26
|
)
|
|
27
|
+
from replimap.cli.utils.deprecation import (
|
|
28
|
+
deprecated_flag_option,
|
|
29
|
+
resolve_deprecated,
|
|
30
|
+
)
|
|
27
31
|
from replimap.core import GraphEngine
|
|
28
32
|
from replimap.licensing.manager import get_license_manager
|
|
29
33
|
from replimap.renderers import TerraformRenderer
|
|
@@ -88,10 +92,13 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
88
92
|
"-i",
|
|
89
93
|
help="Interactive mode - prompt for missing options",
|
|
90
94
|
),
|
|
91
|
-
|
|
95
|
+
no_cred_cache: bool = typer.Option(
|
|
92
96
|
False,
|
|
93
|
-
"--no-cache",
|
|
94
|
-
help="Don't use cached credentials (re-authenticate)",
|
|
97
|
+
"--no-cred-cache",
|
|
98
|
+
help="Don't use cached AWS credentials (re-authenticate)",
|
|
99
|
+
),
|
|
100
|
+
no_cache: bool = deprecated_flag_option(
|
|
101
|
+
"--no-cache", new_name="--no-cred-cache"
|
|
95
102
|
),
|
|
96
103
|
refresh: bool = typer.Option(
|
|
97
104
|
False,
|
|
@@ -204,6 +211,13 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
204
211
|
# Get V3 context
|
|
205
212
|
gctx: GlobalContext = ctx.obj
|
|
206
213
|
output = gctx.output
|
|
214
|
+
no_cache = resolve_deprecated(
|
|
215
|
+
no_cred_cache,
|
|
216
|
+
no_cache,
|
|
217
|
+
old_name="--no-cache",
|
|
218
|
+
new_name="--no-cred-cache",
|
|
219
|
+
output=output,
|
|
220
|
+
)
|
|
207
221
|
|
|
208
222
|
# Interactive mode - prompt for missing options
|
|
209
223
|
if interactive:
|
|
@@ -26,6 +26,10 @@ from replimap.cli.utils import (
|
|
|
26
26
|
resolve_effective_region,
|
|
27
27
|
resolve_scan_identity,
|
|
28
28
|
)
|
|
29
|
+
from replimap.cli.utils.deprecation import (
|
|
30
|
+
deprecated_flag_option,
|
|
31
|
+
resolve_deprecated,
|
|
32
|
+
)
|
|
29
33
|
|
|
30
34
|
if TYPE_CHECKING:
|
|
31
35
|
from replimap.cli.context import GlobalContext
|
|
@@ -121,12 +125,15 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
121
125
|
help="Show what would be generated without writing files",
|
|
122
126
|
rich_help_panel="Cache & Performance",
|
|
123
127
|
),
|
|
124
|
-
|
|
128
|
+
no_cred_cache: bool = typer.Option(
|
|
125
129
|
False,
|
|
126
|
-
"--no-cache",
|
|
127
|
-
help="Don't use cached credentials (re-authenticate)",
|
|
130
|
+
"--no-cred-cache",
|
|
131
|
+
help="Don't use cached AWS credentials (re-authenticate)",
|
|
128
132
|
rich_help_panel="Cache & Performance",
|
|
129
133
|
),
|
|
134
|
+
no_cache: bool = deprecated_flag_option(
|
|
135
|
+
"--no-cache", new_name="--no-cred-cache"
|
|
136
|
+
),
|
|
130
137
|
refresh: bool = typer.Option(
|
|
131
138
|
False,
|
|
132
139
|
"--refresh",
|
|
@@ -204,6 +211,14 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
204
211
|
# Fallback: create default output manager
|
|
205
212
|
output = create_output_manager(format="text", verbose=0)
|
|
206
213
|
|
|
214
|
+
no_cache = resolve_deprecated(
|
|
215
|
+
no_cred_cache,
|
|
216
|
+
no_cache,
|
|
217
|
+
old_name="--no-cache",
|
|
218
|
+
new_name="--no-cred-cache",
|
|
219
|
+
output=output,
|
|
220
|
+
)
|
|
221
|
+
|
|
207
222
|
# Use profile/region from context if not provided via flags
|
|
208
223
|
ctx_profile = gctx.profile if gctx else None
|
|
209
224
|
ctx_region = gctx.region if gctx else None
|
|
@@ -17,6 +17,11 @@ import typer
|
|
|
17
17
|
|
|
18
18
|
from replimap.cli.errors import EXIT_GENERAL_ERROR, enhanced_cli_error_handler
|
|
19
19
|
from replimap.cli.utils import get_aws_session, resolve_effective_region
|
|
20
|
+
from replimap.cli.utils.deprecation import (
|
|
21
|
+
deprecated_flag_option,
|
|
22
|
+
deprecated_value_option,
|
|
23
|
+
resolve_deprecated,
|
|
24
|
+
)
|
|
20
25
|
from replimap.core import GraphEngine
|
|
21
26
|
from replimap.core.browser import open_in_browser
|
|
22
27
|
from replimap.scanners.base import run_all_scanners
|
|
@@ -45,10 +50,10 @@ def cost_command(
|
|
|
45
50
|
vpc: str | None = typer.Option(
|
|
46
51
|
None,
|
|
47
52
|
"--vpc",
|
|
48
|
-
"-v",
|
|
49
53
|
help="VPC ID to scope the scan (optional)",
|
|
50
54
|
rich_help_panel="Selection",
|
|
51
55
|
),
|
|
56
|
+
vpc_deprecated: str | None = deprecated_value_option("-v", new_name="--vpc"),
|
|
52
57
|
# === Output Options ===
|
|
53
58
|
output_file: Path | None = typer.Option(
|
|
54
59
|
None,
|
|
@@ -78,12 +83,13 @@ def cost_command(
|
|
|
78
83
|
rich_help_panel="Output",
|
|
79
84
|
),
|
|
80
85
|
# === Cache & Performance ===
|
|
81
|
-
|
|
86
|
+
no_cred_cache: bool = typer.Option(
|
|
82
87
|
False,
|
|
83
|
-
"--no-cache",
|
|
84
|
-
help="Don't use cached credentials",
|
|
88
|
+
"--no-cred-cache",
|
|
89
|
+
help="Don't use cached AWS credentials (re-authenticate)",
|
|
85
90
|
rich_help_panel="Cache & Performance",
|
|
86
91
|
),
|
|
92
|
+
no_cache: bool = deprecated_flag_option("--no-cache", new_name="--no-cred-cache"),
|
|
87
93
|
refresh: bool = typer.Option(
|
|
88
94
|
False,
|
|
89
95
|
"--refresh",
|
|
@@ -161,6 +167,23 @@ def cost_command(
|
|
|
161
167
|
gctx: GlobalContext = ctx.obj
|
|
162
168
|
output = gctx.output
|
|
163
169
|
stderr_console = output._stderr_console
|
|
170
|
+
no_cache = resolve_deprecated(
|
|
171
|
+
no_cred_cache,
|
|
172
|
+
no_cache,
|
|
173
|
+
old_name="--no-cache",
|
|
174
|
+
new_name="--no-cred-cache",
|
|
175
|
+
output=output,
|
|
176
|
+
)
|
|
177
|
+
# '-v' used to be the short name for --vpc, colliding with the global
|
|
178
|
+
# -v/--verbose (which only applies before the subcommand name:
|
|
179
|
+
# `replimap -v cost`). It stays accepted as a hidden deprecated alias.
|
|
180
|
+
vpc = resolve_deprecated(
|
|
181
|
+
vpc,
|
|
182
|
+
vpc_deprecated,
|
|
183
|
+
old_name="-v",
|
|
184
|
+
new_name="--vpc",
|
|
185
|
+
output=output,
|
|
186
|
+
)
|
|
164
187
|
|
|
165
188
|
# Check cost feature access (Pro+ feature)
|
|
166
189
|
cost_gate = check_cost_allowed()
|
|
@@ -17,6 +17,11 @@ from rich.status import Status
|
|
|
17
17
|
|
|
18
18
|
from replimap.cli.errors import EXIT_GENERAL_ERROR, enhanced_cli_error_handler
|
|
19
19
|
from replimap.cli.utils import get_aws_session, logger, resolve_effective_region
|
|
20
|
+
from replimap.cli.utils.deprecation import (
|
|
21
|
+
deprecated_flag_option,
|
|
22
|
+
deprecated_value_option,
|
|
23
|
+
resolve_deprecated,
|
|
24
|
+
)
|
|
20
25
|
from replimap.core import GraphEngine
|
|
21
26
|
from replimap.core.browser import open_in_browser
|
|
22
27
|
from replimap.scanners.base import run_all_scanners
|
|
@@ -163,9 +168,9 @@ def deps_command(
|
|
|
163
168
|
vpc: str | None = typer.Option(
|
|
164
169
|
None,
|
|
165
170
|
"--vpc",
|
|
166
|
-
"-v",
|
|
167
171
|
help="VPC ID to scope the scan (optional)",
|
|
168
172
|
),
|
|
173
|
+
vpc_deprecated: str | None = deprecated_value_option("-v", new_name="--vpc"),
|
|
169
174
|
max_depth: int = typer.Option(
|
|
170
175
|
10,
|
|
171
176
|
"--depth",
|
|
@@ -205,12 +210,13 @@ def deps_command(
|
|
|
205
210
|
rich_help_panel="Output",
|
|
206
211
|
),
|
|
207
212
|
# === Cache & Performance ===
|
|
208
|
-
|
|
213
|
+
no_cred_cache: bool = typer.Option(
|
|
209
214
|
False,
|
|
210
|
-
"--no-cache",
|
|
211
|
-
help="Don't use cached credentials",
|
|
215
|
+
"--no-cred-cache",
|
|
216
|
+
help="Don't use cached AWS credentials (re-authenticate)",
|
|
212
217
|
rich_help_panel="Cache & Performance",
|
|
213
218
|
),
|
|
219
|
+
no_cache: bool = deprecated_flag_option("--no-cache", new_name="--no-cred-cache"),
|
|
214
220
|
refresh: bool = typer.Option(
|
|
215
221
|
False,
|
|
216
222
|
"--refresh",
|
|
@@ -281,6 +287,23 @@ def deps_command(
|
|
|
281
287
|
# Get V3 context
|
|
282
288
|
gctx: GlobalContext = ctx.obj
|
|
283
289
|
output = gctx.output
|
|
290
|
+
no_cache = resolve_deprecated(
|
|
291
|
+
no_cred_cache,
|
|
292
|
+
no_cache,
|
|
293
|
+
old_name="--no-cache",
|
|
294
|
+
new_name="--no-cred-cache",
|
|
295
|
+
output=output,
|
|
296
|
+
)
|
|
297
|
+
# '-v' used to be the short name for --vpc, colliding with the global
|
|
298
|
+
# -v/--verbose (which only applies before the subcommand name:
|
|
299
|
+
# `replimap -v deps`). It stays accepted as a hidden deprecated alias.
|
|
300
|
+
vpc = resolve_deprecated(
|
|
301
|
+
vpc,
|
|
302
|
+
vpc_deprecated,
|
|
303
|
+
old_name="-v",
|
|
304
|
+
new_name="--vpc",
|
|
305
|
+
output=output,
|
|
306
|
+
)
|
|
284
307
|
|
|
285
308
|
# Check deps feature access (Pro+ feature)
|
|
286
309
|
deps_gate = check_deps_allowed()
|
|
@@ -475,12 +498,14 @@ def blast_command(
|
|
|
475
498
|
resource_id: str = typer.Argument(...),
|
|
476
499
|
profile: str | None = typer.Option(None, "--profile", "-p"),
|
|
477
500
|
region: str | None = typer.Option(None, "--region", "-r"),
|
|
478
|
-
vpc: str | None = typer.Option(None, "--vpc"
|
|
501
|
+
vpc: str | None = typer.Option(None, "--vpc"),
|
|
502
|
+
vpc_deprecated: str | None = deprecated_value_option("-v", new_name="--vpc"),
|
|
479
503
|
max_depth: int = typer.Option(10, "--depth", "-d"),
|
|
480
504
|
output_file: Path | None = typer.Option(None, "--output", "-o"),
|
|
481
505
|
report_format: str = typer.Option("console", "--format", "-f"),
|
|
482
506
|
open_report: bool = typer.Option(True, "--open/--no-open"),
|
|
483
|
-
|
|
507
|
+
no_cred_cache: bool = typer.Option(False, "--no-cred-cache"),
|
|
508
|
+
no_cache: bool = deprecated_flag_option("--no-cache", new_name="--no-cred-cache"),
|
|
484
509
|
refresh: bool = typer.Option(False, "--refresh", "-R"),
|
|
485
510
|
) -> None:
|
|
486
511
|
"""Deprecated: Use 'replimap deps' instead."""
|
|
@@ -489,18 +514,23 @@ def blast_command(
|
|
|
489
514
|
output = gctx.output
|
|
490
515
|
output.warn("'replimap blast' is deprecated. Use 'replimap deps' instead.")
|
|
491
516
|
|
|
517
|
+
# Forward BOTH the canonical and deprecated raw values (same treatment
|
|
518
|
+
# as no_cred_cache/no_cache): deps_command resolves them exactly once,
|
|
519
|
+
# so `blast -v` warns once instead of twice.
|
|
492
520
|
deps_command(
|
|
493
521
|
ctx=ctx,
|
|
494
522
|
resource_id=resource_id,
|
|
495
523
|
profile=profile,
|
|
496
524
|
region=region,
|
|
497
525
|
vpc=vpc,
|
|
526
|
+
vpc_deprecated=vpc_deprecated,
|
|
498
527
|
max_depth=max_depth,
|
|
499
528
|
output_file=output_file,
|
|
500
529
|
report_format=report_format,
|
|
501
530
|
open_report=open_report,
|
|
502
531
|
show_disclaimer=True,
|
|
503
532
|
verbose=False,
|
|
533
|
+
no_cred_cache=no_cred_cache,
|
|
504
534
|
no_cache=no_cache,
|
|
505
535
|
refresh=refresh,
|
|
506
536
|
analyze=False,
|
|
@@ -16,6 +16,10 @@ import typer
|
|
|
16
16
|
|
|
17
17
|
from replimap.cli.errors import EXIT_GENERAL_ERROR, enhanced_cli_error_handler
|
|
18
18
|
from replimap.cli.utils import get_aws_session, resolve_effective_region
|
|
19
|
+
from replimap.cli.utils.deprecation import (
|
|
20
|
+
deprecated_flag_option,
|
|
21
|
+
resolve_deprecated,
|
|
22
|
+
)
|
|
19
23
|
from replimap.core import GraphEngine
|
|
20
24
|
from replimap.core.browser import open_in_browser
|
|
21
25
|
from replimap.scanners.base import run_all_scanners
|
|
@@ -129,12 +133,15 @@ def create_dr_app() -> typer.Typer:
|
|
|
129
133
|
rich_help_panel="Output",
|
|
130
134
|
),
|
|
131
135
|
# === Cache & Performance ===
|
|
132
|
-
|
|
136
|
+
no_cred_cache: bool = typer.Option(
|
|
133
137
|
False,
|
|
134
|
-
"--no-cache",
|
|
135
|
-
help="Don't use cached credentials",
|
|
138
|
+
"--no-cred-cache",
|
|
139
|
+
help="Don't use cached AWS credentials (re-authenticate)",
|
|
136
140
|
rich_help_panel="Cache & Performance",
|
|
137
141
|
),
|
|
142
|
+
no_cache: bool = deprecated_flag_option(
|
|
143
|
+
"--no-cache", new_name="--no-cred-cache"
|
|
144
|
+
),
|
|
138
145
|
refresh: bool = typer.Option(
|
|
139
146
|
False,
|
|
140
147
|
"--refresh",
|
|
@@ -150,6 +157,13 @@ def create_dr_app() -> typer.Typer:
|
|
|
150
157
|
# Get V3 output manager from parent context
|
|
151
158
|
output = _get_output_manager(ctx)
|
|
152
159
|
stderr_console = output._stderr_console
|
|
160
|
+
no_cache = resolve_deprecated(
|
|
161
|
+
no_cred_cache,
|
|
162
|
+
no_cache,
|
|
163
|
+
old_name="--no-cache",
|
|
164
|
+
new_name="--no-cred-cache",
|
|
165
|
+
output=output,
|
|
166
|
+
)
|
|
153
167
|
|
|
154
168
|
# Get profile and region from context
|
|
155
169
|
profile = ctx.obj.get("profile") if ctx.obj else None
|
|
@@ -26,6 +26,11 @@ from replimap.cli.utils import (
|
|
|
26
26
|
resolve_cached_scan,
|
|
27
27
|
resolve_scan_identity,
|
|
28
28
|
)
|
|
29
|
+
from replimap.cli.utils.deprecation import (
|
|
30
|
+
deprecated_flag_option,
|
|
31
|
+
deprecated_value_option,
|
|
32
|
+
resolve_deprecated,
|
|
33
|
+
)
|
|
29
34
|
from replimap.core.browser import open_in_browser
|
|
30
35
|
from replimap.licensing import check_drift_allowed
|
|
31
36
|
|
|
@@ -101,9 +106,9 @@ def drift_command(
|
|
|
101
106
|
vpc: str | None = typer.Option(
|
|
102
107
|
None,
|
|
103
108
|
"--vpc",
|
|
104
|
-
"-v",
|
|
105
109
|
help="VPC ID to scope the scan (optional)",
|
|
106
110
|
),
|
|
111
|
+
vpc_deprecated: str | None = deprecated_value_option("-v", new_name="--vpc"),
|
|
107
112
|
output_file: Path | None = typer.Option(
|
|
108
113
|
None,
|
|
109
114
|
"--output",
|
|
@@ -131,11 +136,12 @@ def drift_command(
|
|
|
131
136
|
"--open/--no-open",
|
|
132
137
|
help="Open HTML report in browser after generation",
|
|
133
138
|
),
|
|
134
|
-
|
|
139
|
+
no_cred_cache: bool = typer.Option(
|
|
135
140
|
False,
|
|
136
|
-
"--no-cache",
|
|
137
|
-
help="Don't use cached credentials",
|
|
141
|
+
"--no-cred-cache",
|
|
142
|
+
help="Don't use cached AWS credentials (re-authenticate)",
|
|
138
143
|
),
|
|
144
|
+
no_cache: bool = deprecated_flag_option("--no-cache", new_name="--no-cred-cache"),
|
|
139
145
|
refresh: bool = typer.Option(
|
|
140
146
|
False,
|
|
141
147
|
"--refresh",
|
|
@@ -239,6 +245,24 @@ def drift_command(
|
|
|
239
245
|
profile, region, gctx
|
|
240
246
|
)
|
|
241
247
|
|
|
248
|
+
no_cache = resolve_deprecated(
|
|
249
|
+
no_cred_cache,
|
|
250
|
+
no_cache,
|
|
251
|
+
old_name="--no-cache",
|
|
252
|
+
new_name="--no-cred-cache",
|
|
253
|
+
output=output,
|
|
254
|
+
)
|
|
255
|
+
# '-v' used to be the short name for --vpc, colliding with the global
|
|
256
|
+
# -v/--verbose (which only applies before the subcommand name:
|
|
257
|
+
# `replimap -v drift`). It stays accepted as a hidden deprecated alias.
|
|
258
|
+
vpc = resolve_deprecated(
|
|
259
|
+
vpc,
|
|
260
|
+
vpc_deprecated,
|
|
261
|
+
old_name="-v",
|
|
262
|
+
new_name="--vpc",
|
|
263
|
+
output=output,
|
|
264
|
+
)
|
|
265
|
+
|
|
242
266
|
# Check drift feature access (Pro+ feature)
|
|
243
267
|
drift_gate = check_drift_allowed()
|
|
244
268
|
if not drift_gate.allowed:
|
|
@@ -15,6 +15,11 @@ import typer
|
|
|
15
15
|
|
|
16
16
|
from replimap.cli.errors import EXIT_GENERAL_ERROR, enhanced_cli_error_handler
|
|
17
17
|
from replimap.cli.utils import get_aws_session, resolve_effective_region
|
|
18
|
+
from replimap.cli.utils.deprecation import (
|
|
19
|
+
deprecated_flag_option,
|
|
20
|
+
deprecated_value_option,
|
|
21
|
+
resolve_deprecated,
|
|
22
|
+
)
|
|
18
23
|
from replimap.core.browser import open_in_browser
|
|
19
24
|
|
|
20
25
|
if TYPE_CHECKING:
|
|
@@ -39,9 +44,9 @@ def graph_command(
|
|
|
39
44
|
vpc: str | None = typer.Option(
|
|
40
45
|
None,
|
|
41
46
|
"--vpc",
|
|
42
|
-
"-v",
|
|
43
47
|
help="VPC ID to scope the visualization (optional)",
|
|
44
48
|
),
|
|
49
|
+
vpc_deprecated: str | None = deprecated_value_option("-v", new_name="--vpc"),
|
|
45
50
|
output_file: Path = typer.Option(
|
|
46
51
|
Path("./infrastructure_graph.html"),
|
|
47
52
|
"--output",
|
|
@@ -93,12 +98,13 @@ def graph_command(
|
|
|
93
98
|
rich_help_panel="Visualization",
|
|
94
99
|
),
|
|
95
100
|
# === Cache & Performance ===
|
|
96
|
-
|
|
101
|
+
no_cred_cache: bool = typer.Option(
|
|
97
102
|
False,
|
|
98
|
-
"--no-cache",
|
|
99
|
-
help="Don't use cached credentials",
|
|
103
|
+
"--no-cred-cache",
|
|
104
|
+
help="Don't use cached AWS credentials (re-authenticate)",
|
|
100
105
|
rich_help_panel="Cache & Performance",
|
|
101
106
|
),
|
|
107
|
+
no_cache: bool = deprecated_flag_option("--no-cache", new_name="--no-cred-cache"),
|
|
102
108
|
refresh: bool = typer.Option(
|
|
103
109
|
False,
|
|
104
110
|
"--refresh",
|
|
@@ -138,7 +144,7 @@ def graph_command(
|
|
|
138
144
|
|
|
139
145
|
replimap graph --region us-east-1
|
|
140
146
|
|
|
141
|
-
replimap graph -p prod -r us-west-2
|
|
147
|
+
replimap graph -p prod -r us-west-2 --vpc vpc-abc123
|
|
142
148
|
|
|
143
149
|
replimap graph -r us-east-1 --all # Show everything
|
|
144
150
|
|
|
@@ -158,6 +164,23 @@ def graph_command(
|
|
|
158
164
|
# Get V3 context
|
|
159
165
|
gctx: GlobalContext = ctx.obj
|
|
160
166
|
output = gctx.output
|
|
167
|
+
no_cache = resolve_deprecated(
|
|
168
|
+
no_cred_cache,
|
|
169
|
+
no_cache,
|
|
170
|
+
old_name="--no-cache",
|
|
171
|
+
new_name="--no-cred-cache",
|
|
172
|
+
output=output,
|
|
173
|
+
)
|
|
174
|
+
# '-v' used to be the short name for --vpc, colliding with the global
|
|
175
|
+
# -v/--verbose (which only applies before the subcommand name:
|
|
176
|
+
# `replimap -v graph`). It stays accepted as a hidden deprecated alias.
|
|
177
|
+
vpc = resolve_deprecated(
|
|
178
|
+
vpc,
|
|
179
|
+
vpc_deprecated,
|
|
180
|
+
old_name="-v",
|
|
181
|
+
new_name="--vpc",
|
|
182
|
+
output=output,
|
|
183
|
+
)
|
|
161
184
|
|
|
162
185
|
# Determine region: flag > profile config > default
|
|
163
186
|
effective_region, region_source = resolve_effective_region(region, profile)
|
|
@@ -17,6 +17,11 @@ import typer
|
|
|
17
17
|
|
|
18
18
|
from replimap.cli.errors import EXIT_USAGE_ERROR, enhanced_cli_error_handler
|
|
19
19
|
from replimap.cli.utils import get_aws_session, resolve_effective_region
|
|
20
|
+
from replimap.cli.utils.deprecation import (
|
|
21
|
+
deprecated_flag_option,
|
|
22
|
+
deprecated_value_option,
|
|
23
|
+
resolve_deprecated,
|
|
24
|
+
)
|
|
20
25
|
|
|
21
26
|
if TYPE_CHECKING:
|
|
22
27
|
from replimap.cli.context import GlobalContext
|
|
@@ -43,9 +48,9 @@ def residency_command(
|
|
|
43
48
|
vpc: str | None = typer.Option(
|
|
44
49
|
None,
|
|
45
50
|
"--vpc",
|
|
46
|
-
"-v",
|
|
47
51
|
help="VPC ID to scope the check (optional)",
|
|
48
52
|
),
|
|
53
|
+
vpc_deprecated: str | None = deprecated_value_option("-v", new_name="--vpc"),
|
|
49
54
|
# === Policy Configuration ===
|
|
50
55
|
policy: str = typer.Option(
|
|
51
56
|
"nz_au",
|
|
@@ -60,12 +65,13 @@ def residency_command(
|
|
|
60
65
|
rich_help_panel="Policy Configuration",
|
|
61
66
|
),
|
|
62
67
|
# === Cache & Performance ===
|
|
63
|
-
|
|
68
|
+
no_cred_cache: bool = typer.Option(
|
|
64
69
|
False,
|
|
65
|
-
"--no-cache",
|
|
66
|
-
help="Don't use cached credentials",
|
|
70
|
+
"--no-cred-cache",
|
|
71
|
+
help="Don't use cached AWS credentials (re-authenticate)",
|
|
67
72
|
rich_help_panel="Cache & Performance",
|
|
68
73
|
),
|
|
74
|
+
no_cache: bool = deprecated_flag_option("--no-cache", new_name="--no-cred-cache"),
|
|
69
75
|
refresh: bool = typer.Option(
|
|
70
76
|
False,
|
|
71
77
|
"--refresh",
|
|
@@ -115,6 +121,23 @@ def residency_command(
|
|
|
115
121
|
# Get V3 context
|
|
116
122
|
gctx: GlobalContext = ctx.obj
|
|
117
123
|
output = gctx.output
|
|
124
|
+
no_cache = resolve_deprecated(
|
|
125
|
+
no_cred_cache,
|
|
126
|
+
no_cache,
|
|
127
|
+
old_name="--no-cache",
|
|
128
|
+
new_name="--no-cred-cache",
|
|
129
|
+
output=output,
|
|
130
|
+
)
|
|
131
|
+
# '-v' used to be the short name for --vpc, colliding with the global
|
|
132
|
+
# -v/--verbose (which only applies before the subcommand name:
|
|
133
|
+
# `replimap -v residency`). It stays accepted as a hidden deprecated alias.
|
|
134
|
+
vpc = resolve_deprecated(
|
|
135
|
+
vpc,
|
|
136
|
+
vpc_deprecated,
|
|
137
|
+
old_name="-v",
|
|
138
|
+
new_name="--vpc",
|
|
139
|
+
output=output,
|
|
140
|
+
)
|
|
118
141
|
|
|
119
142
|
# Determine region
|
|
120
143
|
effective_region, region_source = resolve_effective_region(region, profile)
|
|
@@ -38,6 +38,10 @@ from replimap.cli.utils import (
|
|
|
38
38
|
print_next_steps_to_output,
|
|
39
39
|
resolve_scan_identity,
|
|
40
40
|
)
|
|
41
|
+
from replimap.cli.utils.deprecation import (
|
|
42
|
+
deprecated_flag_option,
|
|
43
|
+
resolve_deprecated,
|
|
44
|
+
)
|
|
41
45
|
from replimap.core import (
|
|
42
46
|
GraphEngine,
|
|
43
47
|
ScanCache,
|
|
@@ -163,12 +167,15 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
163
167
|
help="Interactive mode - prompt for missing options",
|
|
164
168
|
rich_help_panel="Cache & Performance",
|
|
165
169
|
),
|
|
166
|
-
|
|
170
|
+
no_cred_cache: bool = typer.Option(
|
|
167
171
|
False,
|
|
168
|
-
"--no-cache",
|
|
169
|
-
help="Don't use cached credentials (re-authenticate)",
|
|
172
|
+
"--no-cred-cache",
|
|
173
|
+
help="Don't use cached AWS credentials (re-authenticate)",
|
|
170
174
|
rich_help_panel="Cache & Performance",
|
|
171
175
|
),
|
|
176
|
+
no_cache: bool = deprecated_flag_option(
|
|
177
|
+
"--no-cache", new_name="--no-cred-cache"
|
|
178
|
+
),
|
|
172
179
|
use_scan_cache: bool = typer.Option(
|
|
173
180
|
False,
|
|
174
181
|
"--cache",
|
|
@@ -178,7 +185,10 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
178
185
|
refresh_cache: bool = typer.Option(
|
|
179
186
|
False,
|
|
180
187
|
"--refresh-cache",
|
|
181
|
-
help=
|
|
188
|
+
help=(
|
|
189
|
+
"Force refresh of the incremental scan-result cache "
|
|
190
|
+
"(re-scan all resources; distinct from the graph cache)"
|
|
191
|
+
),
|
|
182
192
|
rich_help_panel="Cache & Performance",
|
|
183
193
|
),
|
|
184
194
|
incremental: bool = typer.Option(
|
|
@@ -300,6 +310,13 @@ def register(app: typer.Typer, panel: str | None = None) -> None:
|
|
|
300
310
|
# Get V3 context
|
|
301
311
|
gctx: GlobalContext = ctx.obj
|
|
302
312
|
output = gctx.output
|
|
313
|
+
no_cache = resolve_deprecated(
|
|
314
|
+
no_cred_cache,
|
|
315
|
+
no_cache,
|
|
316
|
+
old_name="--no-cache",
|
|
317
|
+
new_name="--no-cred-cache",
|
|
318
|
+
output=output,
|
|
319
|
+
)
|
|
303
320
|
|
|
304
321
|
# Inherit profile from global -p flag if not set locally — needed
|
|
305
322
|
# before the interactive prompt below; resolve_scan_identity
|