fix(server): Time of last access for scan agent to use 'now'

!13 #5
This commit is contained in:
2024-02-25 16:22:03 +09:30
parent 3ed00b733e
commit 93d40b7432

View File

@ -38,7 +38,7 @@
UPDATE
subnets
SET
lastDiscovery = '{{ inbound_data.scan.results[0].lastSeen }}'
lastDiscovery = '{{ ('%Y-%m-%d %H:%M:%S' | strftime) }}'
WHERE
subnet = '{{ (inbound_data.scan.subnet | split('/'))[0] | ip2ipam }}'
single_transaction: true