{"openapi":"3.0.1","info":{"title":"Catalogic.GuardMode.Agent.Api v1","version":"1.0"},"paths":{"/settings/tags":{"get":{"tags":["AgentTag"],"summary":"Returns all agent tags","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of all currently added tags","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentTagResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentTagResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AgentTagResponse"}}}}}}},"post":{"tags":["AgentTag"],"summary":"Adds a new agent tag","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/AgentTagCreationRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/AgentTagCreationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/AgentTagCreationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AgentTagCreationRequest"}}}},"responses":{"201":{"description":"Tag was successfully added","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/AgentTagResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/AgentTagResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/AgentTagResponse"}}}},"400":{"description":"Bad request was sent","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"409":{"description":"Tag limit was reached","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/settings/tags/{id}":{"delete":{"tags":["AgentTag"],"summary":"Removes an agent tag","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Tag was removed"},"400":{"description":"Bad request was sent","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/authentication/password":{"put":{"tags":["Authentication"],"summary":"Update password for default user","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}}},"responses":{"204":{"description":"Password was successfully updated"},"400":{"description":"Request validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Configuration file is malformed"}}}},"/settings/events":{"put":{"tags":["DeprecatedFileSystemEvent"],"summary":"Update file system events configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/UpdateFileSystemEventsConfigurationRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFileSystemEventsConfigurationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/UpdateFileSystemEventsConfigurationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UpdateFileSystemEventsConfigurationRequest"}}}},"responses":{"200":{"description":"Updated file system events configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSystemEventConfigurationResponse"}}}},"400":{"description":"Request validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}},"deprecated":true},"get":{"tags":["FileSystemEvent"],"summary":"Get current file system events configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current file system events configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSystemEventConfigurationResponse"}}}}}}},"/settings/excluded-paths":{"get":{"tags":["Exclusions"],"summary":"Get all excluded paths","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current listing of excluded paths","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ExcludedPathsCollectionResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ExcludedPathsCollectionResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ExcludedPathsCollectionResponse"}}}},"404":{"description":"Excluded paths file was not found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["Exclusions"],"summary":"Create new excluded path","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/CreateExcludedPathRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/CreateExcludedPathRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateExcludedPathRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateExcludedPathRequest"}}}},"responses":{"201":{"description":"An excluded path entry was created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ExcludedPathResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ExcludedPathResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ExcludedPathResponse"}}}},"404":{"description":"Excluded paths file was not found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"409":{"description":"Excluded path already exists in the file","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/settings/excluded-paths/{id}":{"get":{"tags":["Exclusions"],"summary":"Get single excluded path","parameters":[{"name":"id","in":"path","description":"Excluded path identifier","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"A single excluded path","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ExcludedPathResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ExcludedPathResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ExcludedPathResponse"}}}},"404":{"description":"Excluded path was not found or excluded paths file was not found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Exclusions"],"summary":"Remove excluded path","parameters":[{"name":"id","in":"path","description":"Excluded path identifier","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Excluded path was removed"},"404":{"description":"Excluded paths file was not found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/settings/reports/file-event-report":{"get":{"tags":["FileEventReport"],"parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}}}}}},"put":{"tags":["FileEventReport"],"parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/settings/reports/file-event-report/hours":{"post":{"tags":["FileEventReport"],"parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/ScheduledHourRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledHourRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/ScheduledHourRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ScheduledHourRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"409":{"description":"Conflict","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["FileEventReport"],"parameters":[{"name":"hour","in":"query","schema":{"type":"string","format":"time"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileEventReportConfigurationResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"422":{"description":"Unprocessable Content","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/settings/reports/file-event-report/excluded-paths":{"get":{"tags":["FileEventReport"],"parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExcludedPathResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExcludedPathResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExcludedPathResponse"}}}}}}},"post":{"tags":["FileEventReport"],"parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/CreateExcludedPathRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/CreateExcludedPathRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateExcludedPathRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateExcludedPathRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ExcludedPathResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ExcludedPathResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ExcludedPathResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"409":{"description":"Conflict","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/settings/reports/file-event-report/excluded-paths/{id}":{"delete":{"tags":["FileEventReport"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/settings/reports/file-event-report/included-paths":{"get":{"tags":["FileEventReport"],"parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IncludedPathResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IncludedPathResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IncludedPathResponse"}}}}}}},"post":{"tags":["FileEventReport"],"parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/CreateIncludedPathRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/CreateIncludedPathRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateIncludedPathRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateIncludedPathRequest"}}}},"responses":{"201":{"description":"Created","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/IncludedPathResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/IncludedPathResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/IncludedPathResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"409":{"description":"Conflict","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/settings/reports/file-event-report/included-paths/{id}":{"delete":{"tags":["FileEventReport"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/settings/file-integrity":{"get":{"tags":["FileIntegrity"],"summary":"Returns current file integrity configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"File integrity configuration","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}}}}}},"post":{"tags":["FileIntegrity"],"summary":"Adds new monitored path to file integrity configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Request received","content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/FileIntegrityPathCreationRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityPathCreationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityPathCreationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/FileIntegrityPathCreationRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}}}},"409":{"description":"Conflict","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"201":{"description":"New path was successfully added"}}},"delete":{"tags":["FileIntegrity"],"summary":"Removes path with specified ID from file integrity configuration","parameters":[{"name":"id","in":"query","description":"ID of the path to be removed","schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Path was successfully removed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}}}},"204":{"description":"No Content"},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}},"put":{"tags":["FileIntegrity"],"summary":"Updates file integrity strategy configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Request received","content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationUpdateRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationUpdateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationUpdateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationUpdateRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}}}},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/settings/file-integrity/{id}":{"put":{"tags":["FileIntegrity"],"summary":"Updates one of monitored paths","parameters":[{"name":"id","in":"path","description":"ID of path to update","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Request received","content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/FileIntegrityPathUpdateRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityPathUpdateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityPathUpdateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/FileIntegrityPathUpdateRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/FileIntegrityConfigurationResponse"}}}},"404":{"description":"Not Found","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/events/types":{"get":{"tags":["FileSystemEvent"],"summary":"List all file system event types","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"A collection of all file system event types","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LookupItem"}}}}}}}},"/events":{"get":{"tags":["FileSystemEvent"],"summary":"List file system events","parameters":[{"name":"Start","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"End","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Limit","in":"query","schema":{"maximum":5000,"minimum":1,"type":"integer","format":"int32"}},{"name":"Cursor","in":"query","schema":{"type":"string"}},{"name":"incident","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"A collection of file system events","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCollectionResponse"}}}},"400":{"description":"Request validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/settings/honeypot":{"put":{"tags":["Honeypot"],"summary":"Update honeypot configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/UpdateHoneypotConfigurationRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/UpdateHoneypotConfigurationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/UpdateHoneypotConfigurationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UpdateHoneypotConfigurationRequest"}}}},"responses":{"200":{"description":"Updated honeypot configuration","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}}}},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}},"get":{"tags":["Honeypot"],"summary":"Get current honeypot configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current honeypot configuration","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}}}}}},"post":{"tags":["Honeypot"],"summary":"Add placement path to honeypot configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/CreateHoneypotConfigurationEntryRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/CreateHoneypotConfigurationEntryRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateHoneypotConfigurationEntryRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateHoneypotConfigurationEntryRequest"}}}},"responses":{"200":{"description":"An updated honeypot configuration with the new placement path","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}}}},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}},"delete":{"tags":["Honeypot"],"summary":"Remove placement path from honeypot configuration","parameters":[{"name":"path","in":"query","description":"Placement path","schema":{"type":"string"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"An updated honeypot configuration without the selected placement path","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/HoneypotConfigurationResponse"}}}},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/security-incidents":{"get":{"tags":["Incident"],"summary":"List all security incidents","parameters":[{"name":"user","in":"query","description":"User name. Only includes the incidents which were created for a specific user","schema":{"type":"string"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of all detected security incidents","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IncidentItemResponse"}}}}}}}},"/security-incidents/{incidentId}/files":{"get":{"tags":["Incident"],"summary":"List all affected files linked to an incident with provided identifier","parameters":[{"name":"incidentId","in":"path","description":"Incident identifier","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Limit","in":"query","description":"Maximum number of entries to be returned","schema":{"maximum":2000,"minimum":1,"type":"integer","format":"int32"}},{"name":"Cursor","in":"query","description":"Cursor to filter out already returned entries","schema":{"type":"string"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of affected files connected to an incident with a given identifier","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AffectedFileResponse"}}}}},"400":{"description":"Request validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"404":{"description":"An incident with provided identifier was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/security-incidents/{id}/events":{"get":{"tags":["Incident"],"summary":"Get suspicious events connected to an incident with provided identifier","parameters":[{"name":"id","in":"path","description":"Incident identifier","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Start","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"End","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"Limit","in":"query","schema":{"maximum":5000,"minimum":1,"type":"integer","format":"int32"}},{"name":"Cursor","in":"query","schema":{"type":"string"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"A collection of events connected to an incident with a given identifier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventCollectionResponse"}}}},"400":{"description":"Request validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"404":{"description":"An incident with provided identifier was not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/security-incidents/modification-types":{"get":{"tags":["Incident"],"summary":"Get all possible values of affected file modification types","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of all possible values of affected file modification types","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LookupItem"}}}}}}}},"/registrations":{"post":{"tags":["Registration"],"summary":"Registers the agent's node with a management server","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Registration request","content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/RegistrationRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/RegistrationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/RegistrationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/RegistrationRequest"}}}},"responses":{"200":{"description":"Registration response with an extra data about the node","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/RegistrationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/RegistrationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/RegistrationResponse"}}}},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Agent is already registered with a server instance","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Registration"],"summary":"Removes the current registration from a management server","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Registration is removed"}}}},"/settings/block-list":{"get":{"tags":["ResourceList"],"summary":"Returns block list information","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current block list data","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/BlockListInfo"}},"application/json":{"schema":{"$ref":"#/components/schemas/BlockListInfo"}},"text/json":{"schema":{"$ref":"#/components/schemas/BlockListInfo"}}}}}},"put":{"tags":["ResourceList"],"summary":"Update block list patterns","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/BlockListReplacementRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/BlockListReplacementRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/BlockListReplacementRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/BlockListReplacementRequest"}}}},"responses":{"204":{"description":"Block list patterns were updated"},"304":{"description":"Block list was not modified because it is already up to date"},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/settings/block-list/skip":{"get":{"tags":["ResourceList"],"summary":"Returns skip list information","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current skip list","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/SkipListResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/SkipListResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/SkipListResponse"}}}}}},"put":{"tags":["ResourceList"],"summary":"Update skip list patterns","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/ResourceListReplacementRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/ResourceListReplacementRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/ResourceListReplacementRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ResourceListReplacementRequest"}}}},"responses":{"204":{"description":"Skip list patterns updated"},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}},"post":{"tags":["ResourceList"],"summary":"Add a pattern to skip list","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/ResourceListEntryReplacementRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/ResourceListEntryReplacementRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/ResourceListEntryReplacementRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ResourceListEntryReplacementRequest"}}}},"responses":{"204":{"description":"Skip pattern added"},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"409":{"description":"Pattern already exists in the skip list","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/settings/block-list/skip/{id}":{"delete":{"tags":["ResourceList"],"summary":"Remove a pattern from skip list","parameters":[{"name":"id","in":"path","description":"Skip list pattern identifier","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Skip pattern was removed"},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/scans":{"get":{"tags":["Scan"],"summary":"Get all scans","parameters":[{"name":"Limit","in":"query","description":"Maximum number of entries to be returned","schema":{"maximum":2000,"minimum":1,"type":"integer","format":"int32"}},{"name":"Cursor","in":"query","description":"Cursor to filter out already returned entries","schema":{"type":"string"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a list of all scans, both ended and ongoing","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScanResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScanResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScanResponse"}}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}},"post":{"tags":["Scan"],"summary":"Start new scan","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/ScanRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/ScanRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/ScanRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/ScanRequest"}}}},"responses":{"202":{"description":"Accepted"},"400":{"description":"Bad request was sent","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"200":{"description":"Returns a newly created scan"}}}},"/scans/{id}":{"get":{"tags":["Scan"],"summary":"Get a scan with a given ID","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a scan with provided ID","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ScanResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ScanResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ScanResponse"}}}},"404":{"description":"There is no scan with a given ID","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/scans/{id}/suspicious-files":{"get":{"tags":["Scan"],"summary":"Get suspicious files' details from a scan with a given ID","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Limit","in":"query","description":"Maximum number of entries to be returned","schema":{"maximum":1000,"minimum":1,"type":"integer","format":"int32"}},{"name":"Cursor","in":"query","description":"Cursor to filter out already returned entries","schema":{"type":"string"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a list of suspicious files found by this scan","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ScanResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ScanResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ScanResponse"}}}},"400":{"description":"Bad Request","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"404":{"description":"There is no scan with a given ID","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/scans/{id}/stop":{"post":{"tags":["Scan"],"summary":"Attempts to stop a scan with given ID","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Scan was successfully stopped"},"204":{"description":"Scan has already finished"},"404":{"description":"Scan with provided ID doesn't exist","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Scan with provided ID cannot be stopped","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/settings/smb":{"get":{"tags":["Smb"],"summary":"Returns current SMB monitoring configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current SMB monitoring configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmbConfigurationResponse"}}}}}},"put":{"tags":["Smb"],"summary":"Updates SMB monitoring configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/SmbConfigurationRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/SmbConfigurationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/SmbConfigurationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/SmbConfigurationRequest"}}}},"responses":{"200":{"description":"Updated SMB monitoring configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmbConfigurationResponse"}}}},"400":{"description":"Request validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/settings/threshold":{"put":{"tags":["Threshold"],"summary":"Update threshold configuration.","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/UpdateThresholdConfigurationRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/UpdateThresholdConfigurationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/UpdateThresholdConfigurationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UpdateThresholdConfigurationRequest"}}}},"responses":{"200":{"description":"Updated threshold configuration","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ThresholdConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ThresholdConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ThresholdConfigurationResponse"}}}},"400":{"description":"Request validation failed","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}},"get":{"tags":["Threshold"],"summary":"Get current threshold configuration.","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current threshold configuration","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ThresholdConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/ThresholdConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/ThresholdConfigurationResponse"}}}}}}},"/settings/timezone":{"get":{"tags":["TimeZoneConfiguration"],"summary":"Returns current timezone configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current timezone configuration","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/TimeZoneConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/TimeZoneConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/TimeZoneConfigurationResponse"}}}}}},"put":{"tags":["TimeZoneConfiguration"],"summary":"Updates timezone configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/TimeZoneConfigurationUpdateRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/TimeZoneConfigurationUpdateRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/TimeZoneConfigurationUpdateRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/TimeZoneConfigurationUpdateRequest"}}}},"responses":{"204":{"description":"Configuration was successfully updated"},"400":{"description":"Bad request was sent","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/settings/available-timezones":{"get":{"tags":["TimeZoneConfiguration"],"summary":"Returns information about all timezones defined in the system that agent is operating on","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TimeZoneResponse"}}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TimeZoneResponse"}}},"text/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TimeZoneResponse"}}}}},"204":{"description":"List of all known timezones"}}}},"/settings/yara":{"get":{"tags":["Yara"],"summary":"Get current YARA analysis configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current configuration","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/YaraConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/YaraConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/YaraConfigurationResponse"}}}}}},"put":{"tags":["Yara"],"summary":"Update YARA analysis configuration","parameters":[{"name":"api-version","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/YaraConfigurationRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/YaraConfigurationRequest"}},"text/json":{"schema":{"$ref":"#/components/schemas/YaraConfigurationRequest"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/YaraConfigurationRequest"}}}},"responses":{"200":{"description":"Updated configuration","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/YaraConfigurationResponse"}},"application/json":{"schema":{"$ref":"#/components/schemas/YaraConfigurationResponse"}},"text/json":{"schema":{"$ref":"#/components/schemas/YaraConfigurationResponse"}}}},"400":{"description":"Bad request was sent","content":{"text/plain":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"application/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}},"text/json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}}}}},"/metrics":{"get":{"tags":["Telemetry"],"summary":"Get OpenTelemetry metrics of the Agent as a Prometheus log","description":"","operationId":"GetTelemetry","responses":{"200":{"description":"Success"}},"security":[{"bearerAuth":[]}]}},"/health":{"get":{"tags":["Telemetry"],"summary":"Get Agent's healtcheck","description":"","operationId":"GetHealthCheck","responses":{"200":{"description":"Success"}},"security":[{"bearerAuth":[]}]}}},"components":{"schemas":{"AffectedFileResponse":{"required":["firstModificationTime","modification","mostRecentPath","originalPath"],"type":"object","properties":{"originalPath":{"minLength":1,"type":"string","description":"Path to affected file before the incident started"},"mostRecentPath":{"minLength":1,"type":"string","description":"Last registered path to affected file"},"firstModificationTime":{"type":"string","description":"Time of the first suspicious modification of this affected file","format":"date-time"},"modification":{"$ref":"#/components/schemas/LookupItem"}},"additionalProperties":false,"description":"Affected file response item"},"AgentTagCreationRequest":{"required":["tag"],"type":"object","properties":{"tag":{"maxLength":250,"minLength":1,"type":"string"}},"additionalProperties":false},"AgentTagResponse":{"required":["createdAt","id","tag"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"tag":{"minLength":1,"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"BlockListInfo":{"required":["fileGroupCount","lastUpdated"],"type":"object","properties":{"lastUpdated":{"type":"string","description":"A timestamp which indicates when the block list was last updated","format":"date-time"},"fileGroupCount":{"type":"integer","description":"Count of pattern/file groups","format":"int64"}},"additionalProperties":false},"BlockListReplacementRequest":{"required":["filters","lastUpdated"],"type":"object","properties":{"lastUpdated":{"type":"string","description":"The timestamp which will be set as the 'last update time' for the block list","format":"date-time"},"filters":{"type":"array","items":{"type":"string"},"description":"Collection of path filters","example":["*.exe"]}},"additionalProperties":false},"ChangePasswordRequest":{"required":["newPassword"],"type":"object","properties":{"newPassword":{"maxLength":20000,"minLength":5,"type":"string"}},"additionalProperties":false},"CreateExcludedPathRequest":{"required":["path"],"type":"object","properties":{"path":{"minLength":1,"type":"string","description":"Path to exclude"},"user":{"type":"string","description":"Username for which the path should be excluded from monitoring","nullable":true}},"additionalProperties":false},"CreateHoneypotConfigurationEntryRequest":{"required":["placementPath"],"type":"object","properties":{"placementPath":{"minLength":1,"type":"string","description":"A set of placement paths"}},"additionalProperties":false},"CreateIncludedPathRequest":{"required":["path"],"type":"object","properties":{"path":{"minLength":1,"type":"string","description":"Path to include"},"user":{"type":"string","description":"Username for which the path should be included in file event reports","nullable":true}},"additionalProperties":false},"EntropyCheck":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates if the entropy check is enabled"},"maxCheckAttempts":{"maximum":1000,"minimum":1,"type":"integer","description":"Maximum number of files that will be opened in the attempt to check their header entropy","format":"int32"}},"additionalProperties":false},"ErrorResponse":{"required":["code","message"],"type":"object","properties":{"code":{"minLength":1,"type":"string"},"message":{"minLength":1,"type":"string"}},"additionalProperties":false},"EventCollectionResponse":{"required":["events","numberOfItems"],"type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/EventItemResponse"}},"nextRequestCursor":{"type":"string","nullable":true},"numberOfItems":{"type":"integer","format":"int32"}},"additionalProperties":false},"EventItemResponse":{"required":["filename","insertionTimeStamp","occurrenceTimeStamp","pid","type","username"],"type":"object","properties":{"filename":{"minLength":1,"type":"string","description":"Current file name"},"oldFilename":{"type":"string","description":"Original file name if the event represents a rename operation, or `null` otherwise","nullable":true},"occurrenceTimeStamp":{"type":"string","description":"A timestamp that indicates when the event occurred","format":"date-time"},"insertionTimeStamp":{"type":"string","description":"A timestamp that indicates when the event was saved","format":"date-time"},"type":{"$ref":"#/components/schemas/LookupItem"},"username":{"minLength":1,"type":"string","description":"User which triggered the event"},"pid":{"type":"integer","description":"Process identifier which triggered the event","format":"int64"},"networkUsername":{"type":"string","description":"Network username of the user that triggered the event","nullable":true}},"additionalProperties":false},"ExcludedPathResponse":{"required":["id","path"],"type":"object","properties":{"id":{"type":"string","description":"Excluded path identifier","format":"uuid"},"path":{"minLength":1,"type":"string","description":"Path to exclude"},"user":{"type":"string","description":"Username for which the path should be excluded from monitoring","nullable":true}},"additionalProperties":false,"description":"Represents a path at which file system events will be ignored"},"ExcludedPathsCollectionResponse":{"required":["paths"],"type":"object","properties":{"paths":{"type":"array","items":{"$ref":"#/components/schemas/ExcludedPathResponse"},"description":"A collection of excluded paths"}},"additionalProperties":false,"description":"A list of paths at which events will be ignored by agent"},"FileEventReportConfigurationRequest":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false},"FileEventReportConfigurationResponse":{"required":["enabled","scheduledHours"],"type":"object","properties":{"enabled":{"type":"boolean"},"scheduledHours":{"type":"array","items":{"type":"string","format":"time"}}},"additionalProperties":false},"FileIntegrityConfigurationResponse":{"required":["enabled","paths"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates if the file integrity strategy is enabled"},"paths":{"type":"array","items":{"$ref":"#/components/schemas/FileIntegrityPathResponse"},"description":"List of monitored paths"}},"additionalProperties":false,"description":"File integrity strategy configuration"},"FileIntegrityConfigurationUpdateRequest":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates if the file integrity strategy is enabled"}},"additionalProperties":false,"description":"Updates file integrity strategy configuration"},"FileIntegrityPathCreationRequest":{"required":["checkFileContents","prefix"],"type":"object","properties":{"prefix":{"minLength":1,"type":"string","description":"Path prefix to monitor"},"checkFileContents":{"type":"boolean","description":"Indicates if the file contents are checked to reduce number of false positives"}},"additionalProperties":false,"description":"Request to add new monitored path to file integrity configuration"},"FileIntegrityPathResponse":{"required":["checkFileContents","id","prefix"],"type":"object","properties":{"id":{"type":"string","description":"ID of monitored path","format":"uuid"},"prefix":{"minLength":1,"type":"string","description":"Monitored path prefix"},"checkFileContents":{"type":"boolean","description":"Indicates if the file contents are checked to reduce number of false positives"}},"additionalProperties":false,"description":"Monitored path details"},"FileIntegrityPathUpdateRequest":{"required":["checkFileContents"],"type":"object","properties":{"checkFileContents":{"type":"boolean","description":"Indicates if the file contents are checked to reduce number of false positives"}},"additionalProperties":false},"FileSystemEventConfigurationResponse":{"required":["incidentDetection","queryingDelay","savingDelay"],"type":"object","properties":{"queryingDelay":{"type":"string","description":"Controls the frequency of the execution of queries that access file system events, like all detection strategies","format":"date-span"},"savingDelay":{"type":"string","description":"Indicates how often the events are saved to the database","format":"date-span"},"incidentDetection":{"$ref":"#/components/schemas/IncidentConfigurationResponse"}},"additionalProperties":false},"HoneypotConfigurationResponse":{"required":["placementPaths","sourcePath"],"type":"object","properties":{"sourcePath":{"minLength":1,"type":"string","description":"Honeypot files source path"},"placementPaths":{"type":"array","items":{"type":"string"},"description":"File placement path collection"}},"additionalProperties":false},"IncidentConfigurationResponse":{"required":["enabled","inactivityPeriod","yaraAnalysisEnabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates if security incident detection is enabled"},"yaraAnalysisEnabled":{"type":"boolean","description":"Indicates if security incident detection uses YARA rules"},"inactivityPeriod":{"type":"string","description":"A period of inactivity after which incidents will be closed","format":"date-span"}},"additionalProperties":false,"description":"Security incident detection configuration update response"},"IncidentItemResponse":{"required":["end","id","start","user"],"type":"object","properties":{"id":{"type":"string","description":"Identifier of the incident","format":"uuid"},"user":{"minLength":1,"type":"string","description":"User for whom the incident was opened"},"start":{"type":"string","description":"Incident start time","format":"date-time"},"end":{"type":"string","description":"Incident end time, or `null` if it is still ongoing","format":"date-time","nullable":true}},"additionalProperties":false,"description":"Security incident response item"},"IncludedPathResponse":{"required":["id","path"],"type":"object","properties":{"id":{"type":"string","description":"Included path identifier","format":"uuid"},"path":{"minLength":1,"type":"string","description":"Path to include"},"user":{"type":"string","description":"Username for which the path should be included in file event reports","nullable":true}},"additionalProperties":false,"description":"Represents a path at which file system events will be tracked by file event reports"},"LookupItem":{"required":["id","name"],"type":"object","properties":{"id":{"type":"integer","description":"ID of returned value","format":"int32"},"name":{"minLength":1,"type":"string","description":"Descriptive name of this value"}},"additionalProperties":false,"description":"Represents enumeration values, defined by ID and name"},"MagicNumberCheck":{"required":["enabled","filesChecked"],"type":"object","properties":{"enabled":{"type":"boolean"},"filesChecked":{"maximum":100,"minimum":1,"type":"integer","format":"int32"}},"additionalProperties":false,"description":"Indicates if magic number check is enabled and how many files per user are checked"},"ProblemDetails":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}},"RegistrationRequest":{"required":["api_key_secret","instance_id","key_id","server_address"],"type":"object","properties":{"instance_id":{"type":"string","description":"Agent instance identifier","format":"uuid"},"server_address":{"minLength":1,"type":"string","description":"The Guard Mode management server address/host"},"key_id":{"type":"string","description":"API key identifier","format":"uuid"},"api_key_secret":{"minLength":1,"type":"string","description":"API key secret"}},"additionalProperties":false,"description":"A request that registers an agent with a management server"},"RegistrationResponse":{"required":["fqdn"],"type":"object","properties":{"fqdn":{"minLength":1,"type":"string","description":"Fully qualified domain name of the registered agent"},"operatingSystem":{"type":"string","description":"Agent's operating system","nullable":true}},"additionalProperties":false,"description":"Successful agent registration response"},"ResourceListEntryReplacementRequest":{"required":["pattern"],"type":"object","properties":{"pattern":{"minLength":1,"type":"string","description":"File path pattern"}},"additionalProperties":false},"ResourceListReplacementRequest":{"required":["filters"],"type":"object","properties":{"filters":{"type":"array","items":{"type":"string"},"description":"Collection of path filters","example":["*.exe"]}},"additionalProperties":false},"ScanRequest":{"required":["checkBlockListPatterns","paths"],"type":"object","properties":{"paths":{"type":"array","items":{"type":"string"},"description":"Paths that will be recursively scanned"},"checkBlockListPatterns":{"type":"boolean","description":"Indicates if file names found during scan should be analyzed to find files with names often used by ransomware"},"checkYaraRules":{"type":"boolean","description":"Indicates if files should be scanned using YARA rules"},"sendAlerts":{"type":"boolean","description":"If true, Agent will raise alert on suspicious file found"},"rootMountPoints":{"type":"array","items":{"type":"string"},"description":"If present, causes exclusions to work as if filesystem root was at each of provided paths","nullable":true}},"additionalProperties":false,"description":"Scan creation request"},"ScanResponse":{"required":["endedAt","id","lastScannedPath","pathsToScan","scannedFilesCount","startedAt","state","suspiciousFilesCount"],"type":"object","properties":{"id":{"type":"string","description":"Identifier of the scan","format":"uuid"},"startedAt":{"type":"string","description":"Scan start time","format":"date-time"},"endedAt":{"type":"string","description":"Scan end time if it has ended, or `null` otherwise","format":"date-time","nullable":true},"lastScannedPath":{"type":"string","description":"Last file path scanned by this scan, or `null` if no files were scanned yet","nullable":true},"scannedFilesCount":{"type":"integer","description":"Number of files that were scanned","format":"int32"},"suspiciousFilesCount":{"type":"integer","description":"Number of suspicious files found","format":"int32"},"state":{"$ref":"#/components/schemas/LookupItem"},"pathsToScan":{"type":"array","items":{"$ref":"#/components/schemas/ScannedPathResponse"},"description":"Paths requested by the user to be scanned"}},"additionalProperties":false,"description":"File system scan"},"ScannedPathResponse":{"type":"object","properties":{"value":{"type":"string","description":"Actual file path","nullable":true},"errorMessage":{"type":"string","description":"An error message that is present if the path cannot be processed","nullable":true}},"additionalProperties":false,"description":"Path requested to be scanned"},"ScheduledHourRequest":{"required":["hour"],"type":"object","properties":{"hour":{"type":"string","format":"time"}},"additionalProperties":false},"SkipListResponse":{"required":["filters"],"type":"object","properties":{"filters":{"type":"array","items":{"$ref":"#/components/schemas/SkipListResponseItem"},"description":"List of skip list filter patterns"}},"additionalProperties":false,"description":"Skip list filters"},"SkipListResponseItem":{"required":["createdDate","id","pattern"],"type":"object","properties":{"id":{"type":"string","description":"Pattern identifier","format":"uuid"},"createdDate":{"type":"string","description":"Creation date of the pattern","format":"date-time"},"pattern":{"minLength":1,"type":"string","description":"Skip list pattern"}},"additionalProperties":false,"description":"Single skip list item in a filter collection"},"SmbConfigurationRequest":{"required":["enabled","listener","message"],"type":"object","properties":{"enabled":{"type":"boolean"},"message":{"$ref":"#/components/schemas/SmbParserConfigurationRequest"},"listener":{"$ref":"#/components/schemas/SmbListenerConfigurationRequest"}},"additionalProperties":false},"SmbConfigurationResponse":{"required":["enabled","listener","message"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates whether the SMB listener is enabled or disabled"},"message":{"$ref":"#/components/schemas/SmbParserConfigurationResponse"},"listener":{"$ref":"#/components/schemas/SmbListenerConfigurationResponse"}},"additionalProperties":false},"SmbListenerConfigurationRequest":{"required":["endMarker","port"],"type":"object","properties":{"port":{"maximum":65535,"minimum":1,"type":"integer","format":"int32"},"endMarker":{"type":"string"}},"additionalProperties":false},"SmbListenerConfigurationResponse":{"required":["endMarker"],"type":"object","properties":{"port":{"maximum":65535,"minimum":1,"type":"integer","description":"TCP port at which SMB listener is waiting for connections","format":"int32","nullable":true},"endMarker":{"minLength":1,"type":"string","description":"End of message marker"}},"additionalProperties":false},"SmbParserConfigurationRequest":{"required":["template"],"type":"object","properties":{"template":{"minLength":1,"type":"string"}},"additionalProperties":false},"SmbParserConfigurationResponse":{"required":["separator","template"],"type":"object","properties":{"separator":{"minLength":1,"type":"string","readOnly":true,"deprecated":true},"template":{"minLength":1,"type":"string","description":"Message template"}},"additionalProperties":false},"ThresholdConfigurationResponse":{"required":["entropyCheck","magicNumberCheck","numberOfBuckets","pointsLimit","riskWeights","writesPerSecond","yaraCheck"],"type":"object","properties":{"entropyCheck":{"$ref":"#/components/schemas/EntropyCheck"},"magicNumberCheck":{"$ref":"#/components/schemas/MagicNumberCheck"},"yaraCheck":{"$ref":"#/components/schemas/YaraConfigResponse"},"numberOfBuckets":{"type":"integer","description":"Number of threshold buckets","format":"int32"},"pointsLimit":{"type":"integer","description":"Limit of data points to analyze","format":"int32"},"writesPerSecond":{"$ref":"#/components/schemas/ThresholdLevel"},"riskWeights":{"$ref":"#/components/schemas/ThresholdLevel"}},"additionalProperties":false},"ThresholdLevel":{"required":["high","low","medium"],"type":"object","properties":{"high":{"maximum":1000,"minimum":0,"type":"integer","format":"int32"},"medium":{"maximum":1000,"minimum":0,"type":"integer","format":"int32"},"low":{"maximum":1000,"minimum":0,"type":"integer","format":"int32"}},"additionalProperties":false,"description":"Indicates the threshold levels of a given setting"},"TimeZoneConfigurationResponse":{"required":["timeZone"],"type":"object","properties":{"timeZone":{"$ref":"#/components/schemas/TimeZoneResponse"}},"additionalProperties":false,"description":"Timezone configuration"},"TimeZoneConfigurationUpdateRequest":{"required":["timeZone"],"type":"object","properties":{"timeZone":{"minLength":1,"type":"string","description":"ID of a timezone that will be set"}},"additionalProperties":false,"description":"Timezone configuration update request"},"TimeZoneResponse":{"required":["id","offset"],"type":"object","properties":{"id":{"minLength":1,"type":"string","description":"Timezone ID that can be used set this timezone in configuration"},"offset":{"type":"string","description":"Base UTC offset of this timezone (current offset might be different, depending on daylight saving time, etc.)","format":"date-span"}},"additionalProperties":false,"description":"Timezone information"},"UpdateFileSystemEventsConfigurationRequest":{"required":["queryingDelay","savingDelay"],"type":"object","properties":{"queryingDelay":{"type":"string","format":"date-span"},"savingDelay":{"type":"string","format":"date-span"}},"additionalProperties":false},"UpdateHoneypotConfigurationRequest":{"required":["placementPaths"],"type":"object","properties":{"placementPaths":{"uniqueItems":true,"type":"array","items":{"type":"string"},"description":"A set of placement paths"},"sourcePath":{"type":"string","description":"Source path honeypot files","nullable":true}},"additionalProperties":false},"UpdateThresholdConfigurationRequest":{"required":["entropyCheck","numberOfBuckets","pointsLimit","riskWeights","writesPerSecond"],"type":"object","properties":{"entropyCheck":{"$ref":"#/components/schemas/EntropyCheck"},"magicNumberCheck":{"$ref":"#/components/schemas/MagicNumberCheck"},"yaraCheck":{"$ref":"#/components/schemas/YaraConfigRequest"},"numberOfBuckets":{"maximum":1000,"minimum":0,"type":"integer","description":"Number of threshold buckets","format":"int32"},"pointsLimit":{"maximum":1000,"minimum":0,"type":"integer","description":"Limit of data points to analyze","format":"int32"},"writesPerSecond":{"$ref":"#/components/schemas/ThresholdLevel"},"riskWeights":{"$ref":"#/components/schemas/ThresholdLevel"}},"additionalProperties":false},"ValidationProblemDetails":{"type":"object","properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"nullable":true},"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}},"YaraConfigRequest":{"required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates if YARA check is enabled"}},"additionalProperties":false},"YaraConfigResponse":{"required":["isEnabled"],"type":"object","properties":{"isEnabled":{"type":"boolean","description":"Indicates if YARA check is enabled"}},"additionalProperties":false},"YaraConfigurationRequest":{"required":["fileIntegrity","incidents","scans","threshold"],"type":"object","properties":{"scans":{"$ref":"#/components/schemas/YaraRuleSourceConfigurationRequest"},"threshold":{"$ref":"#/components/schemas/YaraRuleSourceConfigurationRequest"},"fileIntegrity":{"$ref":"#/components/schemas/YaraRuleSourceConfigurationRequest"},"incidents":{"$ref":"#/components/schemas/YaraRuleSourceConfigurationRequest"}},"additionalProperties":false},"YaraConfigurationResponse":{"required":["fileIntegrity","incidents","scans","threshold"],"type":"object","properties":{"scans":{"$ref":"#/components/schemas/YaraRuleSourceConfigurationResponse"},"threshold":{"$ref":"#/components/schemas/YaraRuleSourceConfigurationResponse"},"fileIntegrity":{"$ref":"#/components/schemas/YaraRuleSourceConfigurationResponse"},"incidents":{"$ref":"#/components/schemas/YaraRuleSourceConfigurationResponse"}},"additionalProperties":false},"YaraRuleSourceConfigurationRequest":{"required":["maxFileSizeInBytes","rulesPath"],"type":"object","properties":{"rulesPath":{"minLength":1,"type":"string","description":"Path to directory containing rules"},"maxFileSizeInBytes":{"minimum":1,"type":"integer","description":"File size limit in bytes over which YARA analysis will not be performed","format":"int64"}},"additionalProperties":false},"YaraRuleSourceConfigurationResponse":{"required":["maxFileSizeInBytes","rulesPath"],"type":"object","properties":{"rulesPath":{"minLength":1,"type":"string","description":"Path to directory containing rules"},"maxFileSizeInBytes":{"type":"integer","description":"File size limit in bytes over which YARA analysis will not be performed","format":"int64"}},"additionalProperties":false}},"securitySchemes":{"basic":{"type":"http","description":"Basic Authorization header","scheme":"basic"}}},"security":[{"basic":[]}]}