Security Operations field mapping copies data from a source record into a new record in another table. Value transforms replace incoming labels with standard terms, enrichment data maps read JSON, XML or property files, and duplication rules decide what happens when an active match already exists.
Mapping one table onto another
A field map is a header record plus a list of field rows. The header names the source table, the destination table, an optional duplication rule and an activation switch. To find it, go to All > Security Operations > Utilities > Field Mapping and select New. Building one needs the sec_cmn.write role.
Only one mapping between a given pair of tables can be active at a time. Activating a second map that contains the same two tables deactivates the older one automatically, so check the existing maps before you save a replacement. For the wider picture of how these pieces fit into a Security Operations integration, see the integration patterns guide.
Choosing where each value lands
Each row in the Field Mapping Fields tab defines one target. The Store value setting controls the destination. The value can go straight into a field on the new record, link to a value in a related list where a matching record already exists, or link and create a matching record when none is found. The two link options need a related list on the destination table.
Direct field writes need a value type. Source field record copies the source field’s value. Append to the field as a new line adds the value beneath existing text. Static value writes a fixed string, and Static value plus source record field value combines the two.
Choice fields and reference fields behave differently from plain text. For a choice field, the map matches the incoming value against existing choice labels or values. If nothing matches, the field is still set, but the choice list gains no new entry. For a reference field, the entry is written only when the incoming value matches a display name or a valid sys_id.
Linking related records and building new ones
Linked values rely on three settings. The related list names the list to extend, such as Affected CIs. The Value field names the field used to find an existing related record, such as Name or Fully Qualified Domain Name for a configuration item. The Value separator splits a list of items, usually on a comma or a semicolon.
Relationship data writes extra fields onto the linking record. A typical use marks an observable as a source IP rather than a destination IP. Several pairs are joined with a caret, as in type=Source IP^active=true. New record data sets the content of a related record that the map creates when nothing matches.
Converting labels with field value transforms
Value transforms solve a vocabulary problem. For the ingestion side of that problem, see the SIEM event ingestion guide. An outside system uses its own labels, and Security Operations needs the labels it already understands. A transform is one named set of entries. Each entry is one of three types: it matches the whole value, it matches when the value contains a search term, or it acts as the default when no other entry fits. The type matters, because a containment entry catches a phrase inside a longer string while a whole-value entry does not.
Navigate to All > Security Operations > Utilities > Field Value Transforms and select New. Creating one needs the sn_sec_cmn.basic or sn_si.basic role. Enter a name, add rows under Field Value Transform Entries, and give each row a search value and a replacement value that matches the standard term used in the Security Operations table. Tick Active, set the application scope and submit.
Setting the fallback deliberately
A default entry sets the value used when nothing else matches. Without a default, a value that matches no entry passes through unchanged. Decide which behavior you want before activation, because a pass-through lets an unfamiliar label reach the record exactly as the external system sent it.
Enrichment data maps for structured input
Enrichment data maps read structured input and write the results to a destination table. For background on the transform maps used during imports, see the transform map explainer. The Input format setting offers JSON, which is the default, plus XML and Properties File. Navigate to All > Security Operations > Utilities > Enrichment Data Mapping, select New and build the map with the sn_sec_cmn.write role.
The Prefix key narrows the input. When a payload sits inside a larger structure, the prefix becomes the root of the data and the map reads only the values inside it. A prefix of file_info, for example, limits an XML payload to the hash values, file type and size inside that block and ignores a version element outside it.
Each mapping row has a value type:
| Value type | What it does |
|---|---|
| Lookup data using property key | Reads the value stored under a property key and writes it to the target field |
| Static value | Writes a fixed value to the target field |
| Static value plus data from the property key | Writes a fixed value together with a value read from a property key |
| Field is an array or object | Handles nested raw data, such as an array or object inside the input |
Field values, arrays and objects need a property key. The key drives the search through the input and sets the value written to the target. Each mapping also has an Order setting. The first match is used and the default order is 100, so give two competing mappings explicit orders when both could match the same key.
Triggering a map
An enrichment map does nothing on its own. It needs a trigger, either a business rule or a workflow. Security Operations ships enrichment data maps that its own workflows use, and it provides their output to security incidents. The list of existing maps is under Enrichment Data Mapping, so review it before building a similar map.
For a custom flow, the Create Enrichment Data records flow action writes the records. For the designer that hosts flow actions, see the action flow designer explainer. It takes a task identifier, the raw content such as running process data, an enrichment mapping identifier and a configuration item identifier. It returns Success when the record is updated and Failure otherwise, with error detail in the flow action output.
Duplication rules decide what happens to a repeat record
Duplication rules run when an incoming email, enrichment record or field map would create a record that already exists. For the same question asked of import sets, see the guide on transform maps without duplicate records. Build one at All > Security Operations > Duplication Rules with the sn_sec_cmn.write role. Choose the table, select the identifying fields whose identical values signal a duplicate, and set the duplicate action.
The duplicate action has three choices. Create as child creates the new record under the original, with the Parent field recording the link. Do not create nor update records is the default and ignores the duplicate. Update duplicate record changes the existing record according to a set of duplication actions.
Each duplication action names one field and an action type. The types include replacing the old content with the new value, adding the new value to a comma separated list if it is not already present, appending text to the end of the field, adding one to a counter, setting the field to the current date and time, and appending to a related list such as Affected CI. The related list option needs a relationship name.
Shared rules across Security Operations
Common functionality and the admin role
Activating the Security Support Common plugin installs shared components, including tables, user roles and modules, that the security applications use. For the wider access model, see the Security Operations security and access design guide.
Field mapping is not limited to one pair of tables. It can map a Security Operations table to any other table, so a security incident can populate a new problem record.
Domain-separated property overrides
When domain separation is in use, an administrator can override a Security Operations property for one domain. The Domain Support – Domain Extensions plugin must be active. The override is created under All > Security Operations > Utilities > Domain Separated Properties, and the form takes the application, the property, the domain, an Active switch and the new value.
When the property logic runs, the system looks for an override that matches the current domain and uses its value. Where no override exists, the default domain value applies. Read the override list for each domain before publishing a change, because an override applies to the domain it names and to no other.
Frequently asked questions
Can two field maps be active for the same pair of tables?
No. One mapping between a given pair of tables can be active at a time. Activating a second map that contains the same tables automatically deactivates the older version.
What happens when an incoming label matches no transform entry?
The default entry applies if one exists. Without a default, the original value passes through unchanged. For a choice field, a value that matches no existing choice label or value leaves the field set but adds no new choice to the list.
Why does my enrichment data map not run?
An enrichment map waits for a trigger, which is a business rule or a workflow. Confirm the trigger exists and is active. Then check the prefix key, because a prefix that points at the wrong part of the payload limits the input the map can read.
Why was a repeat record created instead of updated?
Duplication rules may depend on the state of the existing record, so check its status as well. Also confirm that the rule is active and that the identifying fields hold identical values in both records.