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

Specify a central security-hub aws account when sending findings #4372

Closed
jmello-pagseguro opened this issue Jul 3, 2024 · 2 comments
Closed
Assignees
Labels
feature-request New feature request for Prowler. provider/aws Issues/PRs related with the AWS provider

Comments

@jmello-pagseguro
Copy link

New feature motivation

Hello everyone, I'm running prowler to get findings in multiple AWS Accounts using assume-role but now I'm trying to send those findins to Security-Hub but I need to send all of them to a specific account. I already use the parameter --role to specify each account i'm running the checks but will be interesting if we have a way to send all findings of all accounts to a centralized and specific "master" account only.

Solution Proposed

Implement a way to send all findings of all aws accounts to a only one security-hub on a specific account.

Describe alternatives you've considered

Perform all checks in multiple aws accounts but send findings to a specific one security-hub.

Additional context

No response

@jmello-pagseguro jmello-pagseguro added feature-request New feature request for Prowler. status/needs-triage Issue pending triage labels Jul 3, 2024
@sergargar sergargar added feature provider/aws Issues/PRs related with the AWS provider status/waiting-for-revision Waiting for maintainer's revision and removed status/needs-triage Issue pending triage feature labels Jul 3, 2024
@jfagoagas
Copy link
Member

jfagoagas commented Jul 8, 2024

Hello @jmello-pagseguro, thanks for creating the issue here.

To continue the conversation we had in Slack, as far as I can tell the above feature is not supported by AWS Security Hub right? At least it wasn't, so you have to send each finding to their correspondent AWS Security Hub region and then aggregate all the account’s region findings in one region to view all at once.

Regarding accounts you can delegate administrators in Security Hub to manage your organisation but I’m not sure if all the findings can be sent to single account since they are theoretically restricted by their ARN.

The AWS CLI documentation about the call batch-import-findings states the following:

  • The Amazon Web Services account that is associated with a finding if you are using the default product ARN or are a partner sending findings from within a customer's Amazon Web Services account. In these cases, the identifier of the account that you are calling BatchImportFindings from needs to be the same as the AwsAccountId attribute for the finding.
  • An AWS account that Security Hub has allow-listed for an official partner integration. In this case, you can call BatchImportFindings from the allow-listed account and send findings from different customer accounts in the same batch.

Maybe your use case can fit into the second but I'm not sure how it works internally in AWS.

@jfagoagas jfagoagas removed the status/waiting-for-revision Waiting for maintainer's revision label Jul 8, 2024
@jfagoagas jfagoagas self-assigned this Jul 9, 2024
@jfagoagas
Copy link
Member

We are closing this issue since the behaviour described above is not supported by AWS Security Hub, as discussed with the issue owner in the Prowler Community Slack at https://prowler-workspace.slack.com/archives/C0451NDLC4X/p1720027104962509.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request for Prowler. provider/aws Issues/PRs related with the AWS provider
Projects
None yet
Development

No branches or pull requests

3 participants