Skip to content

Dataset

Fortinet FortiGate configuration and log datasets for AI training

A FortiGate dataset is a set of records from one organization's Fortinet firewalls: FortiOS configuration backups with firewall policies, address and service objects, VPN and SD-WAN settings, the numbered configuration revisions FortiManager kept for each device, and the traffic, UTM and event logs collected in FortiAnalyzer. SourceX sources it to a buyer's spec from established businesses that run FortiGate firewalls. Each dataset is de-identified, with addresses, hostnames, usernames and secrets removed or replaced, and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
FortiOS configuration revisions per device and virtual domain, with the traffic, UTM and event logs around each change
Typical systems
FortiGate appliances and virtual machines running FortiOS, FortiManager for revisions and policy packages, and FortiAnalyzer, FortiGate Cloud or syslog for logs
Typical history
Set by the tools the holder ran: revisions as far back as FortiManager or a backup job kept them, logs as far as retention and disk allowed
Modality
Plain-text configuration in nested blocks, and key=value log lines with a type and subtype
Delivery formats
One text file per configuration revision with a diff against the previous one, logs as original key=value lines or JSONL, and a CSV index
Preparation
IP addresses mapped consistently; hostnames, serial numbers, usernames and domains replaced; password hashes, pre-shared keys, private keys and certificates removed
Licensing
Scoped per device set, virtual domain and date range; permitted use and security handling agreed per license
Availability
Sourced to your spec; depth depends on whether the holder ran FortiManager and FortiAnalyzer, and supply is not guaranteed
CodeIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
fmg_revisionobjectThe device's Configuration Revision in FortiManager: revision number, created time, administrator pseudonym and comment.
config_headerobjectThe backup's opening comment lines: FortiGate model, FortiOS version and build, and whether VDOMs are enabled.
vdomstringPseudonym for the VDOM a block or log line belongs to, from the config vdom section and the log's vd key.
fortios_configstringThe sanitized configuration text in its config, edit, set, next and end blocks, in file order.
firewall_policiesarrayFirewall Policies in file order, each with policy ID, interfaces, address and service objects, action, NAT, logtraffic and Security Profiles.
objectsobjectThe Address Objects, address groups, Service Objects and virtual IPs the policies refer to, with addresses mapped.
sdwan_rulesarraySD-WAN Rules with their members and health checks from the configuration's SD-WAN block.
ipsec_tunnelsarrayIPsec VPN Tunnels from the phase 1 and phase 2 interface blocks, with pre-shared keys removed.
policy_packageobjectThe FortiManager Policy Package and ADOM the device was installed from, where policy was managed centrally.
revision_diffstringLine diff between this Configuration Revision and the previous one for the same device and VDOM.
change_eventsarrayEvent Logs of subtype system that record configuration edits, with the user, the interface used and the object changed.
traffic_logsarrayTraffic Logs for the window: subtype, action, policy ID, interfaces, mapped addresses, ports, duration and bytes.
utm_logsarrayUTM Logs by subtype such as virus, webfilter, ips and app-ctrl, joined to traffic lines by session ID.
log_sourceenumWhere the log lines were held (FortiAnalyzer, FortiGate Cloud, syslog or the firewall) and in which format.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "firewall_ref": "fgt_07",
  "config_header": {
    "model": "FortiGate 100F",
    "fortios_version": "7.2",
    "vdom_mode": "multi_vdom"
  },
  "vdom": "vdom_b",
  "fmg_revision": {
    "number": 41,
    "created": "2024-03-12T21:14:09Z",
    "admin": "adm_03",
    "comment": "CHG-2291 allow app tier to reporting db"
  },
  "policy_package": {
    "adom": "adom_1",
    "package": "pkg_branch_std"
  },
  "revision_diff": "@@ config firewall policy @@\n+    edit 118\n+        set name \"app-to-reporting-db\"\n+        set srcintf \"port5\"\n+        set dstintf \"port7\"\n+        set action accept\n+        set srcaddr \"grp_app_tier\"\n+        set dstaddr \"h_reporting_db\"\n+        set schedule \"always\"\n+        set service \"tcp_5432\"\n+        set logtraffic all\n+    next",
  "change_events": [
    {
      "time": "2024-03-12T21:13:52Z",
      "type": "event",
      "subtype": "system",
      "user": "adm_03",
      "interface": "fortimanager",
      "path": "firewall.policy",
      "object": "118",
      "action": "Add"
    }
  ],
  "traffic_logs": [
    {
      "time": "2024-03-12T21:20:07Z",
      "type": "traffic",
      "subtype": "forward",
      "action": "close",
      "policyid": 118,
      "srcintf": "port5",
      "dstintf": "port7",
      "srcip": "10.41.7.12",
      "dstip": "10.41.9.30",
      "dstport": 5432,
      "duration": 34,
      "sentbyte": 5210,
      "rcvdbyte": 48872
    }
  ],
  "utm_logs": [],
  "log_source": "fortianalyzer_raw"
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Draft and review firewall policy changes

