Event rules
An event rule tells Octiga which places, networks and addresses you trust, for whole tenants or for chosen users, so Microsoft 365 events from them usually stop raising alerts. Come here to quieten a known-safe source, to allow a whole country or network operator, or to check what a rule you created is doing.
What a rule does
Section titled “What a rule does”A rule covers either whole tenants or individual users, and lists one or more conditions: countries, regions, network operators or IP addresses. When an event from someone the rule covers meets any one of those conditions, the event is allowed. Octiga stops counting where it came from against it, so it gets the grade its activity alone deserves. That’s usually Info, which keeps it out of Needs attention, but an event that’s risky in itself can still be graded Warning or higher and appear there.
Check what your rules are doing
Section titled “Check what your rules are doing”On a tenant’s Monitoring screen, the rules button beside the lens (a lightning glyph with a number) shows how many of your rules hid that tenant’s events in the chosen date range, under any filters or search you’ve applied. Select it to open Triggered rules, which lists each rule with how many events it hid. With L2 Support or Admin, select View rule from a rule’s menu to open it. See Events.
The rules list
Section titled “The rules list”
- Create rule
- Search rules
- Scope and status filters
- The rules table — Name, Scope, Conditions, Status, Modified
Search by rule name, or narrow the list with the All scopes filter (Tenant or User) and the All statuses filter. If nothing matches, select Clear filters. The most recently changed rules come first.
Status shows Active, Pending (its active period hasn’t started yet) or Expired (it has ended). Hover it to see the dates, or Always on for a rule without a schedule. Hover a rule’s Conditions to see the values it checks.
With an L1 role the list is read-only: there’s no Create rule button, and rules can’t be opened or deleted.
The rule dialog
Section titled “The rule dialog”
- Rule name
- Advanced tab — the active period
- Scope — Individual users or Apply to entire tenants
- Manage tenants
- Conditions — Country, Region, ASN/Network, IP address
- + Region — draw a new region
The General tab holds the scope and conditions; the Advanced tab holds the active period. The banner at the bottom reminds you that the rule applies to new events only.
Scope. Choose one of two cards:
- Apply to entire tenants — every user in the tenants you pick. Select Manage tenants to choose them; they appear as chips.
- Individual users — only the users you pick. Start typing a user’s name and pick them from the results, which come from all your tenants; each result shows the user’s name and user principal name.
Switching scope clears your selection, because it changes what you’re picking.
Conditions. Turn a condition on with its checkbox, then give it at least one value. A rule matches an event that meets any one of its conditions, not all of them: a rule with a country and a network operator allows every event from that country and, separately, every event from that operator. Within one condition, any of its values counts.
- Country — the country the IP address resolves to.
- Region — a place you define: a point and a radius, so an office or a home can be approved precisely, even inside a country you haven’t approved. Select a region in the list to add it to the rule (a tick shows it’s in), and select it again to take it out.
- ASN/Network — the operator behind the IP, such as Microsoft, AWS or a mobile carrier. Search by the operator’s name or its AS number and pick from the results. A saved rule shows its networks as AS and the number until you search again.
- IP address — exact addresses or CIDR ranges.
A condition with no values isn’t checked. Unticking a condition only hides it: values you’ve already added stay on the rule until you remove them.
Active period. On the Advanced tab, choose Always active, or Custom schedule with From and To dates. The dates are whole calendar days in UTC and both are included. Outside them, the rule doesn’t apply.
Draw a region
Section titled “Draw a region”-
Tick Region, then select + Region below the region list to open a map.
-
Draw a circle with the circle tool at the top right of the map, then drag its centre or edge to adjust it. You can also type the Latitude, Longitude and Radius (metres).
-
Replace Untitled region with a name. Each region needs a name of its own.
-
Select Create region.
The region is saved straight away and added to this rule. It stays available to every rule, even if you cancel the one you’re editing.
Delete a region
Section titled “Delete a region”In the rule dialog, with Region ticked, select the bin icon beside a region, then confirm with Delete. A region that a rule still uses can’t be deleted: the message says how many rules use it, so take it off those rules first.
Create a rule from Settings
Section titled “Create a rule from Settings”-
Open Settings from the gear icon, then choose Event rules.
-
Select Create rule. If you have no rules yet, select New rule instead.
-
Replace Untitled rule at the top with a name you’ll recognise.
-
Choose Apply to entire tenants and pick tenants with Manage tenants, or choose Individual users and search for them.
-
Turn on at least one condition and give it a value.
-
Optionally, set a custom schedule on the Advanced tab so the rule applies only between two dates. Then select Create rule.
Create rule stays unavailable until the rule has a name, a scope, at least one tenant or user, and one condition value. Hover it to see what’s missing.
You can also start a blank rule from anywhere: select the + icon in the top bar, then Event rule.
Create a rule from an event or alert
Section titled “Create a rule from an event or alert”You can build a rule from any alert that comes from a Microsoft event, and from any event on a tenant’s Monitoring screen. Other alerts, such as baseline deviations, don’t offer it.
-
Open the menu on the Country, Region, ASN or IP row and select Country rule, Region rule, ASN rule or IP rule. Or select Create rule in the sheet’s footer to start from the event’s tenant alone, or open its arrow to start from Country, Region, ASN or IP.
-
Check the rule’s scope. It starts as Apply to entire tenants with the event’s tenant chosen, so it covers every user there. Add tenants with Manage tenants, or switch to Individual users, if you need a different scope.
-
Check the condition already filled in, or turn one on and give it a value if you started from the tenant alone, then select Create and apply.
A Region rule uses the saved region the event falls inside. If there isn’t one, it proposes a new 10 km region named after the event’s city, which is saved when you create the rule.
The event you started from keeps its grade, like every event that has already arrived.
Quieten a known-safe network operator
Section titled “Quieten a known-safe network operator”-
Find an event from the network operator you want to stop seeing, for example with the ASN filter on a tenant’s Monitoring screen or from the alert list.
-
Open its ASN menu and select ASN rule. The rule starts with that operator and the event’s tenant.
-
To cover the operator in other tenants too, select Manage tenants and add them.
-
Leave the active period as Always active, then select Create and apply.
From about a minute later, events from that operator in those tenants are allowed, so they’re usually graded Info, which keeps them out of Needs attention.
Edit or delete a rule
Section titled “Edit or delete a rule”-
Open Settings from the gear icon, then choose Event rules.
-
Select the rule’s row to open it.
-
Change what you need and select Save changes. To remove the rule instead, select Delete at the bottom left and confirm with Delete rule.
You can also delete a rule from its row menu, which asks you to confirm first. If you close the dialog with unsaved changes, Octiga asks whether to keep editing or discard them.
Actions
Section titled “Actions”| Action | What it does | Minimum role |
|---|---|---|
| View rules | See the list of event rules and what each one matches | L1 Read |
| Create rule | Add a new rule | L2 Support |
| Edit rule | Change an existing rule’s name, scope, conditions or active period | L2 Support |
| Delete rule | Remove a rule permanently | L2 Support |
| Create or delete a region | Add a place to use in rules, or remove one that no rule uses | L2 Support |