I would like to map AWS Resource Types to AWS Services programmatically when fetching AWS SecurityHub findings. For example, if an AWS SecurityHub finding indicates the affected resource with AwsS3Bucket, I would like to convert that to AWS S3 as this is the corresponding AWS Service. Does the AWS APIs offer such a conversion, I am working with Java.
Programmatically Mapping AWS Resource Types to AWS Services
85 Views Asked by SyCode At
1
There are 1 best solutions below
Related Questions in AMAZON-WEB-SERVICES
- S3 integration testing
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- AWS - Tab Schema Conversion don't show up after creating a Migration Project
- Unable to run Bash Script using AWS Custom Lambda Runtime
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- AWS Dns record A not navigate to elb
- Connection timed out error with smtp.gmail.com
- AWS Cognito Multi-tenant Integration | Ok to use Client’s Idp?
- Elasticbeanstalk FastAPI application is intermittently not responding to https requests
- Call an External API from AWS Lambda
- Why my mail service api spring isnt working?
- export 'AWSIoTProvider' (imported as 'AWSIoTProvider') was not found in '@aws-amplify/pubsub'
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
Related Questions in AWS-JAVA-SDK
- AWS Java SDK error: Unable to load credentials from any of the providers
- How to call ListClustersResult method to list EKS cluster using AWS SDK
- aws java: parse S3Put event coming from SQS to lambda
- AWS : S3EncrytionClient unable to decrypt (amazon-s3-encryption-client-java ver. 3.11 ) the objects encrypted with ( AWS SDK v1 ) Java
- Get Reservation Utilization from AWS Cost explorer for multiple services
- Define custom url with AWS presigned url
- Stream a large SQL ResultSet directly to an S3 bucket in java
- How to find all regions given a country name in AWS Java SDK?
- Trying to create HTTP POST request in Lambda but Params are in gibberish - Java
- Can't get AWS cloudwatch metrics for Elasticache in Java
- AWS SDK Java Tagging Run Instances
- CRT-based S3 Client (S3AsyncClient) throws Error 1067 AWS_IO_TLS_NEGOTIATION_TIMEOUT
- Can anyone help understand the use of `needsConnectionLeftOpen` method in AWS SDK?
- AWS SDK for Java v2.0 - using S3 CRT Async Client, s3Client.putObject fails with InvalidStateException after 10 seconds of hanging
- AWSPENDING exists but throws ResourceNotFoundException on getSecret
Related Questions in AWS-JAVA-SDK-2.X
- Fetch records from DynamoDb db table
- AWS S3 Java 2.X Create Bucket Issue
- AWS S3 Java 2.X Client configuration issue
- Stream a large SQL ResultSet directly to an S3 bucket in java
- Retry in Amazon Athena Java 2.0 client
- aws java sdk ProfileCredentialsProvider without region
- Why do I get a 403 error when connecting to an AWS API Gateway websocket API using the AWS SDK?
- AWS SDK Java Tagging Run Instances
- AWS SDK for Java v2.0 - using S3 CRT Async Client, s3Client.putObject fails with InvalidStateException after 10 seconds of hanging
- Getting DeleteObjectsResponse for the objects that are not even created or present on the version enabled S3 bucket
- How to make SqsClient region agnostic
- DynamoDB Java SDK - QueryRequest with IN clause
- Is it possible to download invoices from AWS billing using the sdk-for-java and if so, how?
- Programmatically Mapping AWS Resource Types to AWS Services
- Default behavior of AWS EventBridge put events with no bus name from Java SDK 2
Related Questions in AWS-SECURITY-HUB
- Amazon ECS task definitions should have secure networking modes and user definitions
- Why SecurityHub does not show my Config finding?
- Security hub reporting 'AWS Config should be enabled'
- Deploy CloudFormation template using Terrafom
- Programmatically Mapping AWS Resource Types to AWS Services
- Securityhub "The request is rejected since no such resource found." exception using sdk
- How to filter aws security hub findings from ECR repository name using boto3
- SecurityHub Insufficient Permissions
- Does AWS S3 Same-Region Replication (SRR) uses public or private internet to transfer data?
- Security Hub - AWS Foundational Security Best Practices - S3.2 S3 buckets should prohibit public read access
- AWS Inspector2 not working with default Amazon Linux 2
- Terraform - AWS - TypeError: planResultMessage.search is not a function
- Aws ECS Fargate enforce readonlyfilesystem
- Docker build in CodeBuild without Priviledged mode
- Use AWS Config to find EC2 instances using Instance Metadata Service Version 1 (IMDSv1)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There's no API for an automatic conversion. However, you can get all available resource types from the JSON document avaliable at AWS Security Finding Format (ASFF) documentation. All types can be found in
Resources.Details(see JSON snippet below).With this you can create a converter with an in-memory lookup list or a lookup table in DynamoDB to retrieve the respective service.