Skip to content

feat: add device filter support in BaseDeviceResolver #60

Description

@oboehmer

Add support for --device-filter criteria when resolving device inventories in BaseDeviceResolver for D2D testing:

  • Read and parse active device filter criteria from NAC_TEST_DEVICE_FILTER_JSON environment variable
  • Overlay computed virtual canonical fields (hostname, host/ip, os, device_id) with raw architecture-specific model keys using ChainMap
  • Delegate filter evaluation to nac_test.utils.device_filter engine
  • Filter device data models prior to credential injection and device dictionary building
  • Record filter diagnostics (count_before, count_after, unknown_fields, keys_seen) on the resolver instance for orchestrator validation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions