Skip to content

[Asset Inventory][AWS] Update EC2, ELB and RDS fetchers for InfoSec#7277

Open
kubasobon wants to merge 1 commit into
mainfrom
infosec/update-awsfetcher
Open

[Asset Inventory][AWS] Update EC2, ELB and RDS fetchers for InfoSec#7277
kubasobon wants to merge 1 commit into
mainfrom
infosec/update-awsfetcher

Conversation

@kubasobon

Copy link
Copy Markdown
Member

Summary of your changes

Resource Field Change
EC2 entity.attributes.Role Added LookupTag(tags, "role") in buildAttributes
RDS entity.attributes.DBInstanceStatus Added Status field to wrapper struct; mapped from DBInstanceStatus in provider; emitted in fetcher
ELB v2 (ALB/NLB) entity.attributes.IPAddresses GetIPAddresses() now also collects PrivateIPv4Address and IPv6Address per AZ address (previously only IpAddress)
ELB v1 (Classic) entity.attributes.State GetState() returns "active" (hardcoded as classic API exposes no state field)
ELB v1 (Classic) entity.attributes.IPAddresses DNS-resolves the ELB DNSName at fetch time via injectable hostResolver; soft-fails to empty on error

Related Issues

Closes https://github.com/elastic/security-team/issues/18294

Checklist

  • I have added tests that prove my fix is effective or that my feature works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant