Skip to main content

Mimecast (Legacy API 1.0)

This page documents the Mimecast Events (Legacy) template, which collects Mimecast SIEM logs over API 1.0 using a five-value application credential: a base URL, an application ID and key, and an access key and secret key.

API 1.0 is closed to new applications — new setups belong on Cloud Gateway
TemplateMimecast APICredentials
Mimecast CG EventsAPI 2.0Client ID, Client Secret
Mimecast Events (Legacy) (this page)API 1.0Base URL, Application ID, Application Key, Access Key, Secret Key

Mimecast's published end-of-life plan removed the API 1.0 tiles from the Cloud Gateway Administration Console at the end of June 2025, which stopped new API 1.0 applications from being created. Existing applications keep working while their service-account user, access key and secret key stay valid, but Mimecast has stated it intends to start expiring them once most integrations have moved, and has not published that date.

If you are connecting Mimecast for the first time, or if the API 1.0 tile is no longer in your console, go to Mimecast Cloud Gateway instead — it is a shorter setup with two credentials rather than five. This page is here for tenants still running on 1.0 keys, and for migrating off them.

Authentication is a request signature rather than a token: each call is signed with HMAC-SHA1 using the secret key, and carries the access key, the application ID and the application key. That is why five values are collected where the Cloud Gateway template needs two — see Under the hood.

The setup has two halves:

  1. In Mimecast — turn on Enhanced Logging, register an API application, and create keys against a service account. This produces five values: a Base URL, an Application ID, an Application Key, an Access Key and a Secret Key.
  2. In Fluency — install the Mimecast Events (Legacy) application template and paste those five values into its form.

What arrives

The same SIEM streams the Cloud Gateway integration collects, over the older endpoint. The MTA types describe the life of a message through the gateway; the Targeted Threat Protection types describe what Mimecast's inspection services found.

StreamWhat it recordsDepends on
ReceiptThe MTA accepting a connection for a message — sender, recipient, sending IP, subject, initial verdict.Enhanced Logging
ProcessMimecast policy evaluation of that message.Enhanced Logging
DeliveryThe MTA handing the message to its destination, or failing to.Enhanced Logging
JournalJournaled copies of internal mail.Enhanced Logging (internal)
AV / SpamMalware and spam verdicts raised during processing.Enhanced Logging
URL ProtectRewritten-link click verdicts.Targeted Threat Protection — URL Protect
Attachment ProtectAttachment sandboxing and safe-file conversion outcomes.Targeted Threat Protection — Attachment Protect
Impersonation ProtectDisplay-name, domain-similarity and internal-name impersonation hits.Targeted Threat Protection — Impersonation Protect
Internal Email ProtectThreats found in internal and outbound mail.Internal Email Protect

Before you begin

An existing API 1.0 application, or a console that still offers one. Check Services → API and Platform Integrations → Your Application Integrations before working through Part 1. If there is no Add API Application button and no API 1.0 card under Available Integrations, the tenant is past the cutoff and the only path is Cloud Gateway.

Enhanced Logging, switched on. Mimecast only generates the SIEM data this integration reads for log types enabled in Enhanced Logging. With it off, every step below succeeds, the application installs, the pipeline reads Running, and nothing ever arrives.

A Mimecast administrator account in the Basic Administrators group, with Gateway → Tracking → Read granted. Key creation authenticates as that account, so it has to be a real, usable login — and it is worth using a dedicated service account rather than a person's, because the credential dies with the user.

Access to the Fluency portal with permission to install applications.

SIEM logs are only kept for seven days

Mimecast serves SIEM logs for roughly seven days from the current date, so a gap in collection longer than that is a permanent gap. Enhanced Logging is also not retroactive: it starts generating data when you save it, not before.

Part 1 — Mimecast

Work through this half in the Mimecast Administration Console, signed in as the administrator account described above.

1. Turn on Enhanced Logging

Open the Administration menu and go to Account → Account Settings.

Mimecast Administration menu with the Account submenu open, showing Account Settings, Audit Logs, Dashboard and Roles

Expand the Enhanced Logging section at the foot of the page and tick all three options — Enhanced inbound email logging, Enhanced outbound email logging and Enhanced internal email logging — then Save.

Account Settings page with the Enhanced Logging section expanded and all three logging checkboxes ticked

Leaving one unticked silently removes that direction of mail from the feed. Outbound and internal are the ones people skip, and they are what data-exfiltration and internal-phishing detections run on.

Allow thirty minutes before expecting data

Mimecast begins logging when you save, and the logs become available to SIEM integrations about thirty minutes later.

2. Register the API application

Go to Services → API and Platform Integrations.

API and Platform Integrations page showing the Available Integrations, Your Application Integrations and Your Platform Integrations tabs

