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

Recorded Future Connector not ingesting Insikt Group Reports #3140

Closed
nhuber0724 opened this issue Dec 13, 2024 · 2 comments · Fixed by #3213
Closed

Recorded Future Connector not ingesting Insikt Group Reports #3140

nhuber0724 opened this issue Dec 13, 2024 · 2 comments · Fixed by #3213
Assignees
Labels
question use for asking information about a functionality or behavior solved use to identify issue that has been solved (must be linked to the solving PR)
Milestone

Comments

@nhuber0724
Copy link

nhuber0724 commented Dec 13, 2024

Prerequisites

Description

A client has advised that Recorded Future Insikt Group Reports have not ingested into OpenCTI since 7 November 2024. Platform team conduct initial research and identified a HTTP 403 error. The logs show failure to ping the RF API.

Environment

OpenCTI v.6.4.3

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Log into Grafana and check Recorded Future logs
  2. You will see multiple failure to ping the RF API error.
@nhuber0724 nhuber0724 added needs triage use to identify issue needing triage from Filigran Product team question use for asking information about a functionality or behavior labels Dec 13, 2024
@romain-filigran romain-filigran removed the needs triage use to identify issue needing triage from Filigran Product team label Dec 16, 2024
@romain-filigran
Copy link
Member

Hi @nhuber0724 . I guess the problem comes from the permissions associated with the API token used.
Definition of RecordedFuture error 403: "Although the API credentials are valid, they do not include permission to access the API endpoint used."
https://support.recordedfuture.com/hc/en-us/articles/360046682533-Connect-API-Troubleshooting

Image

I did several tests with our access and I could not reproduce the problem.

@Lhorus6
Copy link
Contributor

Lhorus6 commented Dec 26, 2024

After investigation, this is what the problem appears to be:

The connector processes sequentially:

  1. get RF_ALERTS → 403 but error caught well (so here it indicates that the Token does not have permissions)
  2. get RF_PLAYBOOK_ALERTS → 403 but error caught badly (so here it indicates that the Token does not have permissions and as the error seems badly managed the code stops)
  3. Get RF_REPORTS → If a 403 error at the previous step, the connector never executes this part.

On the client side, they seem to have 403 errors in step 2, which explains why it doesn't retrieve a report (step 3). The connector will need to be fixed so that it doesn't stop in step 2 in case of a problem, but we already have enough to unblock the client.

@helene-nguyen helene-nguyen added this to the Release 6.4.6 milestone Jan 8, 2025
@helene-nguyen helene-nguyen added the solved use to identify issue that has been solved (must be linked to the solving PR) label Jan 8, 2025
@helene-nguyen helene-nguyen self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question use for asking information about a functionality or behavior solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
4 participants