update
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<label>User <input name="audit_user" value="{{.AuditFilters.User}}" placeholder="taiadmin"></label>
|
||||
<label>Hostname <input name="audit_hostname" value="{{.AuditFilters.Hostname}}" placeholder="pve01"></label>
|
||||
<label>Package ID <input name="audit_package" value="{{.AuditFilters.PackageSlug}}" placeholder="sentinelone-linux"></label>
|
||||
<label>LAN or WAN IP <input name="audit_ip" value="{{.AuditFilters.SourceIP}}" placeholder="10.10.1.25"></label>
|
||||
<label>IP address <input name="audit_ip" value="{{.AuditFilters.SourceIP}}" placeholder="10.10.1.25"></label>
|
||||
<label>Details contain <input name="audit_details" value="{{.AuditFilters.Details}}" placeholder="customer or action"></label>
|
||||
<div class="audit-filter-actions">
|
||||
<button class="button secondary" type="submit">Apply filters</button>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<span>Event</span>
|
||||
<span>Customer / deployment</span>
|
||||
<span>User / host / package</span>
|
||||
<span>WAN / LAN / details</span>
|
||||
<span>IP / Details</span>
|
||||
</div>
|
||||
{{range .AuditEvents}}
|
||||
<div class="audit-row">
|
||||
@@ -46,9 +46,7 @@
|
||||
{{if .PackageSlug}}<span>{{.PackageSlug}}</span>{{end}}
|
||||
</div>
|
||||
<div>
|
||||
{{if .SourceIP}}<span>WAN: {{.SourceIP}}</span>{{end}}
|
||||
{{if .LANIP}}<span>LAN: {{.LANIP}}</span>{{end}}
|
||||
{{if and (not .SourceIP) (not .LANIP)}}<span>—</span>{{end}}
|
||||
{{if .SourceIP}}<span>{{.SourceIP}}</span>{{else}}<span>—</span>{{end}}
|
||||
{{if .Details}}<small>{{.Details}}</small>{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user