├── .gitignore ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── .travis.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── Gemfile ├── LICENSE.md ├── README.md ├── aws_public_ips.gemspec ├── bin └── aws_public_ips ├── lib ├── aws_public_ips.rb └── aws_public_ips │ ├── checks.rb │ ├── checks │ ├── apigateway.rb │ ├── cloudfront.rb │ ├── ec2.rb │ ├── elasticsearch.rb │ ├── elb.rb │ ├── elbv2.rb │ ├── lightsail.rb │ ├── rds.rb │ └── redshift.rb │ ├── cli.rb │ ├── formatters.rb │ ├── formatters │ ├── json.rb │ ├── prettyjson.rb │ └── text.rb │ ├── utils.rb │ └── version.rb └── spec ├── aws_public_ips ├── checks │ ├── apigateway_spec.rb │ ├── cloudfront_spec.rb │ ├── ec2_spec.rb │ ├── elasticsearch_spec.rb │ ├── elb_spec.rb │ ├── elbv2_spec.rb │ ├── lightsail_spec.rb │ ├── rds_spec.rb │ └── redshift_spec.rb ├── cli_spec.rb ├── formatters │ ├── json_spec.rb │ ├── prettyjson_spec.rb │ └── text_spec.rb ├── require_spec.rb └── utils_spec.rb ├── fixtures ├── apigateway.json ├── cloudfront.xml ├── ec2-private.xml ├── ec2.xml ├── elasticsearch-describe-classic.json ├── elasticsearch-describe-vpc.json ├── elasticsearch-list.json ├── elb.xml ├── elbv2.xml ├── lightsail-instance.json ├── lightsail-load-balancer.json ├── rds-empty-endpoint.xml ├── rds-vpc-private.xml ├── rds-vpc-public.xml ├── redshift-classic-public.xml ├── redshift-empty-endpoint.xml ├── redshift-vpc-private.xml └── redshift-vpc-public.xml └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --order random 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | Treat everyone with respect. 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/Dockerfile -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/README.md -------------------------------------------------------------------------------- /aws_public_ips.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/aws_public_ips.gemspec -------------------------------------------------------------------------------- /bin/aws_public_ips: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/bin/aws_public_ips -------------------------------------------------------------------------------- /lib/aws_public_ips.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/checks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/checks.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/checks/apigateway.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/checks/apigateway.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/checks/cloudfront.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/checks/cloudfront.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/checks/ec2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/checks/ec2.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/checks/elasticsearch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/checks/elasticsearch.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/checks/elb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/checks/elb.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/checks/elbv2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/checks/elbv2.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/checks/lightsail.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/checks/lightsail.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/checks/rds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/checks/rds.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/checks/redshift.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/checks/redshift.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/cli.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/formatters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/formatters.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/formatters/json.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/formatters/json.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/formatters/prettyjson.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/formatters/prettyjson.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/formatters/text.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/formatters/text.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/utils.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/lib/aws_public_ips/utils.rb -------------------------------------------------------------------------------- /lib/aws_public_ips/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module AwsPublicIps 4 | VERSION = '1.0.7'.freeze 5 | end 6 | -------------------------------------------------------------------------------- /spec/aws_public_ips/checks/apigateway_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/checks/apigateway_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/checks/cloudfront_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/checks/cloudfront_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/checks/ec2_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/checks/ec2_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/checks/elasticsearch_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/checks/elasticsearch_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/checks/elb_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/checks/elb_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/checks/elbv2_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/checks/elbv2_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/checks/lightsail_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/checks/lightsail_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/checks/rds_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/checks/rds_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/checks/redshift_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/checks/redshift_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/cli_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/cli_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/formatters/json_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/formatters/json_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/formatters/prettyjson_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/formatters/prettyjson_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/formatters/text_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/formatters/text_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/require_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/require_spec.rb -------------------------------------------------------------------------------- /spec/aws_public_ips/utils_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/aws_public_ips/utils_spec.rb -------------------------------------------------------------------------------- /spec/fixtures/apigateway.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/apigateway.json -------------------------------------------------------------------------------- /spec/fixtures/cloudfront.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/cloudfront.xml -------------------------------------------------------------------------------- /spec/fixtures/ec2-private.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/ec2-private.xml -------------------------------------------------------------------------------- /spec/fixtures/ec2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/ec2.xml -------------------------------------------------------------------------------- /spec/fixtures/elasticsearch-describe-classic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/elasticsearch-describe-classic.json -------------------------------------------------------------------------------- /spec/fixtures/elasticsearch-describe-vpc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/elasticsearch-describe-vpc.json -------------------------------------------------------------------------------- /spec/fixtures/elasticsearch-list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/elasticsearch-list.json -------------------------------------------------------------------------------- /spec/fixtures/elb.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/elb.xml -------------------------------------------------------------------------------- /spec/fixtures/elbv2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/elbv2.xml -------------------------------------------------------------------------------- /spec/fixtures/lightsail-instance.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/lightsail-instance.json -------------------------------------------------------------------------------- /spec/fixtures/lightsail-load-balancer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/lightsail-load-balancer.json -------------------------------------------------------------------------------- /spec/fixtures/rds-empty-endpoint.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/rds-empty-endpoint.xml -------------------------------------------------------------------------------- /spec/fixtures/rds-vpc-private.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/rds-vpc-private.xml -------------------------------------------------------------------------------- /spec/fixtures/rds-vpc-public.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/rds-vpc-public.xml -------------------------------------------------------------------------------- /spec/fixtures/redshift-classic-public.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/redshift-classic-public.xml -------------------------------------------------------------------------------- /spec/fixtures/redshift-empty-endpoint.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/redshift-empty-endpoint.xml -------------------------------------------------------------------------------- /spec/fixtures/redshift-vpc-private.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/redshift-vpc-private.xml -------------------------------------------------------------------------------- /spec/fixtures/redshift-vpc-public.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/fixtures/redshift-vpc-public.xml -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arkadiyt/aws_public_ips/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------