Skip to content

Commit

Permalink
[Filebeat] Add HIP Match logs to Palo Alto Module (#25686)
Browse files Browse the repository at this point in the history
Update panw.panos module to parse HIP Match logs.

Also this updates the Global Protect parsing with additional fields per the updated docs, https://docs.paloaltonetworks.com/pan-os/10-0/pan-os-admin/monitoring/use-syslog-for-monitoring/syslog-field-descriptions/globalprotect-log-fields.html

(cherry picked from commit 3a81d81)

# Conflicts:
#	filebeat/docs/fields.asciidoc
#	x-pack/filebeat/module/panw/fields.go
#	x-pack/filebeat/module/panw/panos/_meta/fields.yml
#	x-pack/filebeat/module/panw/panos/config/input.yml
#	x-pack/filebeat/module/panw/panos/ingest/pipeline.yml
#	x-pack/filebeat/module/panw/panos/ingest/userid.yml
#	x-pack/filebeat/module/panw/panos/manifest.yml
#	x-pack/filebeat/module/panw/panos/test/global_protect.log
  • Loading branch information
legoguy1000 authored and mergify-bot committed May 26, 2021
1 parent 64e90ce commit e147f0f
Show file tree
Hide file tree
Showing 13 changed files with 1,588 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,8 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Add monitoring metrics to the `aws-s3` input. {pull}25711[25711]
- Add Content-Type override to aws-s3 input. {issue}25697[25697] {pull}25772[25772]
- In Cisco Umbrella fileset add users from cisco.umbrella.identities to related.user. {pull}25776[25776]
- Add fingerprint processor to generate fixed ids for `google_workspace` events. {pull}25841[25841]
- Update PanOS module to parse HIP Match logs. {issue}24350[24350] {pull}25686[25686]

*Heartbeat*

Expand Down
356 changes: 356 additions & 0 deletions filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -107515,6 +107515,362 @@ type: keyword

--

<<<<<<< HEAD
=======
*`panw.panos.client_os_ver`*::
+
--
The client device’s OS version.


type: keyword

--

*`panw.panos.client_os`*::
+
--
The client device’s OS version.


type: keyword

--

*`panw.panos.client_ver`*::
+
--
The client’s GlobalProtect app version.


type: keyword

--

*`panw.panos.stage`*::
+
--
A string showing the stage of the connection


type: keyword

example: before-login

--

*`panw.panos.actionflags`*::
+
--
A bit field indicating if the log was forwarded to Panorama.


type: keyword

--

*`panw.panos.error`*::
+
--
A string showing that error that has occurred in any event.


type: keyword

--

*`panw.panos.error_code`*::
+
--
An integer associated with any errors that occurred.


type: integer

--

*`panw.panos.repeatcnt`*::
+
--
The number of sessions with the same source IP address, destination IP address, application, and subtype that GlobalProtect has detected within the last five seconds.An integer associated with any errors that occurred.


type: integer

--

*`panw.panos.serial_number`*::
+
--
The serial number of the user’s machine or device.


type: keyword

--

*`panw.panos.auth_method`*::
+
--
A string showing the authentication type


type: keyword

example: LDAP

--

*`panw.panos.datasource`*::
+
--
Source from which mapping information is collected.


type: keyword

--

*`panw.panos.datasourcetype`*::
+
--
Mechanism used to identify the IP/User mappings within a data source.


type: keyword

--

*`panw.panos.datasourcename`*::
+
--
User-ID source that sends the IP (Port)-User Mapping.


type: keyword

--

*`panw.panos.factorno`*::
+
--
Indicates the use of primary authentication (1) or additional factors (2, 3).


type: integer

--

*`panw.panos.factortype`*::
+
--
Vendor used to authenticate a user when Multi Factor authentication is present.


type: keyword

--

*`panw.panos.factorcompletiontime`*::
+
--
Time the authentication was completed.


type: date

--

*`panw.panos.ugflags`*::
+
--
Displays whether the user group that was found during user group mapping. Supported values are:
User Group Found—Indicates whether the user could be mapped to a group.
Duplicate User—Indicates whether duplicate users were found in a user group. Displays N/A if no user group is found.


type: keyword

--

[float]
=== device_group_hierarchy

A sequence of identification numbers that indicate the device group’s location within a device group hierarchy. The firewall (or virtual system) generating the log includes the identification number of each ancestor in its device group hierarchy. The shared device group (level 0) is not included in this structure. If the log values are 12, 34, 45, 0, it means that the log was generated by a firewall (or virtual system) that belongs to device group 45, and its ancestors are 34, and 12.



*`panw.panos.device_group_hierarchy.level_1`*::
+
--
A sequence of identification numbers that indicate the device group’s location within a device group hierarchy. The firewall (or virtual system) generating the log includes the identification number of each ancestor in its device group hierarchy. The shared device group (level 0) is not included in this structure. If the log values are 12, 34, 45, 0, it means that the log was generated by a firewall (or virtual system) that belongs to device group 45, and its ancestors are 34, and 12.


type: keyword

--

*`panw.panos.device_group_hierarchy.level_2`*::
+
--
A sequence of identification numbers that indicate the device group’s location within a device group hierarchy. The firewall (or virtual system) generating the log includes the identification number of each ancestor in its device group hierarchy. The shared device group (level 0) is not included in this structure. If the log values are 12, 34, 45, 0, it means that the log was generated by a firewall (or virtual system) that belongs to device group 45, and its ancestors are 34, and 12.


type: keyword

--

*`panw.panos.device_group_hierarchy.level_3`*::
+
--
A sequence of identification numbers that indicate the device group’s location within a device group hierarchy. The firewall (or virtual system) generating the log includes the identification number of each ancestor in its device group hierarchy. The shared device group (level 0) is not included in this structure. If the log values are 12, 34, 45, 0, it means that the log was generated by a firewall (or virtual system) that belongs to device group 45, and its ancestors are 34, and 12.


type: keyword

--

*`panw.panos.device_group_hierarchy.level_4`*::
+
--
A sequence of identification numbers that indicate the device group’s location within a device group hierarchy. The firewall (or virtual system) generating the log includes the identification number of each ancestor in its device group hierarchy. The shared device group (level 0) is not included in this structure. If the log values are 12, 34, 45, 0, it means that the log was generated by a firewall (or virtual system) that belongs to device group 45, and its ancestors are 34, and 12.


type: keyword

--

*`panw.panos.timeout`*::
+
--
Timeout after which the IP/User Mappings are cleared.


type: integer

--

*`panw.panos.vsys_id`*::
+
--
A unique identifier for a virtual system on a Palo Alto Networks firewall.


type: keyword

--

*`panw.panos.vsys_name`*::
+
--
The name of the virtual system associated with the session; only valid on firewalls enabled for multiple virtual systems.


type: keyword

--

*`panw.panos.description`*::
+
--
Additional information for any event that has occurred.


type: keyword

--

*`panw.panos.tunnel_type`*::
+
--
The type of tunnel (either SSLVPN or IPSec).


type: keyword

--

*`panw.panos.connect_method`*::
+
--
A string showing the how the GlobalProtect app connects to Gateway


type: keyword

--

*`panw.panos.matchname`*::
+
--
Name of the HIP object or profile.


type: keyword

--

*`panw.panos.matchtype`*::
+
--
Whether the hip field represents a HIP object or a HIP profile.


type: keyword

--

*`panw.panos.priority`*::
+
--
The priority order of the gateway that is based on highest (1), high (2), medium (3), low (4), or lowest (5) to which the GlobalProtect app can connect.


type: keyword

--

*`panw.panos.response_time`*::
+
--
The SSL response time of the selected gateway that is measured in milliseconds on the endpoint during tunnel setup.


type: keyword

--

*`panw.panos.attempted_gateways`*::
+
--
The fields that are collected for each gateway connection attempt with the gateway name, SSL response time, and priority


type: keyword

--

*`panw.panos.gateway`*::
+
--
The name of the gateway that is specified on the portal configuration.


type: keyword

--

*`panw.panos.selection_type`*::
+
--
The connection method that is selected to connect to the gateway.


type: keyword

--

>>>>>>> 3a81d81b7 ([Filebeat] Add HIP Match logs to Palo Alto Module (#25686))
[[exported-fields-pensando]]
== Pensando fields

Expand Down
4 changes: 4 additions & 0 deletions x-pack/filebeat/module/panw/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e147f0f

Please sign in to comment.