From e0a3ec19de7f2f3c0bbf1eb8c84f6a5dfa46df60 Mon Sep 17 00:00:00 2001 From: Gang Luo Date: Mon, 24 Jun 2024 22:44:21 +0200 Subject: [PATCH] Update categories --- plugins/infrawallet-backend/seeds/init.js | 41 +++++++++++++++++-- .../src/service/AwsClient.ts | 16 +++++++- 2 files changed, 52 insertions(+), 5 deletions(-) diff --git a/plugins/infrawallet-backend/seeds/init.js b/plugins/infrawallet-backend/seeds/init.js index 496075b..6ae75e5 100644 --- a/plugins/infrawallet-backend/seeds/init.js +++ b/plugins/infrawallet-backend/seeds/init.js @@ -103,6 +103,13 @@ exports.seed = async knex => { category: 'Storage', cloud_service_names: JSON.stringify(['Storage']), }, + { + provider: 'azure', + category: 'Front-End Web & Mobile', + cloud_service_names: JSON.stringify([ + 'Azure Maps', + ]), + }, { provider: 'aws', category: 'Analytics', @@ -120,6 +127,7 @@ exports.seed = async knex => { 'Amazon API Gateway', 'Amazon Simple Notification Service', 'Amazon Simple Queue Service', + 'AWS Step Functions', ]), }, { @@ -141,7 +149,8 @@ exports.seed = async knex => { category: 'Containers', cloud_service_names: JSON.stringify([ 'Amazon Elastic Container Service for Kubernetes', - 'Amazon Elastic Container Registry (ECR)', + 'Amazon Elastic Container Service', + 'Amazon EC2 Container Registry (ECR)', ]), }, { @@ -158,27 +167,38 @@ exports.seed = async knex => { { provider: 'aws', category: 'Developer Tools', - cloud_service_names: JSON.stringify(['AWS CloudShell', 'AWS X-Ray']), + cloud_service_names: JSON.stringify([ + 'AWS CloudShell', + 'AWS CodeArtifact', + 'AWS X-Ray', + ]), }, { provider: 'aws', category: 'Internet of Things', - cloud_service_names: JSON.stringify(['AWS IoT']), + cloud_service_names: JSON.stringify([ + 'AWS IoT', + 'AWS IoT Device Defender', + 'AWS IoT Device Management', + ]), }, { provider: 'aws', category: 'Management & Governance', cloud_service_names: JSON.stringify([ 'AmazonCloudWatch', + 'CloudWatch Events', 'AWS CloudTrail', 'AWS Config', 'AWS Service Catalog', + 'AWS Systems Manager', ]), }, { provider: 'aws', category: 'Migration', cloud_service_names: JSON.stringify([ + 'AWS Database Migration Service', 'AWS Migration Hub Refactor Spaces', ]), }, @@ -189,13 +209,18 @@ exports.seed = async knex => { 'Amazon Elastic Load Balancing', 'Amazon Route 53', 'Amazon Virtual Private Cloud', + 'AWS Global Accelerator', ]), }, { provider: 'aws', category: 'Security, Identity, & Compliance', cloud_service_names: JSON.stringify([ + 'Amazon Cognito', 'Amazon GuardDuty', + 'Amazon Inspector', + 'Amazon Verified Permissions', + 'AWS Certificate Manager', 'AWS Key Management Service', 'AWS Secrets Manager', 'AWS Security Hub', @@ -206,9 +231,19 @@ exports.seed = async knex => { provider: 'aws', category: 'Storage', cloud_service_names: JSON.stringify([ + 'Amazon Elastic File System', 'Amazon Glacier', 'Amazon Simple Storage Service', ]), }, + { + provider: 'aws', + category: 'Front-End Web & Mobile', + cloud_service_names: JSON.stringify([ + 'Amazon Location Service', + 'Amazon Simple Email Service', + 'AWS Device Farm', + ]), + }, ]); }; diff --git a/plugins/infrawallet-backend/src/service/AwsClient.ts b/plugins/infrawallet-backend/src/service/AwsClient.ts index f526c75..695608f 100644 --- a/plugins/infrawallet-backend/src/service/AwsClient.ts +++ b/plugins/infrawallet-backend/src/service/AwsClient.ts @@ -41,14 +41,26 @@ export class AwsClient implements InfraWalletApi { ['Simple Storage Service', 'S3 (Simple Storage Service)'], [ 'Managed Streaming for Apache Kafka', - 'MSK (Managed Streaming for Apache Kafka)', + 'MSK (Managed Streaming for Apache Kafka)' ], [ 'Elastic Container Service for Kubernetes', - 'EKS (Elastic Container Service for Kubernetes)', + 'EKS (Elastic Container Service for Kubernetes)' + ], + [ + 'Elastic Container Service', + 'ECS (Elastic Container Service)' + ], + [ + 'EC2 Container Registry (ECR)', + 'ECR (Elastic Container Registry)' ], ['Simple Queue Service', 'SQS (Simple Queue Service)'], ['Simple Notification Service', 'SNS (Simple Notification Service)'], + [ + 'Database Migration Service', + 'DMS (Database Migration Service)' + ] ]); for (const prefix of prefixes) {