Commit Graph

51 Commits

Author SHA1 Message Date
Jon
ce3fec9178 fix(ci): ensure correct github sync repo is used
!4
2024-02-21 17:08:25 +09:30
Jon
d8e1c36459 ci(github_sync): add sync job
!3
2024-02-21 16:48:09 +09:30
Jon
79cf109d48 fix(ci): ensure docker build and publish occurs
!3
2024-02-21 16:43:03 +09:30
Jon
b8e0c28bb6 Merge branch 'genesis' into 'development'
feat: Create the scan agent

See merge request nofusscomputing/projects/ansible/collections/phpipam_scan_agent!1
2024-02-21 07:03:32 +00:00
Jon
7057f77504 docs: detail phpIPAM features releated to the scanner
!1
2024-02-21 16:02:38 +09:30
Jon
9ac8cceb93 docs: add images for scanner vars
!1
2024-02-21 15:44:58 +09:30
Jon
565eba3d0d docs: further work on completing
!1
2024-02-21 15:25:25 +09:30
Jon
52b576be80 feat(docker): adjust scanner job to run every 5 mins
!1
2024-02-21 15:24:18 +09:30
Jon
c20202c0c7 docs: initial docker pages
!1
2024-02-21 14:54:13 +09:30
Jon
7705184b86 docs: add mac addresss updates to feature list
!1
2024-02-21 02:24:08 +09:30
Jon
2b9fab6651 fix: Don't process results if scan report is empty
!1
2024-02-21 01:48:43 +09:30
Jon
c06a278ac3 docs: use span instead of div to center content
!1
2024-02-21 01:23:05 +09:30
Jon
866beb7da0 docs: Set component link names
!1
2024-02-21 01:20:17 +09:30
Jon
0c7f42684d fix(docs): correct nav link
!1
2024-02-21 00:59:18 +09:30
Jon
0f8ea25ba5 ci: dont specify git submodule paths
!1
2024-02-21 00:55:11 +09:30
Jon
1dde3fa9e2 docs(readme): add docker hub badges
!1
2024-02-21 00:44:25 +09:30
Jon
e8af8a6356 feat(docs): add initial doc layout and CI jobs
!1
2024-02-21 00:44:07 +09:30
Jon
f9af64e7a1 feat(docker): container that launches server and scanner in one
!1
2024-02-21 00:32:33 +09:30
Jon
add0b2390b fix: add missing collection dep 'ansible.utils'
!1
2024-02-21 00:23:59 +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
e4c6126136 feat: add dependencies
!1
2024-02-21 00:10:24 +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
274629ddc5 ci: add git sync job
!1
2024-02-19 20:19:28 +09:30
Jon
a59b279c1c feat(server): initial rulebook to receive inbound data from client
!1
2024-02-19 20:18:52 +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
8655c407b1 chore: fix liniting errors
!1
2024-02-19 04:12:49 +09:30
Jon
adbee00019 fix(ci): use correct branch
!1
2024-02-19 03:49:40 +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
Jon
785a324293 chore: add collection skeleton
!1
2024-02-19 03:31:06 +09:30
Jon
7dd0e35ab2 docs(readme): remove html tags to keep ansible galaxy happy
!1
2024-02-19 03:30:38 +09:30
Jon
12c404ca94 ci: add ci templates and deps
!1
2024-02-19 03:28:08 +09:30
Jon
972ff70053 chore: add default vscode items
!1
2024-02-19 00:54:03 +09:30
Jon
5b12c091f9 docs: fix github badge links
!1
2024-02-19 00:50:53 +09:30