A revision diff with its comment pairs a stated intent with the exact FortiOS lines that carried it out.

Explain why a session was allowed or denied

A traffic line read against the ordered policy list of its VDOM is a worked example of rule matching.

Find shadowed and unused policies

Policy order plus the IDs that never appear in logs supports cleanup tasks, given each policy's logging setting.

Convert configurations between FortiOS versions

Revisions on either side of a firmware upgrade show the same settings written in each syntax.

Triage security events in network context

UTM lines joined to their session and policy show what was detected and what the firewall was set to do.

Use-case guides: Enterprise and computer-use agents, Coding agents, Private evaluation sets

What makes this data valuable

Policy order preserved

Parsed policies keep their position in the file and are not sorted by ID.

Revisions in sequence

Each device and VDOM has revision numbers and dates in order, with gaps explained.

Firmware version kept

Each revision keeps its FortiOS version and build, so absent lines can be read as that version's defaults.

One address mapping

The same substitution covers configurations and logs, and subnet relationships still hold.

Raw log keys intact

Log lines keep every key the firewall wrote, including log ID, type, subtype and session ID.

Secrets removed and counted

ENC values, keys and certificates are gone, with a count of removals per file.

Record timeline

FortiGate dataset

This page covers fortinet FortiGate configurations and logs.Illustrative

File order sets precedence, and absent lines are defaults

A FortiGate configuration backup is plain text. A block opens with config and a path such as firewall policy, each entry opens with edit and its ID or name, set lines give the values, next closes the entry and end closes the block. Blocks nest inside entries. The file reads line by line and diffs cleanly. Its first lines are comments that give the model, the FortiOS version and build, and the administrator who took the backup. Policies refer by name to address objects, groups, services, virtual IPs and security profiles defined elsewhere in the file, so a policy only means something with those blocks beside it.

Two properties are easy to get wrong. The first is order. Policies are matched from the top of the file down, not by ID. The ID is a label that stays with a policy when it is moved, so policy 118 can sit above policy 4, and a reorder shows in a diff as one block removed and added again elsewhere. Traffic logs name the policy by that ID, with 0 where no configured policy matched, as with the implicit deny at the end. A parser that sorts policies by ID destroys the precedence.

The second is absence. The backup holds only settings that differ from the firmware's defaults, and the full listing with defaults is a separate CLI output, seldom archived. An absent line means the default for that FortiOS version, and defaults and block names have changed between releases. A firmware upgrade also rewrites the file into the new syntax, so the first revision after one shows edits no administrator made. And one appliance can be split into virtual domains, each with its own policies, objects and ID numbering, so the VDOM is the unit of analysis, not the device.

History depth depends on FortiManager and FortiAnalyzer

