Skip to content

Conversation

@moxarth-rathod
Copy link
Contributor

@moxarth-rathod moxarth-rathod commented Aug 28, 2025

Proposed commit message

aws: add support for v6, v7 and v8 formats of vpc logs.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

How to test this PR locally

  • Clone integrations repo.
  • Install elastic package locally.
  • Start elastic stack using elastic-package.
  • Move to integrations/packages/aws directory.
  • Run the following command to run tests.

elastic-package test -v

Related issues

@moxarth-rathod moxarth-rathod self-assigned this Aug 28, 2025
@moxarth-rathod moxarth-rathod added the enhancement New feature or request label Aug 28, 2025
@moxarth-rathod moxarth-rathod requested review from a team as code owners August 28, 2025 05:58
@moxarth-rathod moxarth-rathod requested a review from a team as a code owner August 28, 2025 05:58
@moxarth-rathod moxarth-rathod added Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] Team:Sit-Crest Crest developers on the Security Integrations team [elastic/sit-crest-contractors] labels Aug 28, 2025
@elasticmachine
Copy link

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

@andrewkroh andrewkroh added the documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. label Aug 28, 2025
field: aws.vpcflow.packets_lost_ttl_expired
- set:
field: orchestrator.cluster.id
copy_from: aws.vpcflow.cs_cluster_arn
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/\.cs_cluster_arn/.ecs_cluster_arn/g


* The default pattern of 14 version 2 fields
* A custom pattern including all 29 fields, version 2 though 5:
* A custom pattern including all 39 fields, version 2 though 7:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to document support for the default transit gateway vpc flow format covering v2-6.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is one v8 field, reject-reason. Should we add support for that now too?

Yes, i've added a support for the v8 field.

@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@moxarth-rathod moxarth-rathod changed the title [AWS VPC Flow] Add support for v6 and v7 vpcflow logs [AWS VPC Flow] Add support for v6, v7 and v8 vpcflow logs Aug 29, 2025
- version: "3.15.0"
changes:
- description: Add support for v6 and v7 vpcflow logs.
- description: Add support for v6, v7 and v8 vpcflow logs.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- description: Add support for v6, v7 and v8 vpcflow logs.
- description: Add support for v6, v7, and v8 vpcflow logs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the Oxford actually breaks the semantics here; it goes from ((v6 v7 v8) × vpcflow-logs) to ((v6 v7) (v8 vpcflow-logs)).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the semantics are changed by the addition of the comma. Both sentences are ((v6, v7, v8) × vpcflow-logs). The comma is only clarifying where one list item ends and the next begins, not which items are affected by the "vpcflow logs" modifier.

I think this one sounds more natural, and has the same intention ((VPC-Flow-logs × (versions-6, versions-7, versions-8))). Is there any issue with this wording?

Add support for VPC Flow logs versions 6, 7, and 8.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add support for VPC Flow logs versions 6, 7, and 8.

@andrewkroh @efd6 should I update the description to this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latter is unambiguous. I'm happy with that.

@moxarth-rathod moxarth-rathod requested a review from efd6 September 8, 2025 05:46
@elasticmachine
Copy link

💚 Build Succeeded

History

cc @moxarth-rathod

@elastic-sonarqube
Copy link

@moxarth-rathod moxarth-rathod merged commit 1b506d1 into elastic:main Sep 8, 2025
9 checks passed
@elastic-vault-github-plugin-prod

Package aws - 3.15.0 containing this change is available at https://epr.elastic.co/package/aws/3.15.0/

kcreddy added a commit that referenced this pull request Sep 22, 2025
…R) workflow (#15230)

aws: Add transforms to Config and Inspector data streams for extended protections (CDR) workflow.

- Add latest transform to Config and Inspector data streams
to help with Cloud Native Vulnerability Management (CNVM)[1] 
and Cloud Security Posture Management (CSPM)[2] workflows.
- Add ILM policy to AWS Config as it does full sync every interval.
- Update minimum kibana version to "^8.19.0 || ^9.1.0"  to ensure 
necessary permissions for transform[3].
- Re-add 3.14.2 changelog entry as it is overwritten in VPC Flow PR[4].
- Skip system tests for securityhub* data streams to avoid fleet health 
degradation due to empty template values by httpjson. This is fixed in 
8.19.4 and 9.1.4 by beats#45810[5] and beats#46332[6]. This skip can 
be removed when the stack version is upgraded to ones containing the fix. 

[1] https://www.elastic.co/guide/en/security/current/vuln-management-overview.html
[2] https://www.elastic.co/docs/solutions/security/cloud/cloud-security-posture-management
[3] elastic/elasticsearch#128350
[4] #15077
[5] elastic/beats#45810
[6] elastic/beats#46332
@strawgate
Copy link
Contributor

/test benchmark fullreport

tehbooom pushed a commit to tehbooom/integrations that referenced this pull request Nov 19, 2025
)

aws: add support for v6, v7 and v8 formats of vpc logs.
tehbooom pushed a commit to tehbooom/integrations that referenced this pull request Nov 19, 2025
…R) workflow (elastic#15230)

aws: Add transforms to Config and Inspector data streams for extended protections (CDR) workflow.

- Add latest transform to Config and Inspector data streams
to help with Cloud Native Vulnerability Management (CNVM)[1] 
and Cloud Security Posture Management (CSPM)[2] workflows.
- Add ILM policy to AWS Config as it does full sync every interval.
- Update minimum kibana version to "^8.19.0 || ^9.1.0"  to ensure 
necessary permissions for transform[3].
- Re-add 3.14.2 changelog entry as it is overwritten in VPC Flow PR[4].
- Skip system tests for securityhub* data streams to avoid fleet health 
degradation due to empty template values by httpjson. This is fixed in 
8.19.4 and 9.1.4 by beats#45810[5] and beats#46332[6]. This skip can 
be removed when the stack version is upgraded to ones containing the fix. 

[1] https://www.elastic.co/guide/en/security/current/vuln-management-overview.html
[2] https://www.elastic.co/docs/solutions/security/cloud/cloud-security-posture-management
[3] elastic/elasticsearch#128350
[4] elastic#15077
[5] elastic/beats#45810
[6] elastic/beats#46332
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. enhancement New feature or request Integration:aws AWS Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] Team:Sit-Crest Crest developers on the Security Integrations team [elastic/sit-crest-contractors]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AWS VPC Flow] Support newer VPC log formats

5 participants