ic-code 1.2.6__tar.gz → 1.2.7__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.
- ic_code-1.2.7/PKG-INFO +335 -0
- ic_code-1.2.7/README.md +259 -0
- ic_code-1.2.7/docs/README.md +80 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/general/configuration.md +3 -5
- ic_code-1.2.7/docs/user_guide.md +113 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/pyproject.toml +1 -1
- {ic_code-1.2.6 → ic_code-1.2.7}/src/common/utils.py +27 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/__init__.py +1 -1
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/sg/info.py +28 -7
- ic_code-1.2.7/src/ic_code.egg-info/PKG-INFO +335 -0
- ic_code-1.2.6/PKG-INFO +0 -1820
- ic_code-1.2.6/README.md +0 -1744
- ic_code-1.2.6/docs/README.md +0 -141
- ic_code-1.2.6/docs/user_guide.md +0 -259
- ic_code-1.2.6/src/ic_code.egg-info/PKG-INFO +0 -1820
- {ic_code-1.2.6 → ic_code-1.2.7}/LICENSE +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/MANIFEST.in +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/SECURITY.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/config/default.yaml +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/_templates/configuration.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/_templates/installation.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/_templates/troubleshooting.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/_templates/usage.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/aws/README.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/aws/aws_cli_prd.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/aws/installation.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/ci-workflow-guide.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/cloudflare_configuration_example.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/config_migration.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/deployment.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/development/README.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/development/cleanup_summary.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/development/development_guide.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/development/import_patterns.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/development/migration_guide.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/gcp/GCP_CONFIGURATION_GUIDE.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/gcp/GCP_SECURITY_BEST_PRACTICES.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/gcp/README.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/installation.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/migration.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/migration_guide.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/oci/README.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/oci/installation.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/release-guide.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/security.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/ssh/configuration.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/docs/troubleshooting.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/requirements.txt +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/analysis_summary.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/bump-version.sh +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/cf_edge_nsg_make/cf_edge_nsg_make.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/ci-detect-platforms.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/ci-generate-matrix.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/cli_usage_analysis.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/dependency_mapper.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/deploy.sh +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/final_validation_and_documentation.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/fix_consolidated_imports.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/migration_execution_and_validation.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/oracle-policy/user_policy.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/performance_optimization.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/setup_venv.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/test-ci-detection.sh +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/unset_env.sh +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/validate_config.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/scripts/validate_dependencies.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/setup.cfg +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/setup.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/common/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/common/gather_env.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/common/gcp_config_validator.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/common/gcp_monitoring.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/common/gcp_utils.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/common/log.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/common/progress_decorator.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/common/slack.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/cli.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/commands/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/commands/config.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/commands/security.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/compat/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/compat/cli.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/compat/common.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/cleanup.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/docs_organizer.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/external.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/installer.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/manager.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/migration.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/migration_utils.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/path_manager.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/schema.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/secrets.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/config/security.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/core/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/core/dependency_validator.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/core/logging.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/core/platform_discovery.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/core/session.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/core/silence_logging.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/cloudfront/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/cloudfront/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/codepipeline/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/codepipeline/build.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/codepipeline/deploy.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/ec2/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/ec2/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/ec2/list_tags.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/ec2/tag_check.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/ecs/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/ecs/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/ecs/service.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/ecs/task.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/eks/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/eks/addons.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/eks/fargate.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/eks/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/eks/nodes.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/eks/pods.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/eks/update_config.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/fargate/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/fargate/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/lb/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/lb/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/lb/list_tags.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/lb/tag_check.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/msk/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/msk/broker.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/msk/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/nat/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/nat/list_tags.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/nat/tag_check.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/profile/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/profile/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/rds/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/rds/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/rds/list_tags.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/rds/tag_check.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/s3/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/s3/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/s3/list_tags.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/s3/tag_check.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/sg/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/vpc/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/vpc/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/vpc/list_tags.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/vpc/tag_check.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/vpn/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/aws/vpn/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/README.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/account/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/account/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/client.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/dns/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/dns/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/dns/list_info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/rules/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/rules/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/traffic/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/traffic/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/waf/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/waf/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/zone/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/cloudflare/zone/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/README.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/billing/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/billing/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/billing/mock_data.json +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/compute/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/compute/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/compute/mock_data.json +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/firewall/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/firewall/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/functions/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/functions/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/gke/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/gke/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/gke/mock_data.json +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/lb/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/lb/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/run/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/run/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/sql/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/sql/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/storage/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/storage/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/vpc/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/vpc/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/gcp/vpc/mock_data.json +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/README.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/common/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/common/utils.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/compartment/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/compartment/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/cost/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/cost/credit.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/cost/usage.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/info/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/info/oci_info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/lb/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/lb/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/nsg/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/nsg/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/obj/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/obj/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/policy/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/policy/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/policy/search.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/vcn/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/vcn/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/vm/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/vm/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/volume/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/oci/volume/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/ssh/README.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/ssh/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/ssh/auto/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/ssh/auto/scan.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/ssh/auto_ssh.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/ssh/server/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/ssh/server/info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/platforms/ssh/server_info.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/security/README.md +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/security/__init__.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/security/config.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/security/detector.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/security/guidance.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/security/hooks.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/security/patterns.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic/security/scanner.py +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic_code.egg-info/SOURCES.txt +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic_code.egg-info/dependency_links.txt +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic_code.egg-info/entry_points.txt +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic_code.egg-info/requires.txt +0 -0
- {ic_code-1.2.6 → ic_code-1.2.7}/src/ic_code.egg-info/top_level.txt +0 -0
ic_code-1.2.7/PKG-INFO
ADDED
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ic-code
|
|
3
|
+
Version: 1.2.7
|
|
4
|
+
Summary: Infrastructure CLI tool for managing AWS, GCP, OCI, CloudFlare, SSH, and more
|
|
5
|
+
Home-page: https://github.com/dgr009/ic
|
|
6
|
+
Author: SangYun Kim
|
|
7
|
+
Author-email: sykim <cruiser594@gmail.com>
|
|
8
|
+
Project-URL: Homepage, https://github.com/dgr009/ic
|
|
9
|
+
Project-URL: Bug Reports, https://github.com/dgr009/ic/issues
|
|
10
|
+
Project-URL: Source, https://github.com/dgr009/ic
|
|
11
|
+
Project-URL: Documentation, https://github.com/dgr009/ic#readme
|
|
12
|
+
Keywords: cli,infrastructure,aws,oci,gcp,cloudflare,ssh,devops,multi-cloud
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: System Administrators
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Topic :: System :: Systems Administration
|
|
25
|
+
Classifier: Topic :: Utilities
|
|
26
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
27
|
+
Classifier: Environment :: Console
|
|
28
|
+
Requires-Python: >=3.9,<3.15
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
Requires-Dist: boto3<2.0.0,>=1.34.0
|
|
32
|
+
Requires-Dist: botocore<2.0.0,>=1.34.0
|
|
33
|
+
Requires-Dist: oci<3.0.0,>=2.149.0
|
|
34
|
+
Requires-Dist: requests<3.0.0,>=2.31.0
|
|
35
|
+
Requires-Dist: kubernetes<32.0.0,>=29.0.0
|
|
36
|
+
Requires-Dist: awscli<2.0.0,>=1.32.0
|
|
37
|
+
Requires-Dist: google-cloud-compute<2.0.0,>=1.36.0
|
|
38
|
+
Requires-Dist: google-cloud-container<3.0.0,>=2.44.0
|
|
39
|
+
Requires-Dist: google-cloud-storage<3.0.0,>=2.18.0
|
|
40
|
+
Requires-Dist: google-cloud-functions<2.0.0,>=1.16.0
|
|
41
|
+
Requires-Dist: google-cloud-run<1.0.0,>=0.11.0
|
|
42
|
+
Requires-Dist: google-cloud-billing<2.0.0,>=1.13.0
|
|
43
|
+
Requires-Dist: google-cloud-resource-manager<2.0.0,>=1.12.0
|
|
44
|
+
Requires-Dist: google-auth<3.0.0,>=2.29.0
|
|
45
|
+
Requires-Dist: google-auth-oauthlib<2.0.0,>=1.2.0
|
|
46
|
+
Requires-Dist: google-auth-httplib2<1.0.0,>=0.2.0
|
|
47
|
+
Requires-Dist: paramiko<5.0.0,>=3.4.0
|
|
48
|
+
Requires-Dist: netifaces<1.0.0,>=0.11.0
|
|
49
|
+
Requires-Dist: rich<15.0.0,>=13.0.0
|
|
50
|
+
Requires-Dist: InquirerPy<1.0.0,>=0.3.4
|
|
51
|
+
Requires-Dist: tqdm<5.0.0,>=4.67.0
|
|
52
|
+
Requires-Dist: python-dotenv<2.0.0,>=1.0.0
|
|
53
|
+
Requires-Dist: python-dateutil<3.0.0,>=2.9.0
|
|
54
|
+
Requires-Dist: PyYAML<7.0.0,>=6.0.1
|
|
55
|
+
Requires-Dist: click<9.0.0,>=8.1.0
|
|
56
|
+
Requires-Dist: docutils<1.0.0,>=0.19
|
|
57
|
+
Requires-Dist: invoke<3.0.0,>=2.2.0
|
|
58
|
+
Requires-Dist: jsonschema<5.0.0,>=4.23.0
|
|
59
|
+
Requires-Dist: cryptography<50.0.0,>=42.0.0
|
|
60
|
+
Requires-Dist: watchdog<6.0.0,>=4.0.0
|
|
61
|
+
Requires-Dist: cerberus<2.0.0,>=1.3.5
|
|
62
|
+
Requires-Dist: pydantic<3.0.0,>=2.7.0
|
|
63
|
+
Requires-Dist: packaging<25.0,>=24.0
|
|
64
|
+
Requires-Dist: setuptools<76.0.0,>=69.0.0
|
|
65
|
+
Provides-Extra: dev
|
|
66
|
+
Requires-Dist: pytest<9.0.0,>=8.0.0; extra == "dev"
|
|
67
|
+
Requires-Dist: pytest-cov<7.0.0,>=5.0.0; extra == "dev"
|
|
68
|
+
Requires-Dist: black<25.0.0,>=24.0.0; extra == "dev"
|
|
69
|
+
Requires-Dist: flake8<8.0.0,>=7.0.0; extra == "dev"
|
|
70
|
+
Requires-Dist: mypy<2.0.0,>=1.10.0; extra == "dev"
|
|
71
|
+
Requires-Dist: pre-commit<4.0.0,>=3.7.0; extra == "dev"
|
|
72
|
+
Dynamic: author
|
|
73
|
+
Dynamic: home-page
|
|
74
|
+
Dynamic: license-file
|
|
75
|
+
Dynamic: requires-python
|
|
76
|
+
|
|
77
|
+
# IC CLI Tool (Infrastructure Commander)
|
|
78
|
+
|
|
79
|
+
[](https://badge.fury.io/py/ic-code)
|
|
80
|
+
[](https://www.python.org/downloads/)
|
|
81
|
+
[](https://opensource.org/licenses/MIT)
|
|
82
|
+
|
|
83
|
+
A comprehensive, production-grade Infrastructure Command Line Interface tool for managing multi-cloud infrastructure and server components across multiple platforms. IC CLI provides unified access to **AWS**, **GCP**, **Oracle Cloud Infrastructure (OCI)**, **CloudFlare**, and **SSH** server management with rich progress indicators and secure configuration management.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## ✨ Key Features
|
|
88
|
+
|
|
89
|
+
- **🚀 Multi-Cloud Support**: AWS, GCP, OCI, CloudFlare, and SSH server management
|
|
90
|
+
- **📊 Rich Progress Bars**: Real-time progress indicators for all long-running operations across accounts and regions
|
|
91
|
+
- **🔒 Secure Configuration**: Modern YAML-based configuration (`~/.ic/config/`) with separate secrets management
|
|
92
|
+
- **🌍 Multi-Account / Multi-Region**: Concurrent querying across multiple cloud accounts and regions
|
|
93
|
+
- **🎨 Beautiful Terminal UI**: Rich terminal output with tables, colors, JSON formatting, and tree diagrams
|
|
94
|
+
- **⚡ High Performance**: Optimized async and concurrent execution for fast resource discovery
|
|
95
|
+
- **🛡️ Security First**: Built-in credential masking, secret scanning, and pre-commit hook support
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## 📦 Supported Platforms & Services
|
|
100
|
+
|
|
101
|
+
### 1. 🟧 AWS Services (Production Ready)
|
|
102
|
+
- **Compute**: EC2 instances, ECS services/tasks, EKS clusters/nodes/pods, Fargate profiles
|
|
103
|
+
- **Storage & DB**: S3 buckets (with tagging compliance checks), RDS instances & clusters
|
|
104
|
+
- **Networking**: VPC, Subnets, Gateways, Load Balancers (ALB/NLB), Security Groups (with Ingress & Egress rule analysis & tree view), VPN connections
|
|
105
|
+
- **Integrations**: CloudFront distributions, MSK Kafka brokers, CodePipeline build/deploy status, Profile management
|
|
106
|
+
|
|
107
|
+
### 2. 🟩 GCP Services (Production Ready)
|
|
108
|
+
- **Compute Engine**: VM instances with status, zone, and network interface details
|
|
109
|
+
- **Cloud Storage**: Bucket lists, location, and storage class information
|
|
110
|
+
- **VPC Network**: Subnets, routes, and firewall rule visibility
|
|
111
|
+
- **GKE**: Kubernetes Engine clusters and node pool configurations
|
|
112
|
+
- **Cloud SQL**: Database instances, engines, and status
|
|
113
|
+
|
|
114
|
+
### 3. 🟥 Oracle Cloud Infrastructure (OCI) (Production Ready)
|
|
115
|
+
- **Compute & Containers**: VM instances, Container instances (ACI)
|
|
116
|
+
- **Networking**: VCN, Subnets, Load Balancers, Network Security Groups (NSG)
|
|
117
|
+
- **Storage**: Block Volumes, Object Storage buckets
|
|
118
|
+
- **IAM & Cost**: Compartment hierarchy, IAM Policy search/validation, Cost usage & billing credits
|
|
119
|
+
|
|
120
|
+
### 4. 🟧 CloudFlare (Production Ready)
|
|
121
|
+
- **DNS & Zones**: Zone listings, DNS record management, and account filtering
|
|
122
|
+
|
|
123
|
+
### 5. 🟦 SSH Server Management (Production Ready)
|
|
124
|
+
- **Discovery**: Automatic server registration, connection verification, and security filtering
|
|
125
|
+
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## 📦 Installation
|
|
129
|
+
|
|
130
|
+
### From PyPI (Recommended)
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
# Install the latest stable version (v1.2.6+)
|
|
134
|
+
pip install ic-code
|
|
135
|
+
|
|
136
|
+
# Verify installation
|
|
137
|
+
ic --version
|
|
138
|
+
ic --help
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### From Source (Development)
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
# Clone the repository
|
|
145
|
+
git clone https://github.com/dgr009/ic.git
|
|
146
|
+
cd ic
|
|
147
|
+
|
|
148
|
+
# Create and activate virtual environment
|
|
149
|
+
python -m venv .venv
|
|
150
|
+
source .venv/bin/activate # On Windows: .venv\Scripts\activate
|
|
151
|
+
|
|
152
|
+
# Install dependencies and local editable package
|
|
153
|
+
pip install -e .
|
|
154
|
+
|
|
155
|
+
# Verify installation
|
|
156
|
+
ic --version
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## ⚙️ Configuration Setup
|
|
162
|
+
|
|
163
|
+
IC CLI uses a modern two-file configuration system located in `~/.ic/config/` for security:
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
~/.ic/config/
|
|
167
|
+
├── default.yaml # Non-sensitive default settings
|
|
168
|
+
└── secrets.yaml # Sensitive API keys, tokens, and profiles
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### 1. Initialize Configuration
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
# Guided interactive configuration setup
|
|
175
|
+
ic config init
|
|
176
|
+
|
|
177
|
+
# Or generate template for specific clouds
|
|
178
|
+
ic config init --template aws
|
|
179
|
+
ic config init --template multi-cloud
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### 2. Configure Credentials (`~/.ic/config/secrets.yaml`)
|
|
183
|
+
|
|
184
|
+
```yaml
|
|
185
|
+
# AWS Configuration
|
|
186
|
+
aws:
|
|
187
|
+
accounts:
|
|
188
|
+
- "123456789012"
|
|
189
|
+
profiles:
|
|
190
|
+
default: "my-aws-profile"
|
|
191
|
+
regions:
|
|
192
|
+
- "ap-northeast-2"
|
|
193
|
+
- "us-east-1"
|
|
194
|
+
|
|
195
|
+
# GCP Configuration
|
|
196
|
+
gcp:
|
|
197
|
+
project_id: "my-gcp-project-id"
|
|
198
|
+
credentials_file: "~/.config/gcloud/application_default_credentials.json"
|
|
199
|
+
regions:
|
|
200
|
+
- "asia-northeast3"
|
|
201
|
+
- "us-central1"
|
|
202
|
+
|
|
203
|
+
# Oracle Cloud Infrastructure (OCI)
|
|
204
|
+
oci:
|
|
205
|
+
config_file: "~/.oci/config"
|
|
206
|
+
profile: "DEFAULT"
|
|
207
|
+
compartments:
|
|
208
|
+
- "ocid1.compartment.oc1..example"
|
|
209
|
+
|
|
210
|
+
# CloudFlare Configuration
|
|
211
|
+
cloudflare:
|
|
212
|
+
api_token: "your-cloudflare-api-token"
|
|
213
|
+
|
|
214
|
+
# SSH Configuration
|
|
215
|
+
ssh:
|
|
216
|
+
key_dir: "~/.ssh"
|
|
217
|
+
skip_prefixes:
|
|
218
|
+
- "bastion"
|
|
219
|
+
- "jump"
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### 3. Manage & Validate Config
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
# Show configuration (sensitive fields masked automatically)
|
|
226
|
+
ic config show
|
|
227
|
+
|
|
228
|
+
# Validate configuration structure and paths
|
|
229
|
+
ic config validate
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
## 🚀 Command Usage Examples
|
|
235
|
+
|
|
236
|
+
### AWS Commands
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
# List EC2 instances across configured regions
|
|
240
|
+
ic aws ec2 info
|
|
241
|
+
|
|
242
|
+
# Security Group Info (Shows Ingress & Egress rules by default)
|
|
243
|
+
ic aws sg info
|
|
244
|
+
|
|
245
|
+
# Filter Security Groups for Ingress or Egress rules only
|
|
246
|
+
ic aws sg info --ingress # Show Ingress rules only
|
|
247
|
+
ic aws sg info --egress # Show Egress rules only
|
|
248
|
+
|
|
249
|
+
# Render Security Groups in visual tree structure with direction arrows (← Ingress, → Egress)
|
|
250
|
+
ic aws sg info -o tree
|
|
251
|
+
|
|
252
|
+
# S3 Bucket details and tag validation
|
|
253
|
+
ic aws s3 info
|
|
254
|
+
ic aws s3 tag_check
|
|
255
|
+
|
|
256
|
+
# EKS & ECS Cluster info
|
|
257
|
+
ic aws eks info
|
|
258
|
+
ic aws ecs info
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
### GCP Commands
|
|
262
|
+
|
|
263
|
+
```bash
|
|
264
|
+
# Compute Engine VM instances
|
|
265
|
+
ic gcp compute info
|
|
266
|
+
|
|
267
|
+
# Cloud Storage buckets
|
|
268
|
+
ic gcp storage info
|
|
269
|
+
|
|
270
|
+
# VPC networks and subnets
|
|
271
|
+
ic gcp vpc info
|
|
272
|
+
|
|
273
|
+
# GKE Clusters
|
|
274
|
+
ic gcp gke info
|
|
275
|
+
|
|
276
|
+
# Cloud SQL databases
|
|
277
|
+
ic gcp sql info
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### OCI Commands
|
|
281
|
+
|
|
282
|
+
```bash
|
|
283
|
+
# Compute VM instances
|
|
284
|
+
ic oci vm info
|
|
285
|
+
|
|
286
|
+
# Virtual Cloud Networks
|
|
287
|
+
ic oci vcn info
|
|
288
|
+
|
|
289
|
+
# Load Balancers & Network Security Groups
|
|
290
|
+
ic oci lb info
|
|
291
|
+
ic oci nsg info
|
|
292
|
+
|
|
293
|
+
# Storage & Cost usage
|
|
294
|
+
ic oci volume info
|
|
295
|
+
ic oci cost usage
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### CloudFlare & SSH Commands
|
|
299
|
+
|
|
300
|
+
```bash
|
|
301
|
+
# CloudFlare Zones and DNS
|
|
302
|
+
ic cf zone info
|
|
303
|
+
ic cf dns info
|
|
304
|
+
|
|
305
|
+
# SSH Server discovery
|
|
306
|
+
ic ssh info
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### Security & Hook Commands
|
|
310
|
+
|
|
311
|
+
```bash
|
|
312
|
+
# Scan codebase for hardcoded secrets
|
|
313
|
+
ic security scan
|
|
314
|
+
|
|
315
|
+
# Install pre-commit security hooks
|
|
316
|
+
ic security install-hooks
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
---
|
|
320
|
+
|
|
321
|
+
## 🧪 Testing & Validation
|
|
322
|
+
|
|
323
|
+
```bash
|
|
324
|
+
# Run unit & integration test suites
|
|
325
|
+
pytest tests/unit tests/integration
|
|
326
|
+
|
|
327
|
+
# Run End-to-End CLI validation
|
|
328
|
+
python tests/validation/end_to_end_cli_validation.py
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
## 📄 License
|
|
334
|
+
|
|
335
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
ic_code-1.2.7/README.md
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
# IC CLI Tool (Infrastructure Commander)
|
|
2
|
+
|
|
3
|
+
[](https://badge.fury.io/py/ic-code)
|
|
4
|
+
[](https://www.python.org/downloads/)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
|
|
7
|
+
A comprehensive, production-grade Infrastructure Command Line Interface tool for managing multi-cloud infrastructure and server components across multiple platforms. IC CLI provides unified access to **AWS**, **GCP**, **Oracle Cloud Infrastructure (OCI)**, **CloudFlare**, and **SSH** server management with rich progress indicators and secure configuration management.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## ✨ Key Features
|
|
12
|
+
|
|
13
|
+
- **🚀 Multi-Cloud Support**: AWS, GCP, OCI, CloudFlare, and SSH server management
|
|
14
|
+
- **📊 Rich Progress Bars**: Real-time progress indicators for all long-running operations across accounts and regions
|
|
15
|
+
- **🔒 Secure Configuration**: Modern YAML-based configuration (`~/.ic/config/`) with separate secrets management
|
|
16
|
+
- **🌍 Multi-Account / Multi-Region**: Concurrent querying across multiple cloud accounts and regions
|
|
17
|
+
- **🎨 Beautiful Terminal UI**: Rich terminal output with tables, colors, JSON formatting, and tree diagrams
|
|
18
|
+
- **⚡ High Performance**: Optimized async and concurrent execution for fast resource discovery
|
|
19
|
+
- **🛡️ Security First**: Built-in credential masking, secret scanning, and pre-commit hook support
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 📦 Supported Platforms & Services
|
|
24
|
+
|
|
25
|
+
### 1. 🟧 AWS Services (Production Ready)
|
|
26
|
+
- **Compute**: EC2 instances, ECS services/tasks, EKS clusters/nodes/pods, Fargate profiles
|
|
27
|
+
- **Storage & DB**: S3 buckets (with tagging compliance checks), RDS instances & clusters
|
|
28
|
+
- **Networking**: VPC, Subnets, Gateways, Load Balancers (ALB/NLB), Security Groups (with Ingress & Egress rule analysis & tree view), VPN connections
|
|
29
|
+
- **Integrations**: CloudFront distributions, MSK Kafka brokers, CodePipeline build/deploy status, Profile management
|
|
30
|
+
|
|
31
|
+
### 2. 🟩 GCP Services (Production Ready)
|
|
32
|
+
- **Compute Engine**: VM instances with status, zone, and network interface details
|
|
33
|
+
- **Cloud Storage**: Bucket lists, location, and storage class information
|
|
34
|
+
- **VPC Network**: Subnets, routes, and firewall rule visibility
|
|
35
|
+
- **GKE**: Kubernetes Engine clusters and node pool configurations
|
|
36
|
+
- **Cloud SQL**: Database instances, engines, and status
|
|
37
|
+
|
|
38
|
+
### 3. 🟥 Oracle Cloud Infrastructure (OCI) (Production Ready)
|
|
39
|
+
- **Compute & Containers**: VM instances, Container instances (ACI)
|
|
40
|
+
- **Networking**: VCN, Subnets, Load Balancers, Network Security Groups (NSG)
|
|
41
|
+
- **Storage**: Block Volumes, Object Storage buckets
|
|
42
|
+
- **IAM & Cost**: Compartment hierarchy, IAM Policy search/validation, Cost usage & billing credits
|
|
43
|
+
|
|
44
|
+
### 4. 🟧 CloudFlare (Production Ready)
|
|
45
|
+
- **DNS & Zones**: Zone listings, DNS record management, and account filtering
|
|
46
|
+
|
|
47
|
+
### 5. 🟦 SSH Server Management (Production Ready)
|
|
48
|
+
- **Discovery**: Automatic server registration, connection verification, and security filtering
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## 📦 Installation
|
|
53
|
+
|
|
54
|
+
### From PyPI (Recommended)
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Install the latest stable version (v1.2.6+)
|
|
58
|
+
pip install ic-code
|
|
59
|
+
|
|
60
|
+
# Verify installation
|
|
61
|
+
ic --version
|
|
62
|
+
ic --help
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### From Source (Development)
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# Clone the repository
|
|
69
|
+
git clone https://github.com/dgr009/ic.git
|
|
70
|
+
cd ic
|
|
71
|
+
|
|
72
|
+
# Create and activate virtual environment
|
|
73
|
+
python -m venv .venv
|
|
74
|
+
source .venv/bin/activate # On Windows: .venv\Scripts\activate
|
|
75
|
+
|
|
76
|
+
# Install dependencies and local editable package
|
|
77
|
+
pip install -e .
|
|
78
|
+
|
|
79
|
+
# Verify installation
|
|
80
|
+
ic --version
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## ⚙️ Configuration Setup
|
|
86
|
+
|
|
87
|
+
IC CLI uses a modern two-file configuration system located in `~/.ic/config/` for security:
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
~/.ic/config/
|
|
91
|
+
├── default.yaml # Non-sensitive default settings
|
|
92
|
+
└── secrets.yaml # Sensitive API keys, tokens, and profiles
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### 1. Initialize Configuration
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# Guided interactive configuration setup
|
|
99
|
+
ic config init
|
|
100
|
+
|
|
101
|
+
# Or generate template for specific clouds
|
|
102
|
+
ic config init --template aws
|
|
103
|
+
ic config init --template multi-cloud
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### 2. Configure Credentials (`~/.ic/config/secrets.yaml`)
|
|
107
|
+
|
|
108
|
+
```yaml
|
|
109
|
+
# AWS Configuration
|
|
110
|
+
aws:
|
|
111
|
+
accounts:
|
|
112
|
+
- "123456789012"
|
|
113
|
+
profiles:
|
|
114
|
+
default: "my-aws-profile"
|
|
115
|
+
regions:
|
|
116
|
+
- "ap-northeast-2"
|
|
117
|
+
- "us-east-1"
|
|
118
|
+
|
|
119
|
+
# GCP Configuration
|
|
120
|
+
gcp:
|
|
121
|
+
project_id: "my-gcp-project-id"
|
|
122
|
+
credentials_file: "~/.config/gcloud/application_default_credentials.json"
|
|
123
|
+
regions:
|
|
124
|
+
- "asia-northeast3"
|
|
125
|
+
- "us-central1"
|
|
126
|
+
|
|
127
|
+
# Oracle Cloud Infrastructure (OCI)
|
|
128
|
+
oci:
|
|
129
|
+
config_file: "~/.oci/config"
|
|
130
|
+
profile: "DEFAULT"
|
|
131
|
+
compartments:
|
|
132
|
+
- "ocid1.compartment.oc1..example"
|
|
133
|
+
|
|
134
|
+
# CloudFlare Configuration
|
|
135
|
+
cloudflare:
|
|
136
|
+
api_token: "your-cloudflare-api-token"
|
|
137
|
+
|
|
138
|
+
# SSH Configuration
|
|
139
|
+
ssh:
|
|
140
|
+
key_dir: "~/.ssh"
|
|
141
|
+
skip_prefixes:
|
|
142
|
+
- "bastion"
|
|
143
|
+
- "jump"
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### 3. Manage & Validate Config
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
# Show configuration (sensitive fields masked automatically)
|
|
150
|
+
ic config show
|
|
151
|
+
|
|
152
|
+
# Validate configuration structure and paths
|
|
153
|
+
ic config validate
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## 🚀 Command Usage Examples
|
|
159
|
+
|
|
160
|
+
### AWS Commands
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
# List EC2 instances across configured regions
|
|
164
|
+
ic aws ec2 info
|
|
165
|
+
|
|
166
|
+
# Security Group Info (Shows Ingress & Egress rules by default)
|
|
167
|
+
ic aws sg info
|
|
168
|
+
|
|
169
|
+
# Filter Security Groups for Ingress or Egress rules only
|
|
170
|
+
ic aws sg info --ingress # Show Ingress rules only
|
|
171
|
+
ic aws sg info --egress # Show Egress rules only
|
|
172
|
+
|
|
173
|
+
# Render Security Groups in visual tree structure with direction arrows (← Ingress, → Egress)
|
|
174
|
+
ic aws sg info -o tree
|
|
175
|
+
|
|
176
|
+
# S3 Bucket details and tag validation
|
|
177
|
+
ic aws s3 info
|
|
178
|
+
ic aws s3 tag_check
|
|
179
|
+
|
|
180
|
+
# EKS & ECS Cluster info
|
|
181
|
+
ic aws eks info
|
|
182
|
+
ic aws ecs info
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### GCP Commands
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
# Compute Engine VM instances
|
|
189
|
+
ic gcp compute info
|
|
190
|
+
|
|
191
|
+
# Cloud Storage buckets
|
|
192
|
+
ic gcp storage info
|
|
193
|
+
|
|
194
|
+
# VPC networks and subnets
|
|
195
|
+
ic gcp vpc info
|
|
196
|
+
|
|
197
|
+
# GKE Clusters
|
|
198
|
+
ic gcp gke info
|
|
199
|
+
|
|
200
|
+
# Cloud SQL databases
|
|
201
|
+
ic gcp sql info
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### OCI Commands
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
# Compute VM instances
|
|
208
|
+
ic oci vm info
|
|
209
|
+
|
|
210
|
+
# Virtual Cloud Networks
|
|
211
|
+
ic oci vcn info
|
|
212
|
+
|
|
213
|
+
# Load Balancers & Network Security Groups
|
|
214
|
+
ic oci lb info
|
|
215
|
+
ic oci nsg info
|
|
216
|
+
|
|
217
|
+
# Storage & Cost usage
|
|
218
|
+
ic oci volume info
|
|
219
|
+
ic oci cost usage
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### CloudFlare & SSH Commands
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
# CloudFlare Zones and DNS
|
|
226
|
+
ic cf zone info
|
|
227
|
+
ic cf dns info
|
|
228
|
+
|
|
229
|
+
# SSH Server discovery
|
|
230
|
+
ic ssh info
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### Security & Hook Commands
|
|
234
|
+
|
|
235
|
+
```bash
|
|
236
|
+
# Scan codebase for hardcoded secrets
|
|
237
|
+
ic security scan
|
|
238
|
+
|
|
239
|
+
# Install pre-commit security hooks
|
|
240
|
+
ic security install-hooks
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## 🧪 Testing & Validation
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
# Run unit & integration test suites
|
|
249
|
+
pytest tests/unit tests/integration
|
|
250
|
+
|
|
251
|
+
# Run End-to-End CLI validation
|
|
252
|
+
python tests/validation/end_to_end_cli_validation.py
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
## 📄 License
|
|
258
|
+
|
|
259
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# IC Documentation
|
|
2
|
+
|
|
3
|
+
This directory contains comprehensive documentation for the IC (Infrastructure Resource Management CLI) tool.
|
|
4
|
+
|
|
5
|
+
## Getting Started
|
|
6
|
+
|
|
7
|
+
- [Installation Guide](installation.md) - How to install IC CLI
|
|
8
|
+
- [User Guide](user_guide.md) - Complete user guide and tutorials
|
|
9
|
+
- [General Configuration](general/configuration.md) - General configuration management
|
|
10
|
+
- [Security](security.md) - Security best practices
|
|
11
|
+
|
|
12
|
+
## Platform-Specific Documentation
|
|
13
|
+
|
|
14
|
+
### AWS (Amazon Web Services)
|
|
15
|
+
- [AWS Installation](aws/installation.md) - Install and setup AWS integration
|
|
16
|
+
- [AWS Usage Guide](aws/README.md) - ECS, EKS, Fargate, S3, RDS, Security Groups (Ingress & Egress)
|
|
17
|
+
|
|
18
|
+
### GCP (Google Cloud Platform)
|
|
19
|
+
- [GCP Configuration Guide](gcp/GCP_CONFIGURATION_GUIDE.md) - Configure GCP credentials and settings
|
|
20
|
+
- [GCP Security Best Practices](gcp/GCP_SECURITY_BEST_PRACTICES.md) - Security guidelines for GCP
|
|
21
|
+
- [GCP Platform Overview](gcp/README.md) - Compute, Storage, VPC, GKE, and Cloud SQL
|
|
22
|
+
|
|
23
|
+
### OCI (Oracle Cloud Infrastructure)
|
|
24
|
+
- [OCI Installation](oci/installation.md) - Install and setup OCI integration
|
|
25
|
+
- [OCI Usage Guide](oci/README.md) - VM, VCN, LB, NSG, Volumes, and IAM Policies
|
|
26
|
+
|
|
27
|
+
### CloudFlare
|
|
28
|
+
- [CloudFlare Integration Guide](../src/ic/platforms/cloudflare/README.md) - Complete CloudFlare integration guide
|
|
29
|
+
- [CloudFlare Configuration Examples](cloudflare_configuration_example.md) - Configuration examples and use cases
|
|
30
|
+
|
|
31
|
+
### SSH Server Management
|
|
32
|
+
- [SSH Configuration Guide](ssh/configuration.md) - Configure SSH key directories, rules, and connection options
|
|
33
|
+
- [SSH Integration Guide](../src/ic/platforms/ssh/README.md) - Server discovery and connection management
|
|
34
|
+
|
|
35
|
+
## Quick Reference
|
|
36
|
+
|
|
37
|
+
### Platform Commands
|
|
38
|
+
```bash
|
|
39
|
+
# AWS Services
|
|
40
|
+
ic aws ec2 info
|
|
41
|
+
ic aws sg info --ingress
|
|
42
|
+
ic aws sg info --egress -o tree
|
|
43
|
+
ic aws s3 info
|
|
44
|
+
|
|
45
|
+
# GCP Services
|
|
46
|
+
ic gcp compute info
|
|
47
|
+
ic gcp storage info
|
|
48
|
+
ic gcp vpc info
|
|
49
|
+
ic gcp gke info
|
|
50
|
+
ic gcp sql info
|
|
51
|
+
|
|
52
|
+
# OCI Services
|
|
53
|
+
ic oci vm info
|
|
54
|
+
ic oci vcn info
|
|
55
|
+
ic oci lb info
|
|
56
|
+
|
|
57
|
+
# CloudFlare
|
|
58
|
+
ic cf zone info
|
|
59
|
+
ic cf dns info
|
|
60
|
+
|
|
61
|
+
# SSH Server Management
|
|
62
|
+
ic ssh info
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Configuration Commands
|
|
66
|
+
```bash
|
|
67
|
+
# Initialize configuration
|
|
68
|
+
ic config init
|
|
69
|
+
|
|
70
|
+
# Validate configuration
|
|
71
|
+
ic config validate
|
|
72
|
+
|
|
73
|
+
# Show configuration
|
|
74
|
+
ic config show
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
**Last Updated**: 2026
|
|
80
|
+
**Maintainer**: IC CLI Team
|
|
@@ -39,12 +39,10 @@ Configuration is loaded in the following order (later sources override earlier o
|
|
|
39
39
|
Each platform has its own configuration directory and files:
|
|
40
40
|
|
|
41
41
|
- **AWS**: See [AWS Configuration Guide](../aws/configuration.md)
|
|
42
|
-
- **
|
|
42
|
+
- **GCP**: See [GCP Configuration Guide](../gcp/GCP_CONFIGURATION_GUIDE.md)
|
|
43
|
+
- **OCI**: See [OCI Configuration Guide](../oci/README.md)
|
|
43
44
|
- **CloudFlare**: See [CloudFlare Configuration Examples](../cloudflare_configuration_example.md)
|
|
44
|
-
- **
|
|
45
|
-
- **NCP**: See [NCP Configuration Guide](../ncp/configuration.md)
|
|
46
|
-
- **NCPGOV**: See [NCPGOV Configuration Guide](../ncpgov/configuration.md)
|
|
47
|
-
- **OCI**: See [OCI Configuration Guide](../oci/configuration.md)
|
|
45
|
+
- **SSH**: See [SSH Configuration Guide](../ssh/configuration.md)
|
|
48
46
|
|
|
49
47
|
## Configuration Files
|
|
50
48
|
|