Shield Transport Rules

Description

Shield transport rules reside in the Shield organization's Microsoft 365 tenant. All rules are added during the Shield deployment process. 

Please ensure that all Shield updates are performed in order for Shield transport rules to stay current. If you have not performed all updates for the Shield organization the transport rules may look different. 

Corresponding Shield Connectors are detailed here.

Rule Order

When the organization is on the newest version of Shield, the following applies:

  1. Shield - Outbound Cleanup must come after Shield - Bypass Spam Filtering and Shield - Send to Frontline.
  2. Shield - Send to Outpost must come after Shield - Send to Bracket.

The remaining rules can be placed above, between, or below other Shield rules. Their conditions are designed so that a single message cannot match more than one rule. For example, Shield - Send to Frontline only runs for mail that does not have a relay token header, and Shield - Bypass Spam Filtering only runs for mail that does have the relay token header. Because of this design, the other rules don’t need to follow a specific order.

If Shield organizations have tenant rules that do not match the rules below, do not replace existing transport rules. Instead, run a full deployment via Deployments to properly update the organization or contact Support for assistance.

Shield - Send to Frontline

Status

Enabled


Priority

0

Stop processing more rules: ✅ (Yes)


Conditions

Name

Shield - Send to Frontline

Apply this rule if:
The recipient → is a member of this group

The recipient is a member of:
[a value unique to your M365 tenant]


Do the following

Condition 1

Redirect the message to:
The following connector

Route the message using the following connector:
Shield - Send to Frontline


And

Condition 2

Modify the message properties:
Set a message header

Set the message header:
X-Frontline-API

To the value:
{"extract_origin": "true"}


Except if

The message headers:
Matches these text patterns

X-Shield-Relay-Token message header matches:
[a value unique to your M365 tenant]

Shield - Send to Frontline rule.png

Shield - Bypass Spam Filtering

Status

Enabled


Priority

1

Stop processing more rules: ❌ (No)


Conditions

Name

Shield - Bypass Spam Filtering

Apply this rule if:
The message headers → matches these text patterns

X-Shield-Relay-Token message header matches:
[a value unique to your M365 tenant]


Do the following

Modify the message properties:
Set the spam confidence level (SCL)

Set the spam confidence level (SCL) to:
-1


Except if

The message headers:
Matches these text patterns

X-Shield-API message header matches:
"action":"bypass" or "action":"junk"

Shield - Bypass Spam Filtering rule.png

Shield - Send to Bracket

Status

Enabled


Priority

2

Stop processing more rules: ✅ (Yes)


Conditions

Name

Shield - Send to Bracket

Apply this rule if

Condition 1

  • The recipient → is external/internal
  • Recipient location:
    • 'NotInOrganization'

And

Condition 2

  • The subject or body → subject matches these text patterns
  • Pattern:

    ^\[.*\]

And

Condition 3

  • The sender → is external/internal
  • Sender location:
    • 'InOrganization'

Do the following

  • Redirect the message to → the following connector
  • Connector:
    • 'Shield - Send to Bracket'

Exceptions

  • None configured.

 

Shield - Send to Bracket rule.png


 

 


Shield - Send to Outpost

Status

Enabled

Priority

3

Stop processing more rules: ✅ (Yes)


Conditions

Name

Shield - Send to Outpost

Apply this rule if

Condition 1

  • The recipient → is external/internal
  • Recipient location:
    • 'NotInOrganization'

And

Condition 2

  • The sender → is external/internal
  • Sender location:
    • 'InOrganization'

And

Condition 3

  • The sender → is a member of this group
  • Group: [a value unique to your M365 tenant]

Do the following

  • Redirect the message to → the following connector
  • Connector:
    • 'Shield - Send to Outpost'

Exceptions

  • None configured.
Shield - Send to Outpost rule.png

 


Shield - Send to Junk

Status

Enabled


Priority

4

Stop processing more rules: ❌ (No)


Conditions

Name

Shield - Send to Junk

Apply this rule if

Condition 1

  • The recipient → is a member of this group
  • Group: [a value unique to your M365 tenant]

And

Condition 2

  • The message headers... → matches these text patterns
  • Header:
    • X-Shield-API
  • Pattern:

    "action":"junk"

Do the following

  • Modify the message properties → set the spam confidence level (SCL)
  • SCL Value:
    • 6

Exceptions

  • None configured.
Shield - Send to Junk rule.png

 


Shield - Outbound Cleanup

Status

Enabled


Priority

5

Stop processing more rules: ❌ (No)


Conditions

Name

Shield - Outbound Cleanup

Apply this rule if

Condition 1

  • The recipient → is external/internal
  • Recipient location:
    • 'NotInOrganization'

Do the following

  • Modify the message properties → remove a message header
  • Remove this header:
    • 'X-Shield-Relay-Token'

Exceptions

  • None configured.
Shield - Outbound Cleanup rule.png

Related to

Updated

Was this article helpful?

0 out of 0 found this helpful