Expand description
Request validation and filtering for traceability operations.
This module provides validation mechanisms to ensure that incoming requests contain valid, accessible resources before they are processed by the core traceability services. It acts as a gatekeeper to prevent invalid operations from reaching the business logic layer.
§Validation Categories
Process Validation: Verifies that process IDs refer to actual running processes by querying the system process table.
Stream Validation: Ensures that socket addresses are well-formed and compatible (e.g., both IPv4 or both IPv6) for network stream operations.
§Integration
The validator is designed to work with the P2M service through the embedded validation feature. Invalid requests are rejected early with descriptive error messages before consuming system resources.
Structs§
- Resource
Validator - Resource validator for P2M requests.