Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… #697

Merged
merged 1 commit into from
May 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Start

Connection
^\s*Username\s*:\s+${USERNAME}\s+Index\s+:\s*${INDEX}$$
^\s*Username\s*:\s+${USERNAME}$$
^\s*Index\s*:\s+${INDEX}$$
^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$
^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}$$
^\s*Public\s+IP\s*:\s+${PUBLIC_IP}$$
Expand All @@ -47,4 +49,4 @@ Connection
^\s*Audt\s+Sess\s+ID\s+:\s+${AUDT_SESS_ID}$$
^\s*Security\s+Grp\s+:\s+${SECURITY_GRP}\s*$$ -> Record
^\s*$$
^. -> Error
^. -> Error
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Session Type: AnyConnect
Username : longfirstname.longlastname@example.com
Index : 1018
Assigned IP : 10.254.254.22 Public IP : 1.2.3.4
Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel
License : AnyConnect Premium
Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128
Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1
Bytes Tx : 17186425 Bytes Rx : 7094561
Group Policy : RAVPN Tunnel Group : RAVPN
Login Time : 14:28:09 CDT Tue Mar 17 2020
Duration : 2h:21m:21s
Inactivity : 0h:00m:00s
VLAN Mapping : N/A VLAN : none
Audt Sess ID : ac1063fe003fa0005e715555
Security Grp : none
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
parsed_sample:
- session_type: "AnyConnect"
username: "longfirstname.longlastname@example.com"
index: "1018"
assigned_ip: "10.254.254.22"
public_ip: "1.2.3.4"
protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel"
license: "AnyConnect Premium"
encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128"
hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1"
bytes_tx: "17186425"
bytes_rx: "7094561"
group_policy: "RAVPN"
tunnel_group: "RAVPN"
login_time: "14:28:09"
login_time_zone: "CDT"
login_weekday: "Tue"
login_month: "Mar"
login_day: "17"
login_year: "2020"
duration: "2h:21m:21s"
inactivity: "0h:00m:00s"
vlan_mapping: "N/A"
vlan: "none"
audt_sess_id: "ac1063fe003fa0005e715555"
security_grp: "none"