Skip to content

Add phpIPAM WISE source plugin#3801

Merged
awick merged 6 commits into
arkime:mainfrom
waynieack:feature/phpipam-wise-plugin
Mar 16, 2026
Merged

Add phpIPAM WISE source plugin#3801
awick merged 6 commits into
arkime:mainfrom
waynieack:feature/phpipam-wise-plugin

Conversation

@waynieack

Copy link
Copy Markdown
Contributor

This is a wise plugin to pull data from phpIPAM (https://phpipam.net/).
Feel free to modify or reject if this is not a feature that you want added.

  • Enriches IPs with hostname, subnet, VLAN, VRF, and description fields
  • Preloads phpIPAM data via API into in-memory cache
  • Registers value actions for right-click search links to phpIPAM

License

I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

waynieack and others added 6 commits March 11, 2026 18:53
- Enriches IPs with hostname, subnet, VLAN, VRF, and description fields
- Preloads phpIPAM data via API into in-memory cache
- Registers value actions for right-click search links to phpIPAM
- capture/reader-scheme.c: Change pktlen from int32_t to uint32_t to
  prevent negative values from bypassing the > 0xffff validation check
  in classic PCAP and pcap-NG EPB paths. Cast len to uint32_t at
  comparison sites to fix sign-compare warnings.
- common/user.js: Use crypto.timingSafeEqual for password hash
  comparison in the change-password endpoint, consistent with the
  existing timing-safe comparison in auth.js basic auth.
- parliament/parliament.js: Validate that cluster url and localUrl
  start with http or / in both create and update endpoints.
- tests/parliament.t: Add tests for cluster URL validation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…me#3804)

- Add new user-auto-create section as alternative to userAutoCreateTmpl
- Each key is a user property, each value is a JS expression receiving vals
- Mutually exclusive with userAutoCreateTmpl (error if both configured)
- Add field validation against allowed user properties
- Add syntax validation at startup for both user-auto-create and user-role-mappings
- Add try/catch error handling in #dynamicCreate (aborts on error)
- Add try/catch error handling in updateDynamicRoles (continues on error)
- Convert #dynamicRolesFuncs from object to Map for consistency

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…kime into waynieack-feature/phpipam-wise-plugin
@awick awick merged commit f0923a1 into arkime:main Mar 16, 2026
15 checks passed
@waynieack waynieack deleted the feature/phpipam-wise-plugin branch March 16, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants