Skip to content
  • There are no suggestions because the search field is empty.

Rapid7 integration with EasyDMARC

The Rapid7 InsightIDR integration sends your EasyDMARC alerts and audit logs to Rapid7 InsightIDR over HTTPS, so your security team can search, correlate and act on them alongside the rest of your security data.

There is no Rapid7 agent or collector to install. You create a token-based log in Rapid7 for each data stream, copy its log token, and paste it into EasyDMARC. From then on, EasyDMARC pushes new events to Rapid7 about once a minute.

What EasyDMARC sends to Rapid7

EasyDMARC sends two independent streams. You can enable one or both, and each one writes to its own Rapid7 log with its own token.

  • Alerts: Every EasyDMARC alert, including DMARC, SPF, DKIM, BIMI and DNS record changes and validation failures, blocklist listings and delistings, email-volume thresholds, and domain score alerts. Sent about once a minute, up to 500 events per request.
  • Audit Logs: Every event from your EasyDMARC audit log for the whole organization, including sign-ins, user invitations and removals, MFA changes, domain and record changes, and integration connects and disconnects. Sent about once a minute, oldest first, up to 50 events per request.

Before you start

Make sure you have the following:

  • An EasyDMARC role that can manage integrations (organization owner or admin).
  • An EasyDMARC plan that includes the features you want to stream: Alerts for the Alerts stream, and Audit Logs for the Audit Logs stream. A stream your plan doesn't cover stays switched off.
  • A Rapid7 Insight Platform account with permission to create logs in InsightIDR Log Search.
  • Your Rapid7 data region. It's the two-letter code at the start of your Insight Platform address. For example, us in us.idr.insight.rapid7.com.

Step 1: Create a log for each stream in Rapid7

  1. In Rapid7 InsightIDR, open Log Search.
  2. Add a new log that receives data through a token (token-based or webhook collection).
  3. Create one log per stream you plan to use. For example:
    • EasyDMARC Alerts
    • EasyDMARC Audit Logs

Tip: Put both logs in one log set, such as EasyDMARC, to keep them together in Log Search.

Step 2: Copy each log's token

Rapid7 shows a log token for each token-based log. It looks like this:

0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d

Copy the token of each log you created and keep them at hand for Step 5.

Important: Treat log tokens like passwords. Anyone who has a token can write to that log.


Step 3: Open Rapid7 InsightIDR in EasyDMARC

In EasyDMARC, go to Settings ▸ Integrations, find Rapid7 InsightIDR under SIEM platforms, and select Connect.

Step 4: Choose your region

Select the region your Rapid7 account is hosted in. The default is United States.

  • United States (us): events are sent to us.webhook.logs.insight.rapid7.com
  • Europe (eu): events are sent to eu.webhook.logs.insight.rapid7.com
  • Canada (ca): events are sent to ca.webhook.logs.insight.rapid7.com
  • Japan (ap): events are sent to ap.webhook.logs.insight.rapid7.com
  • Australia (au): events are sent to au.webhook.logs.insight.rapid7.com


Step 5: Switch on the streams and paste their tokens

  1. Switch on Alerts, Audit Logs, or both. A token field appears under each stream you switch on.
  2. Paste the token of the matching Rapid7 log into each field.

At least one stream must be switched on before you can save.

Step 6: Save and check the result

Select Save. Before storing anything, EasyDMARC sends one test event to each enabled stream.

  • Connection verified appears under each stream that accepted its test event, and the configuration is saved.
  • If any stream fails, a red message under that stream explains why, and nothing is saved. Fix the token or region and select Save again.

Step 7: Confirm the test event in Rapid7

In Rapid7 Log Search, open each log and look for the test event from the last few minutes:

where(event.dataset = "easydmarc.connection_test")

Don't skip this check. Rapid7 accepts events for any correctly formatted token, even one that doesn't belong to a log, and in any region. So Connection verified in EasyDMARC confirms that EasyDMARC reached Rapid7 and that the token is well formed. Seeing the test event in your log is what confirms the token and region are the right ones.

Finding EasyDMARC events in Log Search

Every event EasyDMARC sends is a JSON object. The event.dataset field tells apart the types of event in a log, and the attributes object holds a stable set of fields for each type.

  • easydmarc.alert
    • Log: Alerts
    • OCSF class: 2004 Detection Finding
    • Stable attributes: alert_id, alert_name, alert_type, severity, status, affected_entity, affected_domains, source.ip (when the alert is about an IP), easydmarc_url
  • easydmarc.dns_check
    • Log: Alerts
    • OCSF class: 2003 Compliance Finding
    • Stable attributes: check_type, result, previous_state, current_state, domain, plus alert_id, alert_name, alert_type, severity, status
  • easydmarc.audit
    • Log: Audit Logs
    • OCSF class: 3002 Authentication, 3001 Account Change
    • Stable attributes: audit_id, actor_email, action, resource_type, resource_id, source.ip, domain, result
  • easydmarc.connection_test
    • Log: Both
    • OCSF class: 0 Base Event
    • Stable attributes: stream, organization_id

Example queries

All critical alerts:

where(event.dataset = "easydmarc.alert" AND attributes.severity = "CRITICAL")

Failed DNS checks, grouped by domain:

where(event.dataset = "easydmarc.dns_check" AND attributes.result = "failed") groupby(attributes.domain)

Failed actions in the audit log, such as unsuccessful sign-ins:

where(event.dataset = "easydmarc.audit" AND attributes.result = "failure")

Every event for one alert:

where(attributes.alert_id = "<id>")

A blocklist delisting carries the same alert_id as the listing that triggered it, with attributes.status = "resolved", so this last query returns both the listing and the delisting.

Checking delivery health

Once the integration is connected, the Rapid7 page in EasyDMARC shows the health of each stream and the time of its last successful push.

  • Active: The stream is switched on and its last delivery succeeded.
  • Degraded: The last delivery failed. The panel shows the last error and when it happened, and EasyDMARC keeps retrying every minute.
  • Disabled: The stream is switched off.

If a stream stays Degraded for 30 minutes, the integration shows Connection issue on the Integrations page until a delivery succeeds again.

To check the connection at any time, select Test connection. It sends one test event to each enabled stream without changing your configuration.

Changing or disconnecting the integration

  • Replace a token: Select Replace token under the stream, paste the new token, and select Save. Saved tokens are never shown again; the page shows a masked value instead.
  • Stop one stream: Switch the stream off and select Save. Its token is removed from EasyDMARC.
  • Change region: Choose the new region and select Save. Both tokens are tested against the new region.
  • Disconnect: Select Disconnect. Both tokens are deleted, both streams stop, and the tile returns to Not connected. Events already sent to Rapid7 stay there.

Troubleshooting

Invalid token The value isn't a Rapid7 log token. Copy the token again from the log in Rapid7. A valid token has five groups of letters and digits separated by hyphens.

Wrong region EasyDMARC couldn't reach the Rapid7 endpoint for that region. Check the region code at the start of your Insight Platform address.

Network timeout Rapid7 didn't answer in time. Wait a few minutes and select Save again.

Rapid7 returned an error Rapid7 refused the request. Check the Rapid7 status page, then try again.

Connection verified, but nothing appears in Log Search The token is well formed but doesn't match a log in the chosen region. Check both the token and the region, then select Test connection.

The Alerts stream is on but the log is empty No alert fired during that period, or your plan doesn't include alerting.


In case you have any further questions, feel free to reach out to EasyDMARC technical support