ic-code 1.1.7__tar.gz → 1.1.8__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.1.7/src/ic_code.egg-info → ic_code-1.1.8}/PKG-INFO +82 -3
- {ic_code-1.1.7 → ic_code-1.1.8}/README.md +81 -2
- {ic_code-1.1.7 → ic_code-1.1.8}/pyproject.toml +1 -1
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/lb/info.py +47 -22
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/nsg/info.py +47 -21
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/obj/info.py +35 -18
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/vcn/info.py +44 -19
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/vm/info.py +35 -39
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/volume/info.py +33 -15
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ssh/server/info.py +2 -2
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ssh/server_info.py +38 -27
- {ic_code-1.1.7 → ic_code-1.1.8/src/ic_code.egg-info}/PKG-INFO +82 -3
- {ic_code-1.1.7 → ic_code-1.1.8}/CHANGELOG.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/LICENSE +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/MANIFEST.in +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/SECURITY.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/_templates/configuration.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/_templates/installation.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/_templates/troubleshooting.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/_templates/usage.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/aws/AWS_IMPLEMENTATION_SUMMARY.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/aws/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/aws/aws_cli_prd.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/aws/installation.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/azure/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/config_migration.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/deployment.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/development/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/development/cleanup_summary.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/development/development_guide.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/development/import_patterns.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/development/migration_guide.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/gcp/GCP_CONFIGURATION_GUIDE.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/gcp/GCP_SECURITY_BEST_PRACTICES.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/gcp/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/general/configuration.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/installation.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/mcp_integration.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/migration.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/migration_guide.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/ncp/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/ncp/configuration.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/ncp/installation.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/ncp/troubleshooting.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/ncp/usage.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/ncpgov/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/ncpgov/installation.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/oci/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/oci/installation.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/security.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/ssh/configuration.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/troubleshooting.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/docs/user_guide.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/requirements.txt +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/analysis_summary.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/bump-version.sh +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/cf_edge_nsg_make/cf_edge_nsg_make.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/cli_usage_analysis.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/dependency_mapper.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/deploy.sh +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/final_validation_and_documentation.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/fix_consolidated_imports.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/migration_execution_and_validation.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/ncp_security_scanner.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/oracle-policy/user_policy.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/performance_optimization.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/setup_venv.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/unset_env.sh +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/validate_config.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/validate_dependencies.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/scripts/validate_ncp_security.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/setup.cfg +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/setup.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/azure_utils.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/gather_env.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/gcp_config_validator.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/gcp_monitoring.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/gcp_utils.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/log.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/ncp_security_utils.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/ncp_utils.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/ncpgov_utils.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/progress_decorator.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/slack.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/common/utils.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/cli.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/cli_backup.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/commands/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/commands/config.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/commands/migration.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/commands/security.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/compat/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/compat/cli.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/compat/common.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/cleanup.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/docs_organizer.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/external.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/installer.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/manager.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/migration.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/migration_utils.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/path_manager.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/schema.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/secrets.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/config/security.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/core/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/core/dependency_validator.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/core/logging.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/core/mcp_manager.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/core/platform_discovery.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/core/session.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/core/silence_logging.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/migration/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/migration/manager.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/migration/post_validation.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/migration/rollback.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/migration/validation.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/cloudfront/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/cloudfront/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/codepipeline/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/codepipeline/build.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/codepipeline/deploy.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/ec2/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/ec2/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/ec2/list_tags.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/ec2/tag_check.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/ecs/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/ecs/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/ecs/service.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/ecs/task.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/eks/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/eks/addons.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/eks/fargate.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/eks/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/eks/nodes.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/eks/pods.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/eks/update_config.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/fargate/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/fargate/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/lb/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/lb/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/lb/list_tags.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/lb/tag_check.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/msk/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/msk/broker.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/msk/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/nat/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/nat/list_tags.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/nat/tag_check.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/profile/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/profile/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/rds/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/rds/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/rds/list_tags.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/rds/tag_check.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/s3/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/s3/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/s3/list_tags.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/s3/tag_check.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/sg/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/sg/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/vpc/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/vpc/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/vpc/list_tags.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/vpc/tag_check.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/vpn/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/aws/vpn/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/aci/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/aci/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/aks/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/aks/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/lb/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/lb/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/nsg/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/nsg/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/storage/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/storage/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/vm/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/vm/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/vm/mock_data.json +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/vnet/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/vnet/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/azure/vnet/mock_data.json +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/cloudflare/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/cloudflare/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/cloudflare/dns/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/cloudflare/dns/list_info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/billing/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/billing/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/billing/mock_data.json +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/compute/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/compute/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/compute/mock_data.json +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/firewall/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/firewall/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/functions/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/functions/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/gke/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/gke/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/gke/mock_data.json +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/lb/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/lb/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/run/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/run/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/sql/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/sql/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/storage/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/storage/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/vpc/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/vpc/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/gcp/vpc/mock_data.json +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/client.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/ec2/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/ec2/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/rds/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/rds/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/s3/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/s3/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/sg/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/sg/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/vpc/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncp/vpc/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/client.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/ec2/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/ec2/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/rds/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/rds/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/s3/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/s3/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/sg/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/sg/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/vpc/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ncpgov/vpc/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/common/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/common/utils.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/compartment/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/compartment/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/cost/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/cost/credit.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/cost/usage.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/info/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/info/oci_info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/lb/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/nsg/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/obj/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/policy/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/policy/info.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/policy/search.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/vcn/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/vm/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/oci/volume/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ssh/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ssh/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ssh/auto/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ssh/auto/scan.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ssh/auto_ssh.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/platforms/ssh/server/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/security/README.md +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/security/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/security/config.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/security/detector.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/security/guidance.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/security/hooks.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/security/patterns.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic/security/scanner.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic_code.egg-info/SOURCES.txt +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic_code.egg-info/dependency_links.txt +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic_code.egg-info/entry_points.txt +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic_code.egg-info/requires.txt +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/ic_code.egg-info/top_level.txt +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/mcp/__init__.py +0 -0
- {ic_code-1.1.7 → ic_code-1.1.8}/src/mcp/gcp_connector.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ic-code
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.8
|
|
4
4
|
Summary: Infrastructure CLI tool for managing AWS, Azure, GCP, OCI, NCP, CloudFlare, SSH, and more
|
|
5
5
|
Home-page: https://github.com/dgr009/ic
|
|
6
6
|
Author: SangYun Kim
|
|
@@ -87,7 +87,7 @@ Dynamic: requires-python
|
|
|
87
87
|
|
|
88
88
|
# IC CLI Tool
|
|
89
89
|
|
|
90
|
-
[](https://github.com/dgr009/ic/actions)
|
|
90
|
+
<!-- [](https://github.com/dgr009/ic/actions) -->
|
|
91
91
|
[](https://badge.fury.io/py/ic-code)
|
|
92
92
|
[](https://www.python.org/downloads/)
|
|
93
93
|
[](https://opensource.org/licenses/MIT)
|
|
@@ -107,25 +107,30 @@ A comprehensive Infrastructure Command Line Interface tool for managing cloud se
|
|
|
107
107
|
### Supported Services
|
|
108
108
|
|
|
109
109
|
#### AWS Services (Production Ready)
|
|
110
|
+
|
|
110
111
|
- **Compute**: EC2 instances, ECS services, EKS clusters, Fargate
|
|
111
112
|
- **Storage**: S3 buckets, RDS databases
|
|
112
113
|
- **Networking**: VPC, Load Balancers, Security Groups, VPN
|
|
113
114
|
- **Other**: CloudFront distributions, MSK clusters, CodePipeline
|
|
114
115
|
|
|
115
116
|
#### Oracle Cloud Infrastructure (Production Ready)
|
|
117
|
+
|
|
116
118
|
- **Compute**: VM instances, Container Instances
|
|
117
119
|
- **Networking**: VCN, Load Balancers, Network Security Groups
|
|
118
120
|
- **Storage**: Block volumes, Object storage
|
|
119
121
|
- **Management**: Compartments, Policies, Cost analysis
|
|
120
122
|
|
|
121
123
|
#### CloudFlare (Production Ready)
|
|
124
|
+
|
|
122
125
|
- **DNS**: Zone and record management with filtering
|
|
123
126
|
|
|
124
127
|
#### SSH Management (Production Ready)
|
|
128
|
+
|
|
125
129
|
- **Server Discovery**: Automatic server registration and information gathering
|
|
126
130
|
- **Security**: Built-in security filtering and connection management
|
|
127
131
|
|
|
128
132
|
#### NCP Services (Production Ready)
|
|
133
|
+
|
|
129
134
|
- **Compute**: EC2 instances with detailed information and filtering
|
|
130
135
|
- **Storage**: S3 buckets with size and object count information
|
|
131
136
|
- **Networking**: VPC networks, subnets, and routing information
|
|
@@ -134,6 +139,7 @@ A comprehensive Infrastructure Command Line Interface tool for managing cloud se
|
|
|
134
139
|
- **Government Cloud**: NCP Gov support with enhanced security compliance
|
|
135
140
|
|
|
136
141
|
#### Development Status
|
|
142
|
+
|
|
137
143
|
- **⚠️ Azure**: In development - usable but may contain bugs
|
|
138
144
|
- **⚠️ GCP**: In development - usable but may contain bugs
|
|
139
145
|
|
|
@@ -187,6 +193,7 @@ ic --help
|
|
|
187
193
|
IC CLI automatically validates all required dependencies on startup and provides clear error messages for missing packages. The tool supports **Python 3.9-3.12** with **Python 3.11.13** recommended for optimal performance.
|
|
188
194
|
|
|
189
195
|
#### Automatic Validation
|
|
196
|
+
|
|
190
197
|
```bash
|
|
191
198
|
# IC CLI validates dependencies automatically
|
|
192
199
|
ic --help # Will show dependency errors if any exist
|
|
@@ -199,6 +206,7 @@ python scripts/test_dependency_compatibility.py --report
|
|
|
199
206
|
```
|
|
200
207
|
|
|
201
208
|
#### Troubleshooting Dependencies
|
|
209
|
+
|
|
202
210
|
```bash
|
|
203
211
|
# Check Python version compatibility
|
|
204
212
|
python --version # Should be 3.9+ to 3.12
|
|
@@ -234,12 +242,14 @@ ic ncpgov ec2 info --dry-run # Test NCP Gov API connectivity
|
|
|
234
242
|
```
|
|
235
243
|
|
|
236
244
|
**Core NCP Dependencies (automatically installed):**
|
|
245
|
+
|
|
237
246
|
- `requests>=2.28.0` - HTTP client for NCP API calls
|
|
238
247
|
- `PyYAML>=6.0` - Configuration file parsing
|
|
239
248
|
- `cryptography>=3.4.8` - HMAC-SHA256 signature generation
|
|
240
249
|
- `rich>=12.0.0` - Terminal output formatting
|
|
241
250
|
|
|
242
251
|
**Manual NCP Dependency Installation (if needed):**
|
|
252
|
+
|
|
243
253
|
```bash
|
|
244
254
|
# Install NCP-specific dependencies manually
|
|
245
255
|
pip install requests>=2.28.0 PyYAML>=6.0 cryptography>=3.4.8
|
|
@@ -252,6 +262,7 @@ python -c "import yaml; print('NCP YAML support: OK')"
|
|
|
252
262
|
```
|
|
253
263
|
|
|
254
264
|
#### Supported Python Versions
|
|
265
|
+
|
|
255
266
|
- **Python 3.9**: Minimum supported version
|
|
256
267
|
- **Python 3.10**: Fully supported
|
|
257
268
|
- **Python 3.11**: Recommended (tested with 3.11.13)
|
|
@@ -374,6 +385,7 @@ ssh:
|
|
|
374
385
|
#### 4. Platform-Specific Setup
|
|
375
386
|
|
|
376
387
|
**AWS Credentials:**
|
|
388
|
+
|
|
377
389
|
```bash
|
|
378
390
|
# Configure AWS CLI (if not already done)
|
|
379
391
|
aws configure
|
|
@@ -384,6 +396,7 @@ aws configure --profile development
|
|
|
384
396
|
```
|
|
385
397
|
|
|
386
398
|
**OCI Configuration:**
|
|
399
|
+
|
|
387
400
|
```bash
|
|
388
401
|
# Install OCI CLI and configure
|
|
389
402
|
oci setup config
|
|
@@ -393,12 +406,14 @@ oci iam user get --user-id $(oci iam user list --query 'data[0].id' --raw-output
|
|
|
393
406
|
```
|
|
394
407
|
|
|
395
408
|
**NCP Credentials:**
|
|
409
|
+
|
|
396
410
|
1. Go to NCP Console → My Page → API Key Management
|
|
397
411
|
2. Create Access Key and Secret Key
|
|
398
412
|
3. Add credentials to secrets.yaml
|
|
399
413
|
4. For NCP Gov: Use separate government cloud credentials
|
|
400
414
|
|
|
401
415
|
**CloudFlare API Token:**
|
|
416
|
+
|
|
402
417
|
1. Go to CloudFlare Dashboard → My Profile → API Tokens
|
|
403
418
|
2. Create token with Zone:Read permissions
|
|
404
419
|
3. Add token to secrets.yaml
|
|
@@ -432,6 +447,7 @@ All IC CLI commands feature rich progress bars that show real-time progress for
|
|
|
432
447
|
### AWS Services
|
|
433
448
|
|
|
434
449
|
#### Compute Services
|
|
450
|
+
|
|
435
451
|
```bash
|
|
436
452
|
# EC2 instances with progress tracking
|
|
437
453
|
ic aws ec2 info
|
|
@@ -454,6 +470,7 @@ ic aws fargate info # Fargate service information
|
|
|
454
470
|
```
|
|
455
471
|
|
|
456
472
|
#### Storage Services
|
|
473
|
+
|
|
457
474
|
```bash
|
|
458
475
|
# S3 buckets with tag management
|
|
459
476
|
ic aws s3 list_tags # List all S3 buckets with tags
|
|
@@ -467,6 +484,7 @@ ic aws rds tag_check # RDS tagging compliance
|
|
|
467
484
|
```
|
|
468
485
|
|
|
469
486
|
#### Networking Services
|
|
487
|
+
|
|
470
488
|
```bash
|
|
471
489
|
# VPC and networking
|
|
472
490
|
ic aws vpc info # VPC, subnet, and gateway information
|
|
@@ -486,6 +504,7 @@ ic aws vpn info # VPN gateway and connection information
|
|
|
486
504
|
```
|
|
487
505
|
|
|
488
506
|
#### Other AWS Services
|
|
507
|
+
|
|
489
508
|
```bash
|
|
490
509
|
# CloudFront distributions
|
|
491
510
|
ic aws cloudfront info # CloudFront distribution details
|
|
@@ -502,6 +521,7 @@ ic aws codepipeline deploy # Deployment pipeline information
|
|
|
502
521
|
### Oracle Cloud Infrastructure (OCI)
|
|
503
522
|
|
|
504
523
|
#### Compute and Containers
|
|
524
|
+
|
|
505
525
|
```bash
|
|
506
526
|
# VM instances across compartments
|
|
507
527
|
ic oci vm info # VM instances with detailed information
|
|
@@ -512,6 +532,7 @@ ic oci aci info # Container instance details
|
|
|
512
532
|
```
|
|
513
533
|
|
|
514
534
|
#### Networking
|
|
535
|
+
|
|
515
536
|
```bash
|
|
516
537
|
# Virtual Cloud Networks
|
|
517
538
|
ic oci vcn info # VCN, subnet, and routing information
|
|
@@ -524,6 +545,7 @@ ic oci nsg info # NSG rules and associations
|
|
|
524
545
|
```
|
|
525
546
|
|
|
526
547
|
#### Storage and Management
|
|
548
|
+
|
|
527
549
|
```bash
|
|
528
550
|
# Block and object storage
|
|
529
551
|
ic oci volume info # Block volume details
|
|
@@ -548,6 +570,7 @@ NCP services support both **Standard Cloud** and **Government Cloud** environmen
|
|
|
548
570
|
#### NCP Standard Cloud Services
|
|
549
571
|
|
|
550
572
|
**Compute Services**
|
|
573
|
+
|
|
551
574
|
```bash
|
|
552
575
|
# EC2 instances with detailed information
|
|
553
576
|
ic ncp ec2 info # All NCP EC2 instances
|
|
@@ -562,6 +585,7 @@ ic ncp ec2 info --status running # Filter by instance status
|
|
|
562
585
|
```
|
|
563
586
|
|
|
564
587
|
**Storage Services**
|
|
588
|
+
|
|
565
589
|
```bash
|
|
566
590
|
# S3 object storage buckets
|
|
567
591
|
ic ncp s3 info # All NCP S3 buckets
|
|
@@ -575,6 +599,7 @@ ic ncp s3 info --format json # JSON format for automation
|
|
|
575
599
|
```
|
|
576
600
|
|
|
577
601
|
**Networking Services**
|
|
602
|
+
|
|
578
603
|
```bash
|
|
579
604
|
# VPC networking information
|
|
580
605
|
ic ncp vpc info # All NCP VPCs and subnets
|
|
@@ -587,6 +612,7 @@ ic ncp vpc info --format json # JSON output
|
|
|
587
612
|
```
|
|
588
613
|
|
|
589
614
|
**Database Services**
|
|
615
|
+
|
|
590
616
|
```bash
|
|
591
617
|
# RDS database instances
|
|
592
618
|
ic ncp rds info # All NCP RDS instances
|
|
@@ -600,6 +626,7 @@ ic ncp rds info --engine mysql # Filter by database engine
|
|
|
600
626
|
```
|
|
601
627
|
|
|
602
628
|
**Security Services**
|
|
629
|
+
|
|
603
630
|
```bash
|
|
604
631
|
# Security Groups (Access Control Groups)
|
|
605
632
|
ic ncp sg info # All security groups
|
|
@@ -617,6 +644,7 @@ ic ncp sg info --rules inbound # Show inbound rules only
|
|
|
617
644
|
Government cloud services provide enhanced security, compliance features, and audit logging for sensitive workloads.
|
|
618
645
|
|
|
619
646
|
**Government Cloud Compute**
|
|
647
|
+
|
|
620
648
|
```bash
|
|
621
649
|
# Government cloud EC2 instances (enhanced security)
|
|
622
650
|
ic ncpgov ec2 info # All NCP Gov EC2 instances
|
|
@@ -630,6 +658,7 @@ ic ncpgov ec2 info --audit-trail # Include audit information
|
|
|
630
658
|
```
|
|
631
659
|
|
|
632
660
|
**Government Cloud Storage**
|
|
661
|
+
|
|
633
662
|
```bash
|
|
634
663
|
# Government cloud S3 storage (compliance features)
|
|
635
664
|
ic ncpgov s3 info # All NCP Gov S3 buckets
|
|
@@ -643,6 +672,7 @@ ic ncpgov s3 info --access-audit # Include access audit logs
|
|
|
643
672
|
```
|
|
644
673
|
|
|
645
674
|
**Government Cloud Networking**
|
|
675
|
+
|
|
646
676
|
```bash
|
|
647
677
|
# Government cloud VPC (policy compliance)
|
|
648
678
|
ic ncpgov vpc info # All NCP Gov VPCs with compliance status
|
|
@@ -656,6 +686,7 @@ ic ncpgov vpc info --access-controls # Show access control settings
|
|
|
656
686
|
```
|
|
657
687
|
|
|
658
688
|
**Government Cloud Database**
|
|
689
|
+
|
|
659
690
|
```bash
|
|
660
691
|
# Government cloud RDS with enhanced security
|
|
661
692
|
ic ncpgov rds info # All NCP Gov RDS instances
|
|
@@ -665,6 +696,7 @@ ic ncpgov rds info --compliance-report # Include compliance information
|
|
|
665
696
|
```
|
|
666
697
|
|
|
667
698
|
**Government Cloud Security**
|
|
699
|
+
|
|
668
700
|
```bash
|
|
669
701
|
# Government cloud security groups with enhanced policies
|
|
670
702
|
ic ncpgov sg info # All government cloud security groups
|
|
@@ -678,6 +710,7 @@ ic ncpgov sg info --audit-trail # Include security audit trail
|
|
|
678
710
|
NCP supports two platform types with different capabilities:
|
|
679
711
|
|
|
680
712
|
**VPC Platform (Recommended)**
|
|
713
|
+
|
|
681
714
|
```bash
|
|
682
715
|
# VPC platform supports all modern services
|
|
683
716
|
ic ncp ec2 info --platform vpc # VPC-based EC2 instances
|
|
@@ -693,6 +726,7 @@ ic ncp sg info --platform vpc # VPC security groups
|
|
|
693
726
|
```
|
|
694
727
|
|
|
695
728
|
**Classic Platform (Legacy)**
|
|
729
|
+
|
|
696
730
|
```bash
|
|
697
731
|
# Classic platform supports legacy services
|
|
698
732
|
ic ncp ec2 info --platform classic # Classic EC2 instances
|
|
@@ -712,6 +746,7 @@ ic ncp vpc info --platform classic # Will show "VPC not available" message
|
|
|
712
746
|
#### NCP Configuration Setup
|
|
713
747
|
|
|
714
748
|
**Quick Setup**
|
|
749
|
+
|
|
715
750
|
```bash
|
|
716
751
|
# Initialize NCP configuration with guided setup
|
|
717
752
|
ic config init # Interactive setup includes NCP options
|
|
@@ -730,6 +765,7 @@ ic config init # Interactive setup includes NCP option
|
|
|
730
765
|
```
|
|
731
766
|
|
|
732
767
|
**Manual Configuration**
|
|
768
|
+
|
|
733
769
|
```bash
|
|
734
770
|
# Create NCP standard cloud configuration
|
|
735
771
|
mkdir -p ~/.ncp
|
|
@@ -761,6 +797,7 @@ chmod 600 ~/.ncpgov/config
|
|
|
761
797
|
```
|
|
762
798
|
|
|
763
799
|
**Configuration Validation**
|
|
800
|
+
|
|
764
801
|
```bash
|
|
765
802
|
# Validate NCP configuration
|
|
766
803
|
ic config validate --ncp # Validate standard cloud config
|
|
@@ -779,6 +816,7 @@ ic ncpgov ec2 info --dry-run # Test NCP Gov API connectivity
|
|
|
779
816
|
#### Multi-Region and Multi-Account Examples
|
|
780
817
|
|
|
781
818
|
**Multi-Region Operations**
|
|
819
|
+
|
|
782
820
|
```bash
|
|
783
821
|
# Query resources across different regions
|
|
784
822
|
ic ncp ec2 info --region KR # Korea region
|
|
@@ -791,6 +829,7 @@ ic ncp s3 info --region US --format json > us_buckets.json
|
|
|
791
829
|
```
|
|
792
830
|
|
|
793
831
|
**Multi-Profile Configuration**
|
|
832
|
+
|
|
794
833
|
```yaml
|
|
795
834
|
# ~/.ncp/config - Multiple profiles
|
|
796
835
|
production:
|
|
@@ -1034,6 +1073,7 @@ NCP offers two platform types with different capabilities and service availabili
|
|
|
1034
1073
|
The VPC (Virtual Private Cloud) platform is the modern, recommended platform for new deployments:
|
|
1035
1074
|
|
|
1036
1075
|
**Features:**
|
|
1076
|
+
|
|
1037
1077
|
- Modern networking with VPC and subnets
|
|
1038
1078
|
- Enhanced security groups with advanced rules
|
|
1039
1079
|
- Load balancers with advanced features
|
|
@@ -1041,6 +1081,7 @@ The VPC (Virtual Private Cloud) platform is the modern, recommended platform for
|
|
|
1041
1081
|
- Support for all modern NCP services
|
|
1042
1082
|
|
|
1043
1083
|
**Supported Services:**
|
|
1084
|
+
|
|
1044
1085
|
```bash
|
|
1045
1086
|
ic ncp ec2 info --platform vpc # VPC-based EC2 instances
|
|
1046
1087
|
ic ncp s3 info --platform vpc # Object storage (available on both platforms)
|
|
@@ -1050,6 +1091,7 @@ ic ncp sg info --platform vpc # VPC security groups with advanced features
|
|
|
1050
1091
|
```
|
|
1051
1092
|
|
|
1052
1093
|
**Configuration Example:**
|
|
1094
|
+
|
|
1053
1095
|
```yaml
|
|
1054
1096
|
# ~/.ncp/config - VPC Platform
|
|
1055
1097
|
default:
|
|
@@ -1064,12 +1106,14 @@ default:
|
|
|
1064
1106
|
The Classic platform is the legacy platform maintained for backward compatibility:
|
|
1065
1107
|
|
|
1066
1108
|
**Features:**
|
|
1109
|
+
|
|
1067
1110
|
- Legacy networking model
|
|
1068
1111
|
- Basic security groups
|
|
1069
1112
|
- Limited load balancer features
|
|
1070
1113
|
- Some modern services not available
|
|
1071
1114
|
|
|
1072
1115
|
**Supported Services:**
|
|
1116
|
+
|
|
1073
1117
|
```bash
|
|
1074
1118
|
ic ncp ec2 info --platform classic # Classic EC2 instances
|
|
1075
1119
|
ic ncp s3 info --platform classic # Object storage (available on both platforms)
|
|
@@ -1079,6 +1123,7 @@ ic ncp sg info --platform classic # Basic security groups
|
|
|
1079
1123
|
```
|
|
1080
1124
|
|
|
1081
1125
|
**Configuration Example:**
|
|
1126
|
+
|
|
1082
1127
|
```yaml
|
|
1083
1128
|
# ~/.ncp/config - Classic Platform
|
|
1084
1129
|
default:
|
|
@@ -1108,6 +1153,7 @@ ic ncp ec2 info --platform vpc --format json > vpc_instances.json
|
|
|
1108
1153
|
```
|
|
1109
1154
|
|
|
1110
1155
|
**Migration Benefits:**
|
|
1156
|
+
|
|
1111
1157
|
- Access to modern networking features
|
|
1112
1158
|
- Enhanced security capabilities
|
|
1113
1159
|
- Better performance and reliability
|
|
@@ -1121,17 +1167,20 @@ NCP Government Cloud provides enhanced security and compliance features:
|
|
|
1121
1167
|
#### Security Features
|
|
1122
1168
|
|
|
1123
1169
|
**Enhanced Authentication:**
|
|
1170
|
+
|
|
1124
1171
|
- API Gateway authentication
|
|
1125
1172
|
- Multi-factor authentication support
|
|
1126
1173
|
- Enhanced access controls
|
|
1127
1174
|
|
|
1128
1175
|
**Data Protection:**
|
|
1176
|
+
|
|
1129
1177
|
- Automatic data encryption
|
|
1130
1178
|
- Sensitive data masking in logs
|
|
1131
1179
|
- Audit trail logging
|
|
1132
1180
|
- Compliance reporting
|
|
1133
1181
|
|
|
1134
1182
|
**Configuration Example:**
|
|
1183
|
+
|
|
1135
1184
|
```yaml
|
|
1136
1185
|
# ~/.ncpgov/config - Government Cloud Security
|
|
1137
1186
|
default:
|
|
@@ -1150,6 +1199,7 @@ default:
|
|
|
1150
1199
|
#### Compliance Features
|
|
1151
1200
|
|
|
1152
1201
|
**Audit and Monitoring:**
|
|
1202
|
+
|
|
1153
1203
|
```bash
|
|
1154
1204
|
# Check compliance status
|
|
1155
1205
|
ic ncpgov ec2 info --compliance-check
|
|
@@ -1162,6 +1212,7 @@ ic ncpgov sg info --policy-compliance
|
|
|
1162
1212
|
```
|
|
1163
1213
|
|
|
1164
1214
|
**Security Validation:**
|
|
1215
|
+
|
|
1165
1216
|
```bash
|
|
1166
1217
|
# Validate security settings
|
|
1167
1218
|
ic config validate --ncpgov --security
|
|
@@ -1178,6 +1229,7 @@ ic ncpgov vpc info --access-controls
|
|
|
1178
1229
|
### Security Best Practices
|
|
1179
1230
|
|
|
1180
1231
|
**Configuration Security:**
|
|
1232
|
+
|
|
1181
1233
|
```bash
|
|
1182
1234
|
# Always use proper file permissions for configuration files
|
|
1183
1235
|
chmod 600 ~/.ncp/config ~/.ncpgov/config
|
|
@@ -1196,6 +1248,7 @@ export NCP_SECRET_KEY="${{ secrets.NCP_SECRET_KEY }}"
|
|
|
1196
1248
|
```
|
|
1197
1249
|
|
|
1198
1250
|
**API Key Management:**
|
|
1251
|
+
|
|
1199
1252
|
```bash
|
|
1200
1253
|
# Rotate API keys regularly
|
|
1201
1254
|
# 1. Generate new keys in NCP Console
|
|
@@ -1211,6 +1264,7 @@ export NCP_SECRET_KEY="${{ secrets.NCP_SECRET_KEY }}"
|
|
|
1211
1264
|
```
|
|
1212
1265
|
|
|
1213
1266
|
**Government Cloud Security:**
|
|
1267
|
+
|
|
1214
1268
|
```bash
|
|
1215
1269
|
# Always enable all security features for government cloud
|
|
1216
1270
|
ic config set ncpgov.security.encryption_enabled true
|
|
@@ -1227,6 +1281,7 @@ ic ncpgov ec2 info --compliance-check
|
|
|
1227
1281
|
### Performance Best Practices
|
|
1228
1282
|
|
|
1229
1283
|
**Efficient Resource Queries:**
|
|
1284
|
+
|
|
1230
1285
|
```bash
|
|
1231
1286
|
# Use name filters to reduce data transfer
|
|
1232
1287
|
ic ncp ec2 info --name "prod-*" # Filter production instances
|
|
@@ -1242,6 +1297,7 @@ ic ncp s3 info --limit 20 # Limit to 20 buckets
|
|
|
1242
1297
|
```
|
|
1243
1298
|
|
|
1244
1299
|
**Multi-Region Optimization:**
|
|
1300
|
+
|
|
1245
1301
|
```bash
|
|
1246
1302
|
# Query specific regions instead of all regions
|
|
1247
1303
|
ic ncp ec2 info --region KR # Korea region only
|
|
@@ -1254,6 +1310,7 @@ wait # Wait for both to complete
|
|
|
1254
1310
|
```
|
|
1255
1311
|
|
|
1256
1312
|
**Caching for Repeated Queries:**
|
|
1313
|
+
|
|
1257
1314
|
```bash
|
|
1258
1315
|
# Enable caching for repeated queries
|
|
1259
1316
|
export NCP_CACHE_ENABLED=true
|
|
@@ -1267,6 +1324,7 @@ ic ncp ec2 info # Second call - uses cache (if within TTL)
|
|
|
1267
1324
|
### Automation Best Practices
|
|
1268
1325
|
|
|
1269
1326
|
**CI/CD Integration:**
|
|
1327
|
+
|
|
1270
1328
|
```yaml
|
|
1271
1329
|
# GitHub Actions example
|
|
1272
1330
|
name: NCP Infrastructure Check
|
|
@@ -1293,6 +1351,7 @@ jobs:
|
|
|
1293
1351
|
```
|
|
1294
1352
|
|
|
1295
1353
|
**Scripting Best Practices:**
|
|
1354
|
+
|
|
1296
1355
|
```bash
|
|
1297
1356
|
#!/bin/bash
|
|
1298
1357
|
# ncp_audit_script.sh - Example audit script
|
|
@@ -1332,6 +1391,7 @@ echo "NCP audit completed successfully"
|
|
|
1332
1391
|
```
|
|
1333
1392
|
|
|
1334
1393
|
**Error Handling in Scripts:**
|
|
1394
|
+
|
|
1335
1395
|
```bash
|
|
1336
1396
|
#!/bin/bash
|
|
1337
1397
|
# ncp_with_error_handling.sh
|
|
@@ -1359,12 +1419,14 @@ echo "All NCP operations completed successfully"
|
|
|
1359
1419
|
### NCP-Specific Troubleshooting
|
|
1360
1420
|
|
|
1361
1421
|
For NCP (Naver Cloud Platform) specific issues:
|
|
1422
|
+
|
|
1362
1423
|
- **Installation Guide**: [NCP Installation Guide](docs/ncp_installation_guide.md)
|
|
1363
1424
|
- **Troubleshooting**: [NCP Troubleshooting Guide](docs/ncp_troubleshooting_guide.md)
|
|
1364
1425
|
|
|
1365
1426
|
#### Quick NCP Troubleshooting
|
|
1366
1427
|
|
|
1367
1428
|
**Configuration Issues:**
|
|
1429
|
+
|
|
1368
1430
|
```bash
|
|
1369
1431
|
# Check if NCP configuration exists
|
|
1370
1432
|
ls -la ~/.ncp/config ~/.ncpgov/config
|
|
@@ -1383,6 +1445,7 @@ ic ncpgov ec2 info --dry-run
|
|
|
1383
1445
|
```
|
|
1384
1446
|
|
|
1385
1447
|
**Authentication Issues:**
|
|
1448
|
+
|
|
1386
1449
|
```bash
|
|
1387
1450
|
# Verify NCP credentials in console
|
|
1388
1451
|
# NCP Console → My Page → API Key Management
|
|
@@ -1397,6 +1460,7 @@ ic ncp ec2 info
|
|
|
1397
1460
|
```
|
|
1398
1461
|
|
|
1399
1462
|
**Platform-Specific Issues:**
|
|
1463
|
+
|
|
1400
1464
|
```bash
|
|
1401
1465
|
# Check platform configuration
|
|
1402
1466
|
ic config get ncp.platform # Should be "VPC" or "Classic"
|
|
@@ -1409,6 +1473,7 @@ ic config set ncp.platform "VPC"
|
|
|
1409
1473
|
```
|
|
1410
1474
|
|
|
1411
1475
|
**Government Cloud Issues:**
|
|
1476
|
+
|
|
1412
1477
|
```bash
|
|
1413
1478
|
# Verify API Gateway key is configured
|
|
1414
1479
|
ic config get ncpgov.apigw_key
|
|
@@ -1421,6 +1486,7 @@ ic config set ncpgov.security.compliance_mode true
|
|
|
1421
1486
|
```
|
|
1422
1487
|
|
|
1423
1488
|
**Regional Issues:**
|
|
1489
|
+
|
|
1424
1490
|
```bash
|
|
1425
1491
|
# Check supported regions
|
|
1426
1492
|
ic config get ncp.region # Should be KR, US, or JP
|
|
@@ -1438,6 +1504,7 @@ ic ncp ec2 info --region JP
|
|
|
1438
1504
|
#### Installation Issues
|
|
1439
1505
|
|
|
1440
1506
|
**Problem**: `pip install ic-code` fails with dependency conflicts
|
|
1507
|
+
|
|
1441
1508
|
```bash
|
|
1442
1509
|
# Solution: Use a virtual environment
|
|
1443
1510
|
python -m venv ic-env
|
|
@@ -1447,6 +1514,7 @@ pip install ic-code
|
|
|
1447
1514
|
```
|
|
1448
1515
|
|
|
1449
1516
|
**Problem**: Python version compatibility issues
|
|
1517
|
+
|
|
1450
1518
|
```bash
|
|
1451
1519
|
# Check Python version (3.9+ required, 3.11.13 recommended)
|
|
1452
1520
|
python --version
|
|
@@ -1459,6 +1527,7 @@ pyenv local 3.11.13
|
|
|
1459
1527
|
#### Configuration Issues
|
|
1460
1528
|
|
|
1461
1529
|
**Problem**: `ic config validate` shows validation errors
|
|
1530
|
+
|
|
1462
1531
|
```bash
|
|
1463
1532
|
# Check configuration file syntax
|
|
1464
1533
|
ic config show --verbose
|
|
@@ -1471,6 +1540,7 @@ ic config migrate
|
|
|
1471
1540
|
```
|
|
1472
1541
|
|
|
1473
1542
|
**Problem**: AWS credentials not found
|
|
1543
|
+
|
|
1474
1544
|
```bash
|
|
1475
1545
|
# Configure AWS CLI
|
|
1476
1546
|
aws configure
|
|
@@ -1483,6 +1553,7 @@ ic config show --aws
|
|
|
1483
1553
|
```
|
|
1484
1554
|
|
|
1485
1555
|
**Problem**: OCI configuration issues
|
|
1556
|
+
|
|
1486
1557
|
```bash
|
|
1487
1558
|
# Verify OCI CLI configuration
|
|
1488
1559
|
oci setup config
|
|
@@ -1497,6 +1568,7 @@ ic config get oci.config_file
|
|
|
1497
1568
|
#### Runtime Issues
|
|
1498
1569
|
|
|
1499
1570
|
**Problem**: Commands hang or timeout
|
|
1571
|
+
|
|
1500
1572
|
```bash
|
|
1501
1573
|
# Check network connectivity
|
|
1502
1574
|
ping aws.amazon.com
|
|
@@ -1508,6 +1580,7 @@ ic config set oci.timeout 60
|
|
|
1508
1580
|
```
|
|
1509
1581
|
|
|
1510
1582
|
**Problem**: Permission denied errors
|
|
1583
|
+
|
|
1511
1584
|
```bash
|
|
1512
1585
|
# Check file permissions
|
|
1513
1586
|
ls -la ~/.ic/config/
|
|
@@ -1518,6 +1591,7 @@ chmod 755 ~/.ic/config/
|
|
|
1518
1591
|
```
|
|
1519
1592
|
|
|
1520
1593
|
**Problem**: Progress bars not displaying correctly
|
|
1594
|
+
|
|
1521
1595
|
```bash
|
|
1522
1596
|
# Check terminal compatibility
|
|
1523
1597
|
echo $TERM
|
|
@@ -1530,16 +1604,19 @@ ic aws ec2 info
|
|
|
1530
1604
|
#### Platform-Specific Issues
|
|
1531
1605
|
|
|
1532
1606
|
**AWS Issues:**
|
|
1607
|
+
|
|
1533
1608
|
- Ensure AWS CLI is configured: `aws configure`
|
|
1534
1609
|
- Check account access: `aws sts get-caller-identity`
|
|
1535
1610
|
- Verify region availability: `aws ec2 describe-regions`
|
|
1536
1611
|
|
|
1537
1612
|
**OCI Issues:**
|
|
1613
|
+
|
|
1538
1614
|
- Verify OCI CLI setup: `oci setup config`
|
|
1539
1615
|
- Check compartment access: `oci iam compartment list`
|
|
1540
1616
|
- Validate API key: `oci iam user get --user-id <user-id>`
|
|
1541
1617
|
|
|
1542
1618
|
**NCP Issues:**
|
|
1619
|
+
|
|
1543
1620
|
- Ensure NCP dependencies are installed: `pip install ic-code` (includes NCP support)
|
|
1544
1621
|
- Check API credentials in NCP Console → My Page → API Key Management
|
|
1545
1622
|
- Verify configuration files exist: `~/.ncp/config` and `~/.ncpgov/config`
|
|
@@ -1551,6 +1628,7 @@ ic aws ec2 info
|
|
|
1551
1628
|
- Verify platform-specific services: VPC services not available on Classic platform
|
|
1552
1629
|
|
|
1553
1630
|
**CloudFlare Issues:**
|
|
1631
|
+
|
|
1554
1632
|
- Verify API token permissions in CloudFlare dashboard
|
|
1555
1633
|
- Check zone access: Test with CloudFlare API directly
|
|
1556
1634
|
- Ensure account/zone filters are correct in configuration
|
|
@@ -1608,6 +1686,7 @@ tail -f ~/.ic/logs/ic.log
|
|
|
1608
1686
|
## 🚧 Development Status
|
|
1609
1687
|
|
|
1610
1688
|
### Production Ready Platforms
|
|
1689
|
+
|
|
1611
1690
|
- ✅ **AWS**: Fully tested and production ready
|
|
1612
1691
|
- ✅ **OCI**: Fully tested and production ready
|
|
1613
1692
|
- ✅ **NCP**: Fully tested and production ready (Standard and Government Cloud)
|
|
@@ -1615,6 +1694,7 @@ tail -f ~/.ic/logs/ic.log
|
|
|
1615
1694
|
- ✅ **SSH**: Fully tested and production ready
|
|
1616
1695
|
|
|
1617
1696
|
### Development Platforms
|
|
1697
|
+
|
|
1618
1698
|
- ⚠️ **Azure**: In active development
|
|
1619
1699
|
- Basic functionality implemented
|
|
1620
1700
|
- May contain bugs or incomplete features
|
|
@@ -1749,4 +1829,3 @@ MIT License - see [LICENSE](LICENSE) file for details.
|
|
|
1749
1829
|
---
|
|
1750
1830
|
|
|
1751
1831
|
**Made with ❤️ for infrastructure engineers and cloud administrators**$`
|
|
1752
|
-
|