The firewall is a poor historian. Its configuration is the current state, and many smaller models have no disk and hold logs in memory only briefly. History lives in two other products, if the holder ran them. FortiManager keeps numbered configuration revisions for each managed device, with a date, an administrator and an optional comment. Where policy is managed centrally it is authored in policy packages and shared objects inside an ADOM, and the device revision is the installed result, so ask for both. Without FortiManager, history is whatever a backup job saved.

Logs are key=value text lines. Each carries a date and time, the device name and serial number, the virtual domain, a log ID, and a type and subtype: traffic with forward or local, utm with virus, webfilter, ips or app-ctrl, event with system, vpn or user. Whether a session is logged at all is set on each policy, as all sessions, only sessions with a security event, or none. A traffic log is therefore shaped by policy settings and is not a sample of traffic.

System event lines record configuration edits with the user, the interface used and the object changed. They are the closest thing to commit authorship, and they exist only where event logs were kept for the same period. FortiAnalyzer retention is set per ADOM and capped by disk. To test a sample, find the event lines for ten revisions, check that policy IDs in traffic lines exist in the revision then in force for that VDOM, and search the sanitized text for ENC, psksecret and BEGIN.

What to check before licensing

  • Have the data owner and your counsel check Fortinet's license terms on exported configurations and logs, including the FortiGuard category and signature names that appear in them.
  • Confirm that IP addresses, hostnames, device serial numbers, usernames, domain names, URLs and DNS query names are removed or mapped in both configurations and logs.
  • Search every sample configuration for ENC values, psksecret lines, private key and certificate blocks and SNMP community strings, and reject encrypted backups that cannot be inspected.
  • If the network is still in service, agree security handling before delivery: who may access the policy, where it is stored and whether recent revisions are held back.
  • Ask whether revisions come from FortiManager, the firewall's own revision list or scheduled backups, and how many edits one revision can contain.
  • Ask for FortiAnalyzer retention per ADOM, the traffic logging setting on each policy, and whether logs were exported as raw lines, a formatted table or syslog in CEF or CSV.
  • Ask whether virtual domains are enabled, whether backups are global or per VDOM, and whether policy packages and ADOM revisions come with the device revisions.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Can FortiGate traffic logs be joined to the policy that allowed or denied a session?

Yes, by policy ID within the same virtual domain. A traffic line carries the policy ID, and ID 0 marks a session no configured policy matched, such as the implicit deny. The join needs the configuration revision that was in force at the log's time, because policies are moved, deleted and added. Ask for revisions and logs from the same devices and period, under one address mapping.

How far back does FortiGate configuration history go?

As far as the tool that kept it. The firewall holds its current configuration. FortiManager keeps numbered revisions per managed device, and holders without it rely on scheduled backups, which can fold several edits into one saved file. Ask which source the revisions come from and the date of the first one.

Who made each configuration change?

A FortiManager revision names the administrator who created it, and FortiGate system event logs name the user behind each edit, where those logs were kept. The revision also holds a comment if one was typed. The event lines add the interface used and the object changed, which is finer than a revision. Ask that usernames become pseudonyms that match across both sources.

Do the traffic logs cover all traffic through the firewall?

Usually not. Each firewall policy has its own logging setting: all sessions, only sessions that triggered a security profile, or none. The logs are a record of what the holder chose to log, written mostly at session end. Read the logging setting on every policy in the configuration before treating log counts as traffic volume.

How are secrets and addresses handled in a FortiGate configuration?

They should be removed or mapped before delivery, and a sample lets you verify it. A backup carries administrator password hashes, pre-shared keys and other values marked ENC, private keys and certificates, SNMP communities, and public and internal addresses. Ask whether address mapping preserves subnet structure, and search every sample file for ENC values and key blocks. For a network still in service, agree handling terms first.

Is SourceX affiliated with Fortinet?

FortiGate, FortiManager and FortiAnalyzer are named to identify the systems the records come from. That does not imply a partnership with or endorsement by Fortinet. The records belong to the business that runs FortiGate, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies