Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazon Security Lake integration - Create _Custom Source_ #213

Closed
AlexRuiz7 opened this issue Apr 25, 2024 · 3 comments
Closed

Amazon Security Lake integration - Create _Custom Source_ #213

AlexRuiz7 opened this issue Apr 25, 2024 · 3 comments
Assignees
Labels
level/task Task issue request/operational Operational requests type/research Research issue

Comments

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Apr 25, 2024

Description

Related issue: #128

To integrate Wazuh with Amazon Security Lake, we have chosen the OCSF's Detection Finding class to map Wazuh's security events. This class in included in OCSF v1.1.0. Although ASL supports this version of OCSF, the class is not included in the form to create the Custom Source. This has been reported to Amazon, but by the time of creation of this issue, it's still not clear whether the form is updated to OCSF v1.1.0, or even if Amazon Security Lake is.

We need to investigate if it is possible to create a Custom Source for ASL using the AWS CLI.

@AlexRuiz7 AlexRuiz7 added level/task Task issue request/operational Operational requests type/research Research issue labels Apr 25, 2024
@AlexRuiz7 AlexRuiz7 self-assigned this Apr 25, 2024
@AlexRuiz7
Copy link
Member Author

AlexRuiz7 commented Apr 25, 2024

I tried to create a Custom Source using the AWS CLI.

Below is the AWS CLI command used. Note that the values for roleArn, externalId and principal configurations need to be replaced accordingly, as per Prerequisites to adding a custom source.

aws securitylake create-custom-log-source \
    --source-name Wazuh \
    --event-classes '["DETECTION_FINDING"]' \
    --configuration crawlerConfiguration={"roleArn=arn:aws:iam::XXX:role/service-role/RoleName"},providerIdentity={"externalId=ExternalId,principal=principal"}  \
    --region=[“us-west-1”]

@AlexRuiz7
Copy link
Member Author

According to the AWS CLI docs, the Detection Finding class is not supported by Amazon Security Lake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue request/operational Operational requests type/research Research issue
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant