elastic / integrations

Elastic Integrations
https://www.elastic.co/integrations
Other
196 stars 424 forks source link

[New Integration] AWS Config #10272

Open cpascale43 opened 3 months ago

cpascale43 commented 3 months ago

Description

AWS Config provides configurations and compliance statuses of AWS resources within an account. It records configuration changes and generates snapshots of the current configuration state of resources. This helps analyze AWS environments to ensure compliance and identify potential security issues.

The following integration criteria comes from the Cloud Security team, which we can expand and collaborate on as we begin this work:

Architecture

The integration should collect data exclusively through the AWS API to enable agentless ingestion in the future. The collected data will include findings (latest and historical context to support drift detection in the future), rules and relationships between assets. The relevant APIs are listed below:

Resource Relationship

AWS Config captures resource relationships (e.g., which security group is associated with an EC2 instance). This is useful in Resource Dependency Mapping, where AWS Config data creates visual maps of resource relationships. This might be relevant for graph visualization in the Findings insights workflow. API Reference for Relationship

Compliance Rules

WS Config evaluates resource configurations against predefined rules. These rules can be ingested and saved in the Elastic Rules workflow, providing users with more control over findings management within the platform. API Reference for ConfigRules

Findings

We may need to combine data from various APIs to create the posture log from AWS Config:

Metrics

The integration should provide various metrics to users which we will need to create, such as compliance scores and notification failures. These metrics include:

Refs

Dashboards

Dashboards provide insight into resource configurations, compliance status and changes over time. Some specific ideas are:

Integration release checklist

This checklist is intended for integrations maintainers to ensure consistency when creating or updating a Package, Module or Dataset for an Integration.

All changes

terrancedejesus commented 3 months ago

@cpascale43 - Happy to sync on this for threat detection as we are during AWS prebuilt rule dev right now.