@csermet/multiprovider
Version:
cloud-graph provider plugin for AWS used to fetch AWS cloud data.
545 lines (544 loc) β’ 29.2 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
platform: 'Platform: AWS',
requestingAccountData: 'Getting AWS Account Data',
requestingAccountDataError: 'β ERROR: There was an error getting the AWS account data using these credentials β ',
foundRoleArn: 'Found AWS Role ARN and external ID - authenticating via STS',
foundSecurityViolation: (name, type) => `π Found a security violation for ${type}: ${name} π`,
startGeneration: 'Generating VSD data for AWS account...',
regionNotFound: (name) => `β The region ${name} was not found in the list of supported AWS regions β`,
globalAwsRegion: 'Found Global AWS region, adding global resources',
/**
* ACM
*/
fetchedAcmCertificates: (num) => `Fetched ${num} ACM certificates`,
/**
* IAM
*/
fetchingIamPasswordPolicy: 'Fetching IAM Password Policy for this AWS account via the AWS SDK...',
doneFetchingIamPasswordPolicy: 'β
Done fetching IAM Password Policy β
',
fetchedIamUsers: (num) => `Fetched ${num} IAM users`,
lookingForIam: 'Looking for IAM resources to add',
addingIam: 'Adding IAM resources',
lookingForIamUsers: 'Looking for IAM Users to add',
foundUsers: (num) => `Found ${num} Users to add`,
lookingForIamRoles: 'Looking for IAM Roles to add',
foundRoles: (num) => `Found ${num} Roles to add`,
lookingForIamGroups: 'Looking for IAM Groups to add',
foundGroups: (num) => `Found ${num} Groups to add`,
lookingForIamPolicies: 'Looking for IAM Policies to add',
foundPolicies: (num) => `Found ${num} Policies to add`,
lookingForIamSamlProviders: 'Looking for IAM Saml Providers to add',
foundSamlProviders: (num) => `Found ${num} Saml Providers to add`,
lookingForIamOpenIdProviders: 'Looking for IAM OpenId Connect Providers to add',
foundOpenIdProviders: (num) => `Found ${num} OpenId Connect Providers to add`,
lookingForIamServerCertificates: 'Looking for IAM Server Certificates to add',
foundServerCertificates: (num) => `Found ${num} Server Certificates to add`,
foundInstanceProfiles: (num) => `Found ${num} Instance Profiles to add`,
/**
* CloudFormation
*/
fetchingCloudFormationData: 'Fetching CloudFormation data for this AWS account via the AWS SDK...',
doneFetchingCloudFormationData: 'β
Done fetching CloudFormation Data β
',
lookingForCfStacks: 'Looking for Cloudformation Stacks to add to Region...',
fetchedCfStacks: (num) => `Fetched ${num} CF Stacks`,
addingCfStacks: (num) => `Created and added ${num} CloudFomation stacks to this region`,
/**
* CloudFront
*/
fetchingCloudFrontData: 'Fetching CloudFront Distros for this AWS account via the AWS SDK...',
fetchedCloudFrontDistros: (num) => `Fetched ${num} CloudFront Distros`,
fetchingCloudFrontDistrosConfigAndTags: 'Fetching CloudFront Distros Config Data and Tags...',
doneFetchingCloudFrontDistrosConfigAndTags: 'Done fetching CloudFront Distros Config Data and Tags...',
/**
* Route53
*/
fetchedRoute53Zones: (num) => `Fetched ${num} Route53 Hosted Zones`,
fetchedRoute53ZonesRecords: (num, zoneId) => `Fetched ${num} Route53 Hosted Zone records for ${zoneId}`,
lookingForRoute53: 'Looking for Route53 Hosted Zones to add to account...',
addingRoute53: (num) => `Created and added ${num} Route53 Hosted Zones to this account`,
doneFetchingRoute53HostedZoneData: 'β
Done fetching Route53 Hosted Zones Data β
',
doneFetchingRoute53RecordsData: 'β
Done fetching Route53 Records Data β
',
/**
* CloudWatch
*/
lookingForCloudwatch: 'Looking for CloudWatch alarms to add to Region...',
fetchingCloudwatchData: 'Fetching CloudWatch alarms for this AWS account via the AWS SDK...',
doneFetchingCloudwatchData: (num) => `π Done fetching CloudWatch alarms in ${num} π`,
addingCloudwatch: (num) => `Created and added ${num} CloudWatch alarms to this region`,
foundMoreCloudwatchAlarms: (num) => `Found another ${num} CloudWatch alarms in this region...`,
addingCloudwatchMetricsToElement: (num, namespace) => `Found ${num} CloudWatch metric alarms to add for ${namespace}`,
gettingCloudwatchAlarms: 'Fetching CloudWatch alarms...',
gettingCloudwatchAlarmTags: 'Fetching tags for each CloudWatch alarm...',
/**
* Kinesis Data Streams
*/
lookingForKinesisDataStreams: 'Looking for Kinesis Data Streams to add to Region...',
addingKinesisDataStreams: (num) => `Created and added ${num} Kinesis Data Streams to this region`,
/**
* Kinesis Data Firehose
*/
lookingForKinesisDataFirehose: 'Looking for Kinesis Data Firehose to add to Region...',
addingKinesisDataFirehose: (num) => `Created and added ${num} Kinesis Data Firehose to this region`,
/**
* Iot Thing
*/
lookingForIotThing: 'Looking for IoT Things to add to Region...',
addingIotThing: (num) => `Created and added ${num} IoT Things to this region`,
foundMoreIoTThings: (num) => `Found another ${num} IoT things in this region...`,
gettingIoTThings: 'Fetching IoT things...',
/**
* Api Gateway
*/
lookingForApiGateway: 'Looking for Api Gateways to add to Region...',
addingApiGateway: (num) => `Created and added ${num} Api Gateways to this region`,
fetchedApiGatewayRestApis: (num) => `Fetched ${num} Api Gateway Rest Apis`,
fetchedApiGatewayResources: (num) => `Fetched ${num} Api Gateway Resources`,
fetchedApiGatewayStages: (num) => `Fetched ${num} Api Gateway Stages`,
fetchedApiGwDomainNames: (num) => `Fetched ${num} API Gateway Domain Names`,
fetchingApiGatewayData: 'Fetching API Gateway data for this AWS account via the AWS SDK...',
doneFetchingApiGatewayData: 'β
Done fetching API Gateway Data β
',
gettingApiGatewayTags: 'Fetching tags for each Api Gateway Rest Api...',
gettingApiGatewayStageTags: 'Fetching tags for each Api Gateway Stage...',
/**
* Vpc
*/
fetchingVpcData: 'Fetching VPC data for this AWS account via the AWS SDK...',
doneFetchingVpcData: 'β
Done fetching VPC Data β
',
fetchedVpcs: (num) => `Fetched ${num} Vpcs`,
lookingForVpc: 'Looking for VPC data to add',
foundVpcs: (num) => `Found ${num} VPCs to add to this region's data`,
beginVpc: 'β
Begin Vpc Formatting β
',
foundAdditionalVpcData: (found) => found
? 'Found supplemental VPC data to add'
: 'β ERROR - Missing supplemental VPC data β',
foundNacls: (num) => `Found ${num} NACLs to add to VPC`,
fetchedNatGateways: (num) => `Fetched ${num} NAT Gateways`,
foundSecurityGroups: (num) => `Found ${num} Security Groups to add to VPC`,
fetchedSecurityGroups: (num) => `Fetched ${num} Security Groups`,
foundVpcLambdas: (num) => `Found ${num} Lambdas to add to VPC`,
gatheringRouteTableAssociations: 'Gathering route table associations',
gatheringSubnets: 'Gathering subnets to add to VPC',
fetchedSubnets: (num) => `Fetched ${num} Subnets`,
creatingVpc: 'Creating VPC Element',
addingVpc: 'Adding VPC Element to the region',
lookingforSubnets: 'Looking for Subnets to add to VPC',
foundSubnets: (num) => `Found ${num} Subnets to add to this Vpc`,
foundAdditionalSubnetData: (found) => found
? 'Found supplemental Subnet data to add'
: 'β ERROR - Missing supplemental Subnet data β',
creatingSubnet: 'Creating Subnet',
addingSubnet: 'Adding Subnet -> NACL -> AZ',
addingRouteTablesToSubnet: (num, name) => `Adding ${num} Route Tables to subnet ${name}`,
/**
* Lambda
*/
lookingForVpcLambdas: 'Looking for Lambdas with VPC networking to add to the VPC',
lookingForLambda: 'Looking for non-vpc Lambdas to add to region',
fetchingLambdaData: 'Fetching Lambdas for this AWS account via the AWS SDK...',
doneFetchingLambdaData: (num) => `π Done fetching Lambdas in ${num} π`,
lambdasCreated: (num) => `Found and created ${num} Lambdas for this region`,
addingLambdas: 'Adding lambdas to region',
foundMoreLambdas: (num) => `Found another ${num} Lambdas in this region...`,
fetchedLambdas: (num) => `Fetched ${num} Lambdas`,
gettingLambdaTags: 'Fetching tags for each Lambda...',
/**
* ALBs
*/
fetchedAlbs: (num) => `Fetched ${num} Application Load Balancers`,
lookingForAlbs: 'Looking ALBs to add to VPC...',
lookingForAlb: 'Looking for Albs...',
doneFetchingAlbData: 'β
Done fetching ALB Data β
',
albsCreated: (num) => `Found and created ${num} ALBs`,
fetchedAlbTags: (num, albArn) => `Fetched ${num} Tags for ${albArn}`,
fetchedAlbAttributes: (num, albArn) => `Fetched ${num} Attributes for ${albArn}`,
fetchedAlbListeners: (num, albArn) => `Fetched ${num} ALB Listeners for ${albArn}`,
fetchedAlbTargetGroups: (num, albArn) => `Fetched ${num} ALB Target Groups for ${albArn}`,
fetchedAlbTargetIds: (num, albArn) => `Fetched ${num} ALB Target Ids for ${albArn}`,
/**
* IGW
*/
fetchedIgws: (num) => `Fetched ${num} IGWs`,
foundIgw: (num) => `Found ${num} Internet Gateway to add to VPC`,
fetchingIgw: 'Fetching IGW data for this AWS account via the AWS SDK...',
doneFetchingIgwData: (num) => `π Done fetching IGW Data in ${num} π`,
/**
* EIPs (not attached to instances)
*/
lookingForEips: 'Looking EIPs that are not attached to instances',
fetchedEips: (num) => `Fetched ${num} EIPs`,
eipsCreated: (num) => `Found and created ${num} EIPs`,
fetchingEip: 'Fetching EIP data for this AWS account via the AWS SDK...',
doneFetchingEipData: 'β
Done fetching EIP Data β
',
/**
* Organization
*/
orgFound: 'β
Org data found, adding data orgβ
',
noOrgFound: 'β No org found or multiple orgs found which we currently do not support. Adding data to bare bones org β',
/**
* ASG
*/
fetchingAsgData: 'Fetching ASG data for this AWS account via the AWS SDK...',
doneFetchingAsgData: 'β
Done fetching ASG Data β
',
fetchedAsgs: (num) => `Fetched ${num} AutoScaling Groups`,
addingAsgs: (num) => `Found ${num} AutoScaling Groups, adding them to the VPC`,
lookingForAsgs: 'Looking for AutoScaling Groups to add...',
/**
* AppSync
*/
fetchedAppSync: (num) => `Fetched ${num} App Syncs`,
doneFetchedAppSync: 'β
Done fetching AppSync Data β
',
/**
* EBS
*/
fetchingEbsData: 'Fetching EBS data for this AWS account via the AWS SDK...',
doneFetchingEbsData: 'β
Done fetching EBS Data β
',
fetchedEbsVolumes: (num) => `Fetched ${num} EBS Volumes`,
lookingForEbs: 'Looking for EBS volumes for EC2 instances...',
/**
* EBS Snapshot
*/
fetchingEbsSnapshotData: 'Fetching EBS Snapshot data for this AWS account via the AWS SDK...',
doneFetchingEbsSnapshotData: 'β
Done fetching EBS Snapshot Data β
',
fetchedEbsSnapshots: (num) => `Fetched ${num} EBS Snapshots`,
lookingForEbsSnapshot: 'Looking for EBS Snapshots...',
/**
* EC2
*/
lookingforEc2: 'Looking for EC2 instances to add...',
fetchedEc2Instances: (num) => `Fetched ${num} EC2 Instances`,
fetchedEc2InstanceTags: (num) => `Fetched ${num} Tags for EC2 Instances`,
creatingEc2Instance: (num) => `Creating EC2 Instance #${num}`,
addingEc2Instances: (num) => `Found ${num} EC2 Instances, adding them to the Subnet`,
fetchedNetworkInterfaces: (num) => `Fetched ${num} Network Interfaces`,
lookingForNetworkInterfaces: 'Gathering Network Interfaces to add...',
foundKeyPair: (id) => `Found Key Pair ${id} for instance`,
doneFetchingEc2Data: 'β
Done fetching EC2 Instance Data β
',
/**
* RDS
*/
fetchingRdsData: 'Fetching RDS data for this AWS account via the AWS SDK...',
doneFetchingRdsData: 'β
Done fetching RDS Data β
',
lookingforRdsInstances: 'Looking for RDS Instances...',
lookingforRdsClusters: 'Looking for RDS Clusters...',
creatingRdsInstance: (num) => `Creating RDS Instance #${num}`,
fetchedRdsClusters: (num) => `Fetched ${num} RDS Clusters`,
fetchedRdsInstances: (num) => `Fetched ${num} RDS DB Instances`,
noClusterFound: 'β DB Instance is not part of a cluster β ',
foundCluster: 'Found the cluster the instance belongs to',
addingRdsInstances: (num) => `Found ${num} RDS Instances, adding them to the Subnet`,
addingRdsClusters: (num) => `Found ${num} RDS Clusters, adding them to the Vpc`,
noClusterFoundForDbInstance: ({ name }) => `No cluster found for db_instance: ${name}`,
/**
* EMR
*/
fetchingEmrData: 'Fetching EMR cluster data for this AWS account via the AWS SDK...',
lookingForEmr: 'Looking for EMR Clusters to add...',
addingEmr: (num) => `Found ${num} EMR Clusters, adding them to the Region`,
doneFetchingEmrData: 'β
Done fetching EMR Data β
',
fetchedEmrClusters: (num) => `Fetched ${num} EMR Clusters`,
fetchedEmrClusterInstances: (num) => `Fetched ${num} EMR Clusters Instances`,
foundAnotherFiftyClusters: (region) => `Found another 50 EMR clusters for the ${region} region...`,
foundAnotherTwoThousandInstances: (cluster) => `Found another 2000 EMR instances for the ${cluster} cluster...`,
foundAnotherFiftySteps: (cluster) => `Found another 50 EMR steps for the ${cluster} cluster...`,
fetchedEmrClusterSteps: (num) => `Fetched ${num} EMR Cluster Steps`,
addingEmrEc2Connection: (clusterName, ec2InstanceName) => `Found ec2 instance ${ec2InstanceName} to add to emr cluster ${clusterName}`,
noEmrClusterParentFoundForEc2Instance: ({ name }) => `β WARNING: No EMR Cluster found for EC2 Instance ${name} β `,
/**
* EFS
*/
fetchingEfsData: 'Fetching EFS data for this AWS account via the AWS SDK...',
lookingForEfs: 'Looking for EFS data to add...',
lookingForEfsMountTargets: 'Looking for EFS Mount Targets to add to subnet...',
addingEfs: (num) => `Found ${num} EFS, adding them to the VPC`,
addingEfsMountTargets: (num) => `Found ${num} EFS Mount Targets, adding them to the subnet`,
doneFetchingEfsData: 'β
Done fetching EFS Data β
',
fetchedEfs: (num) => `Fetched ${num} EFS`,
fetchedEfsMountTargets: (num) => `Fetched ${num} EFS Mount Targets`,
fetchedEfsMountTargetSecurityGroups: (num) => `Fetched ${num} EFS Mount Target Security Groups`,
noFileSystemFoundForEfsMountPoint: ({ name }) => `β WARNING: No EFS found for mount point ${name} β `,
/**
* S3
*/
lookingForS3: 'Looking for S3 Buckets to add',
lookingForS3SecurityData: 'Looking for S3 buckets with security violations...',
foundAnotherThousand: 'Found another thousand objects in the s3 bucket...',
fetchingS3Data: 'Fetching S3 data for this AWS account via the AWS SDK...',
doneFetchingS3Data: (num) => `π Done fetching S3 Data in ${num} π`,
fetchedS3Buckets: (num) => `Fetched ${num} S3 Buckets`,
creatingS3Bucket: (num) => `Creating S3 Bucket #${num}`,
addingS3Buckets: (num) => `Found ${num} S3 Buckets, adding them to the Region`,
gettingBucketBasicInfo: (name) => `Fetching basic information for ${name} bucket...`,
gettingBucketAdditionalInfo: (name) => `Fetching additional information for ${name} bucket...`,
gettingBucketAdditionalInfoError: (name) => `There was an error fetching additional information for ${name} bucket...`,
/**
* DynamoDb
*/
lookingForDynamoDb: 'Looking for DynamoDb Tables to add...',
fetchingDynamoDbData: 'Fetching DynamoDB data for this AWS account via the AWS SDK...',
doneFetchingDynamoDbData: (num) => `π Done fetching DynamoDb Data in ${num} π`,
fetchedDynamoDbTableNames: (num) => `Fetched ${num} DynamoDB table names`,
addingDynamoDbTables: (num) => `Found ${num} Dynamo DB tables, adding them to the Region`,
gettingTableDetails: 'Fetching details for each table...',
gettingTableTags: 'Fetching tags for each table...',
gettingTableTtlInfo: 'Fetching TTL description for each table...',
gettingTableBackupInfo: 'Fetching Continuous Backup description for each table...',
/**
* SNS
*/
fetchedSNSTopics: (num) => `Fetched ${num} SNS Topics`,
gettingSNSTopicAttributes: `Fetching attributes for each topic...`,
gettingSNSTopicTags: `Fetching tags for each topic...`,
gettingSNSTopicSubscriptions: `Fetching subscriptions for each topic...`,
lookingForSns: 'Looking for SNS topics and subscriptions to add...',
addingSns: (num) => `Found ${num} SNS topics, adding them to the Region`,
/**
* Secrets Manager
*/
fetchingSecretsManager: 'Fetching Secrets Manager data for this AWS account via the AWS SDK...',
doneFetchingSecretsManager: 'β
Done fetching Secrets Manager data β
',
lookingForSecretsManager: 'Looking for Secrets Manager Secrets to add...',
addingSecretsManager: (num) => `Found ${num} Secrets Manager Secrets, adding them to the Region`,
fetchedSecretsManager: (num) => `Fetched ${num} Secrets Manager Secrets`,
/**
* SQS
*/
lookingForSqs: 'Looking for SQS queues to add...',
addingSqs: (num) => `Found ${num} SQS Queues, adding them to the Region`,
/**
* SES
*/
fetchingSesData: 'Fetching SES data for this AWS account via the AWS SDK...',
doneFetchingSesData: 'β
Done fetching SES Data β
',
fetchedSesIdentities: (num) => `Fetched ${num} SES Identities`,
lookingForSes: 'Looking for SES to add...',
addingSes: (num) => `Found ${num} SES, adding them to the Region`,
/**
* Kinesis Data Firehose
*/
fetchedKinesisFirehose: (num) => `Fetched ${num} Kinesis Firehose`,
/**
* Kinesis Data Stream
*/
fetchedKinesisStream: (num) => `Fetched ${num} Kinesis streams`,
/**
* KMS
*/
lookingForKms: 'Looking for KMS Keys to add...',
addingKms: (num) => `Found ${num} KMS Keys, adding them to the Region`,
fetchedKmsKeys: (num) => `Fetched ${num} KMS Keys`,
doneFetchingKmsData: 'β
Done fetching Kms Data β
',
hasMoreKmsTags: 'KMS Key has more than 50 tags, some where not fetched...',
gettingKeyDetails: 'Fetching details for each key...',
gettingRotationStatus: 'Checking rotation status for each key...',
gettingPolicies: 'Fetching default Policy for each key...',
gettingTags: 'Fetching Tags for each key...',
gettingAliases: 'Fetching Aliases for each key...',
/**
* EKS
*/
lookingForEks: 'Looking for EKS Clusters to add...',
addingEks: (num) => `Found ${num} EKS Clusters, adding them to the VPC`,
canNotFindClusterForAsg: 'ERROR: Can not find ECS/EKS cluster for ASG - it should have been added already',
foundMoreEKSClusters: (num) => `Found another ${num} EKS clusters in this region...`,
/**
* Elastic Beanstalk
*/
fetchedElasticBeanstalkApps: (num) => `Fetched ${num} Elastic Beanstalk Applications`,
fetchedElasticBeanstalkEnvs: (num) => `Fetched ${num} Elastic Beanstalk Environments`,
/**
* ElastiCache
*/
lookingForElastiCache: 'Looking for ElastiCache Clusters to add...',
addingElastiCache: (num) => `Found ${num} ElastiCache Clusters, adding them to the VPC`,
missingReplicationGroup: (is) => `Missing replication group for ${is} ElastiCache Cluster! Not adding ElastiCache Data`,
fetchedElasticacheClusters: (num) => `Fetched ${num} Elasticache clusters...`,
/**
* ECR
*/
fetchedECRRepos: (num) => `Found ${num} ECR repos...`,
foundMoreECRRepos: (num) => `Found another ${num} ECR repos in this region...`,
gettingECRRepos: 'Fetching ECR repos...',
gettingECRRepoTags: 'Fetching tags for each ECR repo...',
/**
* Transit Gateway
*/
lookingForTransitGateway: 'Looking for Transit Gateways to add...',
addingTransitGateways: (num) => `Found ${num} Transit Gateways, adding them to the VPC`,
addingTransitGatewayToVpc: ({ name }) => `Adding Transit Gateway ${name} to the VPC`,
addingTransitGatewayToRegion: ({ name }) => `Transit Gateway not attached to a VPC, adding Transit Gateway ${name} to the region level`,
fetchedTransitGateways: (num) => `Found ${num} Transit Gateways`,
/**
* Transit Gateway Attachment
*/
fetchedTransitGatewayAttachments: (num) => `Found ${num} Transit Gateway Attachments`,
/**
* Transit Gateway Route Tables
*/
fetchedTransitGatewayRouteTables: (num) => `Found ${num} Transit Gateway Route Tables`,
/**
* VPN Gateway
*/
lookingForVpnGateway: 'Looking for Vpn Gateways to add...',
addingVpnGatewayToVpc: (num) => `Adding ${num} Vpn Gateways to the VPC`,
fetchedVpnGateways: (num) => `Fetched ${num} Vpn Gateways`,
/**
* Customer Gateway
*/
lookingForCustomerGateways: 'Looking for Customer Gateways to add...',
addingCustomerGatewaysToVpc: ({ name }) => `Adding the ${name} Customer Gateways to the VPC`,
addingCustomerGatewayToRegion: ({ name }) => `Customer Gateway not attached to a VPC, adding Customer Gateway ${name} to the region level`,
/**
* Redshift
*/
lookingForRedshift: 'Looking for Redshift Clusters to add...',
addingRedshift: (num) => `Found ${num} Redshift Clusters, adding them to the Region`,
doneFetchingRedshiftData: 'β
Done fetching Redshift Cluster Data β
',
fetchedRedshiftClusters: (num) => `Found ${num} Redshift Clusters`,
/**
* ECS
*/
lookingForEcs: 'Looking for Ecs Clusters to add...',
addingEcs: (num) => `Found ${num} Ecs Clusters, adding them to the Region`,
doneFetchingEcsData: 'β
Done fetching Ecs Cluster Data β
',
fetchedEcsClusters: (num) => `Found ${num} Ecs Clusters`,
fetchedEcsServices: (num) => `Found ${num} Ecs Services`,
fetchedEcsTaskDefinitions: (num) => `Found ${num} Ecs Task Definitions`,
fetchedEcsTasks: (num) => `Found ${num} Ecs Tasks`,
fetchedEcsContainers: (num) => `Found ${num} Ecs Containers`,
ecsVpcNotFound: 'ERROR: Vpc for ECS Cluster was not found',
addingEcsClusters: (num) => `Found ${num} ECS Clusters, adding them to the the VPC`,
addingEcsTasksToSubnet: (num, subnetId) => `Found ${num} ECS Tasks, adding them to the the ${subnetId} Subnet`,
/**
* Cognito
*/
lookingForCognito: 'Looking for Cognito to add...',
addingIdentityPools: (num) => `Found ${num} Cognito Identity Pools, adding them to the Region`,
addingUserPools: (num) => `Found ${num} Cognito User Pools, adding them to the Region`,
doneFetchingCognitoData: 'β
Done fetching Cognito Data β
',
fetchedCognitoUserPools: (num) => `Found ${num} Cognito User Pools`,
fetchedCognitoIdentityPools: (num) => `Found ${num} Cognito Identity Pools`,
fetchedCognitoUserPool: (id) => `Fetched Cognito User Pool data for ${id}`,
fetchedCognitoIdentityPool: (id) => `Fetched Cognito Identity Pool data for ${id}`,
lookingForIdentityPools: 'Looking for Cognito Identity Pools to add to region',
lookingForUserPools: 'Looking for Cognito User Pools to add to region',
/**
* Client Vpn Endpoints
*/
fetchingClientVpnEndpointsData: 'Fetching Client Vpn Endpoints data for this AWS account via the AWS SDK...',
doneFetchingClientVpnEndpointsData: 'β
Done fetching Client Vpn Endpoints Data β
',
fetchedClientVpnEndpoints: (num) => `Fetched ${num} Client Vpn Endpoints`,
addingClientVpnEndpoints: (num) => `Found ${num} Client Vpc Endpoints adding them to the vpc`,
/**
* Vpn Connection
*/
fetchingVpnConnectionsData: 'Fetching Vpn Connections data for this AWS account via the AWS SDK...',
doneFetchingVpnConnectionsData: 'β
Done fetching Vpn Connections Data β
',
fetchedVpnConnections: (num) => `Fetched ${num} Vpn Connections`,
addingVpnConnections: (num) => `Found ${num} Client Vpn Endpoints adding them to the region`,
lookingForVpnConnections: 'Looking for VPN Connections to add...',
/**
* Classic ELB
*/
fetchingElbData: 'Fetching Classic ELB data for this AWS account via the AWS SDK...',
doneFetchingElbData: 'β
Done fetching Classic ELB Data β
',
lookingForElbs: 'Looking for Classic Elbs to add...',
addingElbs: (num) => `Found ${num} Classic Elbs, adding them to the vpc`,
fetchedElbs: (num) => `Found ${num} Classic Elbs`,
/**
* 2D UI Creation
*/
beginHostingFromVpc: 'Looking for resources to hoist from VPCs and Subnets to the top level...',
foundItemsToHoist: (num, type) => `Found ${num} items to hoist up to the top level for ${type}`,
removingOldChildren: 'Removing old children from this subnet...',
combiningAndAddingNacls: (name) => `Deduping NACLS and adding them and their children directly to VPC: ${name}`,
/**
* Kubernetes
*/
fetchingKubernetesData: 'Kubernetes Data for AWS requested - fetching all clusters... This will take a while...',
doneFetchingKubernetesData: 'β
Done fetching Kubernetes Data β
',
/**
* Cloud9
*/
lookingForCloud9: 'Looking for Cloud9 to add to Region...',
addingCloud9: (num) => `Created and added ${num} Cloud9 to this region`,
foundMoreCloud9Environments: (num) => `Found another ${num} Cloud9 environments in this region...`,
gettingCloud9Environments: 'Fetching Cloud9 environments...',
gettingCloud9EnvironmentTags: 'Fetching tags for each Cloud9 environment...',
/**
* VPC
*/
fetchingVpcDnsSupportData: 'Fetching Enable DNS Support config for VPCs...',
fetchingVpcDnsHostnamesData: 'Fetching Enable DNS Hostnames config for VPCs...',
/**
* Route Tables
*/
fetchedRouteTables: (num) => `Fetched ${num} Route Tables`,
foundRouteTables: (num) => `Found ${num} Route Tables to add to VPC`,
fetchingRouteTable: 'Fetching Route Table data for this AWS account via the AWS SDK...',
doneFetchingRouteTableData: (num) => `π Done fetching Route Table Data in ${num} π`,
addingMainRouteTableToVpc: (vpcId) => `Adding Main Toute Table to VPC ${vpcId}`,
/**
* Billing
*/
fetchingAggregateFinOpsData: 'Fetching aggregate FinOps data for this AWS account via the AWS SDK...',
unableToFindFinOpsAggregateData: 'β Unable to getCostAndUsage data for this AWS account, ResultsByTime was missing. β',
unableToFindFinOpsIndividualData: 'β Unable to getCostAndUsageWithResources data for this AWS account, ResultsByTime was missing. β',
queryingAggregateFinOpsDataForRegion: (region, type) => `Querying aggregate FinOps data for the ${region} region using the ${type} method...`,
queryingIndividualFinOpsDataForRegion: (region) => `Querying individual FinOps data for the ${region} region...`,
doneFetchingAggregateFinOpsData: (num) => `π Done fetching aggregate FinOps data in ${num} π`,
unableToFindFinOpsServiceData: 'β Unable to listAvailabeServices data for this AWS account, DimensionValues was missing. β',
/**
* NACL
*/
fetchedNacls: (num) => `Fetched ${num} NACLs`,
/**
* Customer Gateway
*/
fetchedCustomerGateways: (num) => `Fetched ${num} Customer Gateways`,
/**
* CloudWatch Logs
*/
lookingForCloudwatchLogGroups: 'Looking for CloudWatch Log groups to add to Region...',
fetchingCloudwatchLogGroupsData: 'Fetching CloudWatch Log groups for this AWS account via the AWS SDK...',
doneFetchingCloudwatchLogGroupsData: (num) => `π Done fetching CloudWatch Log groups in ${num} π`,
foundMoreCloudwatchLogGroups: (num) => `Found another ${num} CloudWatch Log groups in this region...`,
gettingCloudwatchLogGroups: 'Fetching CloudWatch Log groups...',
foundMoreCloudwatchMetricFilters: (num) => `Found another ${num} CloudWatch Metric filters in this region...`,
/**
* Configuration Recorders
*/
fetchedConfigurationRecorders: (num) => `Fetched ${num} Configuration Recorders`,
/**
* Configuration Recorder Status
*/
fetchedConfigurationRecorderStatus: (num) => `Fetched ${num} Configuration Recorder Status`,
/**
* Vpc Endpoints
*/
fetchedVpcEndpoints: (num) => `Fetched ${num} Vpc Endpoints`,
/**
* Access Analyzers
*/
fetchedaccessAnalyzers: (num) => `Found ${num} Access Analyzers`,
/**
* Managed Prefix Lists
*/
fetchedManagedPrefixLists: (num) => `Found ${num} Managed Prefix Lists`,
fetchedManagedPrefixListEntries: (num) => `Found ${num} Managed Prefix List Entries`,
/**
* Vpc Peering Connections
*/
fetchedVpcPeeringConnections: (num) => `Found ${num} Vpc Peering Connections`,
/**
* Security Hub
*/
securityHubNotFound: (region) => `Security Hub not found/disabled for region: ${region}`,
fetchedSecurityHub: (region) => `Security Hub found/enabled for region: ${region}`,
fetchingSecurityHub: 'Fetching Security Hub data for this AWS account via the AWS SDK...',
/**
* Msk
*/
fetchedMskClusters: (num) => `Fetched ${num} Msk clusters`,
};