Commit Graph

25 Commits

Author SHA1 Message Date
Jon
785ae77510 feat(api_call): before returning check if cached file exists
!8
2024-02-22 15:25:05 +09:30
Jon
a2444087a8 refactor(api_call): use var name that makes more sense
!8
2024-02-22 15:21:41 +09:30
Jon
9920fdb0b4 fix(agent): cater for api call that returns nothing
!8
2024-02-22 14:57:05 +09:30
Jon
2b9fab6651 fix: Don't process results if scan report is empty
!1
2024-02-21 01:48:43 +09:30
Jon
5e07a325c8 feat(scanner): customizable scan server url and port
!1
2024-02-21 00:23:23 +09:30
Jon
4870e32970 feat(scanner): customizable phpIPAM api url
!1
2024-02-21 00:21:33 +09:30
Jon
a2ab1c2c61 fix(scanner): epoch time offset var is optional
!1
2024-02-21 00:16:21 +09:30
Jon
c6b2499b8e feat: build required vars from environmental variables
!1
2024-02-21 00:14:22 +09:30
Jon
f8e010df01 feat(agent): Only scan if phpIPAM setting 'Discover new hosts' enabled
!1
2024-02-20 16:05:08 +09:30
Jon
ca981b838e fix(server): if no mac address in scan result, dont attempt to add to DB
!1
2024-02-20 15:35:29 +09:30
Jon
11a4701a63 fix(agent): don't load subnet from cache if not present
!1
2024-02-20 15:34:51 +09:30
Jon
68f43bf70f fix: Use updated scan structure
!1
2024-02-20 15:34:09 +09:30
Jon
30947877e6 fix(server): new hosts wont be in db, don't search with id
!1
2024-02-20 15:27:11 +09:30
Jon
b6a7c8d750 fix(server): corrected mysql insert syntax
!1
2024-02-20 15:17:34 +09:30
Jon
d57ba15905 feat(agent): upload scan results to server
!1
2024-02-19 20:17:16 +09:30
Jon
7a0c5775b1 feat(filter): ip2ipam and ipam2ip jinja filter added
converts IPv4 IP Address to phpIPAM decimal format

!1
2024-02-19 20:16:22 +09:30
Jon
edd3f5a14d feat(server): initial playbook to process incoming scan results
!1
2024-02-19 20:14:56 +09:30
Jon
fb2871fcca feat(agent): process scanned subnet using cached subnet details
!1
2024-02-19 03:47:45 +09:30
Jon
3f7e8051a0 feat(agent): Fetch subnets belonging to agent
the agent is the agent ID of the agent code.

!1
2024-02-19 03:44:35 +09:30
Jon
225fbe51c8 feat(agent): Scan subnet
!1
2024-02-19 03:43:35 +09:30
Jon
805c50cd7e feat(agent): Fetch subnets that match agents ID
!1
2024-02-19 03:39:13 +09:30
Jon
fc7d816ab1 feat(agent): cache PHPIPAM data
!1
2024-02-19 03:38:14 +09:30
Jon
eb242f77ce feat(agent): fetch agent id from agent code
!1
2024-02-19 03:36:36 +09:30
Jon
6ce64d6d69 feat(agent): api call task
!1
2024-02-19 03:33:12 +09:30
Jon
3128596d81 feat(agent): Create cache directory
!1
2024-02-19 03:31:56 +09:30