Files
AutopilotMonitor/rules/schema/ime-log-pattern.schema.json
T
Oliver Kieselbach eae2898ce2 add Galactic Admin audit logs, audit pagination, and platform metrics backend cache
- Galactic Admin Mode for Audit Logs: banner + cross-tenant endpoint (galactic/audit/logs)
- Audit page pagination (12 entries per page) with Previous/Next controls
- Platform Metrics: moved computation to backend PlatformMetricsService with 5-min cache
- New endpoint GET /api/galactic/metrics/platform replaces N+1 client-side fetches
- IME log tracker enhancements, DO telemetry pattern, and download progress improvements

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 19:40:37 +01:00

88 lines
3.0 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/OliverKieselbach/Autopilot-Monitor/main/rules/schema/ime-log-pattern.schema.json",
"title": "Autopilot Monitor IME Log Pattern",
"description": "Defines a regex pattern for Intune Management Extension (IME) log parsing during Autopilot enrollment.",
"oneOf": [
{ "$ref": "#/$defs/imeLogPattern" },
{
"type": "object",
"properties": {
"$schema": { "type": "string" },
"rules": {
"type": "array",
"items": { "$ref": "#/$defs/imeLogPattern" }
}
},
"required": ["rules"],
"additionalProperties": false
}
],
"$defs": {
"imeLogPattern": {
"type": "object",
"properties": {
"$schema": {
"type": "string",
"description": "JSON Schema reference for editor IntelliSense."
},
"patternId": {
"type": "string",
"description": "Unique pattern identifier (e.g., \"IME-ESP-PHASE\")."
},
"category": {
"type": "string",
"description": "Pattern category controlling when the pattern is active.",
"enum": ["always", "currentPhase", "otherPhases"]
},
"pattern": {
"type": "string",
"description": "Regex pattern string to match against IME log message content. Supports named capture groups. Uses {GUID} as placeholder for the standard GUID capture pattern."
},
"action": {
"type": "string",
"description": "Action to perform when the pattern matches. Must match an action handler in the agent's ImeLogTracker.",
"enum": [
"setCurrentApp",
"updateStateInstalled",
"updateStateDownloading",
"updateStateInstalling",
"updateStateSkipped",
"updateStateError",
"updateStatePostponed",
"espPhaseDetected",
"imeStarted",
"policiesDiscovered",
"ignoreCompletedApp",
"imeAgentVersion",
"espTrackStatus",
"updateName",
"updateWin32AppState",
"cancelStuckAndSetCurrent",
"imeSessionChange",
"imeImpersonation",
"enrollmentCompleted",
"updateDoTelemetry"
]
},
"parameters": {
"type": "object",
"description": "Optional extra parameters for the action handler (all values are strings).",
"additionalProperties": { "type": "string" }
},
"description": {
"type": "string",
"description": "Human-readable description of what this pattern detects and why."
},
"enabled": {
"type": "boolean",
"description": "Whether this pattern is enabled. Set to false to add a pattern without activating it immediately.",
"default": true
}
},
"required": ["patternId", "category", "pattern", "action"],
"additionalProperties": false
}
}
}