Under Available Integrations, scroll to the Fluency Security card and click Generate Keys. This is Mimecast's own listing for the Fluency SIEM integration and pre-fills the application category; on a console where the card is absent, Your Application Integrations → Add API Application produces the same result.

Fluency Security integration card in the Mimecast Available Integrations catalog, with a Generate Keys button

On the Details step:

Add API Application wizard on the Details step, with Application Name, Category set to SIEM Integration, the Enable Extended Session checkbox ticked, and a Description

  • Application Name — anything recognisable. Fluency Security is the default.
  • CategorySIEM Integration.
  • Service Application — tick Enable Extended Session.
  • Description — free text.
Tick Enable Extended Session, or the keys expire

Without it, the access and secret keys this application issues are subject to the account's ordinary session lifetime and stop working without warning. Collection then fails quietly, and the fix is a full key regeneration. This checkbox is the single most consequential setting on the form.

The Settings step asks for a developer name and contact address. Any value is accepted; use something a future administrator can trace.

Add API Application wizard on the Settings step, with Developer and Email fields filled in

Review the Summary and click Add. Mimecast returns to the integrations page with a summary panel for the new application.

3. Record the Application ID and Application Key

Open the application from Your Application Integrations to see its details. The Application ID is shown in full; the Application Key is masked behind an eye icon. Both have a copy button.

Application details panel showing Application Name, a redacted Application ID, a masked Application Key, Category, Extended Session Enabled, Description and developer contact

Unlike the access and secret keys in the next step, these two can be read again at any time from this panel.

There is a thirty-minute wait before keys can be created

A newly added API application cannot issue access and secret keys immediately. If Create Keys fails or is unavailable, come back in half an hour — this is expected behaviour, not a fault.

4. Create the access key and secret key

Return to Your Application Integrations. At the end of the application's row, open the menu and choose Create Keys.

Application row with the three-dot menu open, showing View, Disable, Edit, Create Keys and Delete

The wizard runs Account → Authentication → Verification → Keys, and it authenticates as the administrator account the keys will belong to:

Create Keys wizard on the Account step, asking for the email address of an existing service account

  1. Account — the email address of the Basic Administrator service account. In most cases this is the address shown in the top-right corner of the console.
  2. Authentication — the account type (Cloud for a Mimecast cloud password) and that account's password.
  3. Verification — complete multi-factor authentication if the account requires it.
  4. Keys — Mimecast issues the pair.

Create Keys wizard on the Keys step, warning not to keep or send both keys together and showing masked Access Key and Secret Key rows

Copy both keys now — they are not displayed again

Once you navigate away from this page the access key and secret key cannot be recovered; the only remedy is to create a new pair. Mimecast's own warning on this screen also asks that the two are not stored or sent together.

You should now be holding all five values:

ValueWhere it came from
Base URLYour tenant's region — see step 5
Application IDThe application details panel
Application KeyThe application details panel, behind the eye icon
Access KeyThe Create Keys wizard, shown once
Secret KeyThe Create Keys wizard, shown once

5. Find the Base URL

API 1.0 is served regionally, and the wrong region fails authentication rather than redirecting. The base URL follows the pattern https://<region>-api.mimecast.com — for example https://us-api.mimecast.com for the United States, https://eu-api.mimecast.com for Europe, https://de-api.mimecast.com for Germany. Mimecast's global base URLs list is authoritative; the tenant's region is also visible in the console URL you are signed in to.

This is the parameter Cloud Gateway does not have

API 2.0 is served from a single global gateway that routes to the tenant's region on its own, which is why the Cloud Gateway template takes two parameters where this one takes five.

Part 2 — Fluency

Install the Application

Go to Platform → Applications → Install Application From Template and choose Mimecast Events (Legacy) from the Email Audit and Protection category.

ParameterNotes
Base URLThe regional endpoint from step 5, for example https://us-api.mimecast.com.
Application IDFrom the application details panel.
Application KeyFrom the application details panel, behind the eye icon.
Access KeyFrom the Create Keys wizard.
Secret KeyFrom the Create Keys wizard.

Setup New Mimecast Events (Legacy) Application panel

Press Install. The application then appears in the Installed Applications view, where its badge reads Running once the pipeline is up.

Unlike most templates, Mimecast Events (Legacy) takes no datalake or datalake index name parameter — the destination is fixed by the template rather than chosen on the form, so there is nothing here to collide with another application. To see where the data actually lands, open the installed application's details panel with the blue eye button and read its Actions list, which records every object the install created.

Confirm it is running

The application appears under Installed Applications as Mimecast Events (Legacy): Default. Its badge should read Running in green within a few seconds; Aborted in red means the pipeline stopped on an error, and the details panel will carry the message.

Give the first collection 15 to 30 minutes with normal mail flow. Once data is arriving, the Data Lake → Search facet selector carries per-source configurations for the Mimecast streams — Default-Mimecast_MTA_Receipt, Default-Mimecast_URL_Protect, Default-Mimecast_Attachment_Protect and Default-Mimecast_Impersonation_Protect — which is a quick way to confirm which streams are actually populated. See Confirm data is arriving.

Migrating to Cloud Gateway

Moving to API 2.0 replaces the credential, not the data. The streams, the Enhanced Logging dependency and the seven-day retention window are identical; what changes is that five values become two and the regional base URL disappears.

  1. Register an API 2.0 application and collect its client ID and secret — Mimecast Cloud Gateway, Part 1. Enhanced Logging is already on, so that step is a check rather than a change.
  2. Install Mimecast CG Events alongside the legacy application. Give it a datalake index name the legacy application is not already writing to; check the legacy application's Actions list first, because its destination is not shown on the install form.
  3. Confirm the new application is collecting, then uninstall the legacy one in Fluency.
  4. Delete the API 1.0 application in Mimecast, which revokes the access and secret keys outright.

Running both for a few days is cheap insurance and, because Mimecast serves seven days of logs, a short overlap costs nothing in duplicated retention. Do not leave both running indefinitely — two applications polling the same tenant double the API load for no benefit.

Maintenance

Rotating the keys

The access and secret keys cannot be re-displayed, so rotation means issuing a new pair:

  1. In Mimecast, open the application from Your Application Integrations, then ⋯ → Create Keys, and complete the wizard as the same service account.
  2. Copy the new Access Key and Secret Key.
  3. In Fluency, uninstall the Mimecast Events (Legacy) application and install it again with the new pair. Template parameters are read-only after install, so reinstalling is the supported way to change a credential.

The Application ID and Application Key do not change. Given that API 1.0 is at end of life, a forced rotation is a good moment to migrate rather than reissue.

Removing the integration

Uninstall the application in Fluency first — the red Uninstall button at the foot of its details panel — so the pipeline stops cleanly before its credentials stop working. Then delete the API application in Mimecast.

Troubleshooting

SymptomLikely causeFix
Create Keys fails or is missing right after adding the applicationThe thirty-minute wait after registration has not elapsedWait and retry.
The API 1.0 card and Add API Application button are goneThe tenant is past Mimecast's June 2025 cutoff for new API 1.0 applicationsThere is no way back; use Cloud Gateway.
The application shows Aborted immediately after installWrong Base URL for the tenant's region, or a mistyped keyAPI 1.0 does not redirect across regions — confirm the region first, then re-copy the keys.
Authentication worked, then stopped for no apparent reasonEnable Extended Session was not ticked when the application was created, or the service account was disabled or had its password resetCheck the account first. If Extended Session is off, the application has to be recreated — which is no longer possible on a post-cutoff console.
Running, but nothing arrivesEnhanced Logging is off, or was switched on less than half an hour agoAdministration → Account → Account Settings → Enhanced Logging; tick all three, save, wait thirty minutes.
MTA events arrive but no URL/Attachment/Impersonation eventsThe account's role lacks the Monitoring Menu read permissions, or the tenant has no Targeted Threat Protection subscriptionCheck the role first, then the subscription.
Only inbound mail is loggedOnly Enhanced inbound email logging was tickedTick outbound and internal as well.

Under the hood

Engineering reference — the API 1.0 request signature and why it needs five values

This section describes the Mimecast API 1.0 mechanics behind the five parameters. Administrators connecting Mimecast do not need it.

API 1.0 has no token exchange. Every request is signed on the spot, which is why the credential is four secrets plus an endpoint rather than an ID and a secret:

ValueRole in the request
Base URLThe regional host. There is no global gateway and no cross-region redirect.
Application IDSent as the x-mc-app-id header — identifies the registered application.
Application KeyMixed into the string that gets signed, never sent on the wire.
Access KeyThe public half of the credential, sent in the Authorization header.
Secret KeyBase64-decoded and used as the HMAC-SHA1 key. Never sent.

Each call sets x-mc-date (the request timestamp), x-mc-req-id (a fresh GUID) and x-mc-app-id, then builds the string to sign by concatenating:

<x-mc-date>:<x-mc-req-id>:<request URI>:<application key>

That string is signed with HMAC-SHA1 using the Base64-decoded secret key, and the result goes out Base64-encoded as:

Authorization: MC <access key>:<signature>

SIEM logs come from POST <base URL>/api/audit/get-siem-logs, which returns log file metadata and then the files themselves. Retention is about seven days.

Why the migration matters beyond end-of-life dates. The 1.0 credential is bound to a user account — key creation authenticates as that administrator, and the keys die with the account, its password reset, or its session policy. API 2.0's client credentials are bound to the application and a role, so a departing administrator no longer takes the integration down with them.

References

Mimecast

Fluency