diff --git a/docs/assets/api/openbas.openapi.301.json b/docs/assets/api/openbas.openapi.301.json
new file mode 100644
index 00000000..8842003f
--- /dev/null
+++ b/docs/assets/api/openbas.openapi.301.json
@@ -0,0 +1 @@
+{"openapi":"3.0.1","info":{"title":"OpenBAS API","description":"Software under open source licence designed to plan and conduct exercises","license":{"name":"Apache 2.0","url":"https://filigran.io//"},"version":"1.12.2"},"externalDocs":{"description":"OpenBAS documentation","url":"https://docs.openbas.io/"},"servers":[{"url":"http://localhost:8080","description":"Generated server url"}],"tags":[{"name":"Teams management","description":"Endpoints to manage teams","externalDocs":{"description":"Documentation about teams","url":"https://docs.openbas.io/latest/usage/teams_and_players_and_organizations/#teams"}},{"name":"Tags management","description":"Endpoints to manage tags"},{"name":"Tag rules management","description":"Endpoints to manage TagRules. TagRules are used to automatically add tags to elements depending on rules"},{"name":"Users management","description":"Endpoints to manage users","externalDocs":{"description":"Documentation about users","url":"https://docs.openbas.io/latest/administration/users/"}},{"name":"Settings management","description":"Endpoints to manage settings","externalDocs":{"description":"Documentation about settings","url":"https://docs.openbas.io/latest/administration/parameters/"}}],"paths":{"/api/users/{userId}":{"put":{"tags":["Users management"],"summary":"Update user","description":"Update a user
**Required role :** ***ROLE_ADMIN***","operationId":"updateUser","parameters":[{"name":"userId","in":"path","description":"ID of the user","required":true,"schema":{"type":"string","description":"ID of the user"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The modified user","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}},"delete":{"tags":["Users management"],"summary":"Delete user","description":"Delete a user
**Required role :** ***ROLE_ADMIN***","operationId":"deleteUser","parameters":[{"name":"userId","in":"path","description":"ID of the user","required":true,"schema":{"type":"string","description":"ID of the user"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/users/{userId}/password":{"put":{"tags":["Users management"],"summary":"Change password","description":"Change the password of a user
**Required role :** ***ROLE_ADMIN***","operationId":"changePassword","parameters":[{"name":"userId","in":"path","description":"ID of the user","required":true,"schema":{"type":"string","description":"ID of the user"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The modified user","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/teams/{teamId}":{"get":{"tags":["Teams management"],"summary":"Get team","description":"Get a team
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***
**Special Requirement :** You need to be an admin or an observer to call this endpoint","operationId":"getTeam","parameters":[{"name":"teamId","in":"path","description":"ID of the team","required":true,"schema":{"type":"string","description":"ID of the team"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The team","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Team"}}}}}},"put":{"tags":["Teams management"],"summary":"Update team","description":"Update an existing team
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***
**Special Requirement :** You need to be an admin or a planner to call this endpoint","operationId":"updateTeam","parameters":[{"name":"teamId","in":"path","description":"ID of the team","required":true,"schema":{"type":"string","description":"ID of the team"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The updated team","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Team"}}}}}},"delete":{"tags":["Teams management"],"summary":"Delete team","description":"Delete an existing team
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***
**Special Requirement :** You need to be an admin or a planner to call this endpoint","operationId":"deleteTeam","parameters":[{"name":"teamId","in":"path","description":"ID of the team","required":true,"schema":{"type":"string","description":"ID of the team"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/teams/{teamId}/players":{"get":{"tags":["Teams management"],"summary":"Get team's players","description":"Get the list of players of a team
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***
**Special Requirement :** You need to be an admin or an observer to call this endpoint","operationId":"getTeamPlayers","parameters":[{"name":"teamId","in":"path","description":"ID of the team","required":true,"schema":{"type":"string","description":"ID of the team"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of players of the team","content":{"*/*":{"schema":{"type":"object"}}}}}},"put":{"tags":["Teams management"],"summary":"Update team players","description":"Update the list of users of a team team
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***
**Special Requirement :** You need to be an admin or a planner to call this endpoint","operationId":"updateTeamUsers","parameters":[{"name":"teamId","in":"path","description":"ID of the team","required":true,"schema":{"type":"string","description":"ID of the team"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUsersTeamInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The updated team","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Team"}}}}}}},"/api/tags/{tagId}":{"put":{"tags":["Tags management"],"summary":"Update tag","description":"Update a tag
**Required role :** ***ROLE_ADMIN***","operationId":"updateTag","parameters":[{"name":"tagId","in":"path","description":"ID of the tag","required":true,"schema":{"type":"string","description":"ID of the tag"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The updated tag","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Tag"}}}}}},"delete":{"tags":["Tags management"],"summary":"Delete tag","description":"Delete a tag
**Required role :** ***ROLE_ADMIN***","operationId":"deleteTag","parameters":[{"name":"tagId","in":"path","description":"ID of the tag","required":true,"schema":{"type":"string","description":"ID of the tag"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/tag-rules/{tagRuleId}":{"get":{"tags":["Tag rules management"],"summary":"Get TagRule","description":"Get TagRule by Id
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"findTagRule","parameters":[{"name":"tagRuleId","in":"path","description":"ID of the tag rule","required":true,"schema":{"type":"string","description":"ID of the tag rule"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The TagRule","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TagRuleOutput"}}}}}},"put":{"tags":["Tag rules management"],"summary":"Update TagRule","description":"Tag and Asset Groups needs to exists
**Required role :** ***ROLE_ADMIN***","operationId":"updateTagRule","parameters":[{"name":"tagRuleId","in":"path","description":"ID of the tag rule","required":true,"schema":{"type":"string","description":"ID of the tag rule"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagRuleInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"TagRule, Tag or Asset Group not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"TagRule updated","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TagRuleOutput"}}}}}},"delete":{"tags":["Tag rules management"],"summary":"Delete TagRule","description":"TagRule needs to exists
**Required role :** ***ROLE_ADMIN***","operationId":"deleteTagRule","parameters":[{"name":"tagRuleId","in":"path","description":"ID of the tag rule","required":true,"schema":{"type":"string","description":"ID of the tag rule"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"TagRule not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"TagRule deleted"}}}},"/api/settings":{"get":{"tags":["Settings management"],"summary":"List settings","description":"Return the settings
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"settings","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of settings","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PlatformSettings"}}}}}},"put":{"tags":["Settings management"],"summary":"Update settings","description":"Update the settings
**Required role :** ***ROLE_ADMIN***","operationId":"updateBasicConfigurationSettings","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The updated settings","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PlatformSettings"}}}}}}},"/api/settings/theme/light":{"put":{"tags":["Settings management"],"summary":"Update light theme settings","description":"Update the light theme settings
**Required role :** ***ROLE_ADMIN***","operationId":"updateThemeLight","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The updated settings","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PlatformSettings"}}}}}}},"/api/settings/theme/dark":{"put":{"tags":["Settings management"],"summary":"Update dark theme settings","description":"Update the dark theme settings
**Required role :** ***ROLE_ADMIN***","operationId":"updateThemeDark","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThemeInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The updated settings","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PlatformSettings"}}}}}}},"/api/settings/policies":{"put":{"tags":["Settings management"],"summary":"Update policies settings","description":"Update the policies settings
**Required role :** ***ROLE_ADMIN***","operationId":"updateSettingsPolicies","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The updated settings","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PlatformSettings"}}}}}}},"/api/settings/platform_whitemark":{"put":{"tags":["Settings management"],"summary":"Update Whitemark settings","description":"Update the whitemark settings
**Required role :** ***ROLE_ADMIN***","operationId":"updateSettingsPlatformWhitemark","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsPlatformWhitemarkUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The updated settings","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PlatformSettings"}}}}}}},"/api/settings/enterprise_edition":{"put":{"tags":["Settings management"],"summary":"Update EE settings","description":"Update the enterprise edition settings
**Required role :** ***ROLE_ADMIN***","operationId":"updateSettingsEnterpriseEdition","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingsEnterpriseEditionUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The updated settings","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PlatformSettings"}}}}}}},"/api/security_platforms/{securityPlatformId}":{"get":{"tags":["security-platform-api"],"operationId":"securityPlatform","parameters":[{"name":"securityPlatformId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SecurityPlatform"}}}}}},"put":{"tags":["security-platform-api"],"operationId":"updateSecurityPlatform","parameters":[{"name":"securityPlatformId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityPlatformInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SecurityPlatform"}}}}}},"delete":{"tags":["security-platform-api"],"operationId":"deleteSecurityPlatform","parameters":[{"name":"securityPlatformId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/scenarios/{scenarioId}":{"get":{"tags":["scenario-api"],"operationId":"scenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}},"put":{"tags":["scenario-api"],"operationId":"updateScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateScenarioInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}},"post":{"tags":["scenario-api"],"operationId":"duplicateScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}},"delete":{"tags":["scenario-api"],"operationId":"deleteScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/scenarios/{scenarioId}/variables/{variableId}":{"put":{"tags":["variable-api"],"operationId":"updateVariableForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"variableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Variable"}}}}}},"delete":{"tags":["variable-api"],"operationId":"deleteVariableForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"variableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/scenarios/{scenarioId}/teams/{teamId}/players/remove":{"put":{"tags":["scenario-api"],"operationId":"removeScenarioTeamPlayers","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioTeamPlayersEnableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}}},"/api/scenarios/{scenarioId}/teams/{teamId}/players/enable":{"put":{"tags":["scenario-api"],"operationId":"enableScenarioTeamPlayers","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioTeamPlayersEnableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}}},"/api/scenarios/{scenarioId}/teams/{teamId}/players/disable":{"put":{"tags":["scenario-api"],"operationId":"disableScenarioTeamPlayers","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioTeamPlayersEnableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}}},"/api/scenarios/{scenarioId}/teams/{teamId}/players/add":{"put":{"tags":["scenario-api"],"operationId":"addScenarioTeamPlayers","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioTeamPlayersEnableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}}},"/api/scenarios/{scenarioId}/teams/replace":{"put":{"tags":["scenario-api"],"operationId":"replaceScenarioTeams","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioUpdateTeamsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamOutput"}}}}}}}},"/api/scenarios/{scenarioId}/teams/remove":{"put":{"tags":["scenario-api"],"operationId":"removeScenarioTeams","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioUpdateTeamsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/scenarios/{scenarioId}/tags":{"put":{"tags":["scenario-api"],"operationId":"updateScenarioTags","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioUpdateTagsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}}},"/api/scenarios/{scenarioId}/recurrence":{"put":{"tags":["scenario-api"],"operationId":"updateScenarioRecurrence","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioRecurrenceInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}}},"/api/scenarios/{scenarioId}/objectives/{objectiveId}":{"put":{"tags":["scenario-objective-api"],"operationId":"updateObjective","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"objectiveId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectiveInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Objective"}}}}}},"delete":{"tags":["scenario-objective-api"],"operationId":"deleteObjective","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"objectiveId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/scenarios/{scenarioId}/objectives/{objectiveId}/evaluations/{evaluationId}":{"get":{"tags":["scenario-objective-api"],"operationId":"getEvaluation","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"evaluationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Evaluation"}}}}}},"put":{"tags":["scenario-objective-api"],"operationId":"updateEvaluation","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"objectiveId","in":"path","required":true,"schema":{"type":"string"}},{"name":"evaluationId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Evaluation"}}}}}},"delete":{"tags":["scenario-objective-api"],"operationId":"deleteEvaluation","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"evaluationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/scenarios/{scenarioId}/lessons_categories/{lessonsCategoryId}":{"put":{"tags":["scenario-lessons-api"],"operationId":"updateScenarioLessonsCategory","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsCategoryUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsCategory"}}}}}},"delete":{"tags":["scenario-lessons-api"],"operationId":"deleteScenarioLessonsCategory","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/scenarios/{scenarioId}/lessons_categories/{lessonsCategoryId}/teams":{"put":{"tags":["scenario-lessons-api"],"operationId":"updateScenarioLessonsCategoryTeams","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsCategoryTeamsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsCategory"}}}}}}},"/api/scenarios/{scenarioId}/lessons_categories/{lessonsCategoryId}/lessons_questions/{lessonsQuestionId}":{"put":{"tags":["scenario-lessons-api"],"operationId":"updateScenarioLessonsQuestion","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsQuestionId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsQuestionUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsQuestion"}}}}}},"delete":{"tags":["scenario-lessons-api"],"operationId":"deleteScenarioLessonsQuestion","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsQuestionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/scenarios/{scenarioId}/lessons":{"put":{"tags":["scenario-api"],"operationId":"updateScenarioLessons","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}}},"/api/scenarios/{scenarioId}/injects/{injectId}":{"get":{"tags":["inject-api"],"operationId":"scenarioInject","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}},"put":{"tags":["inject-api"],"operationId":"updateInjectForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}},"post":{"tags":["inject-api"],"operationId":"duplicateInjectForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}},"delete":{"tags":["inject-api"],"operationId":"deleteInjectForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/scenarios/{scenarioId}/injects/{injectId}/activation":{"put":{"tags":["inject-api"],"operationId":"updateInjectActivationForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectUpdateActivationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/scenarios/{scenarioId}/articles/{articleId}":{"put":{"tags":["channel-api"],"operationId":"updateArticleForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"articleId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Article"}}}}}},"delete":{"tags":["channel-api"],"operationId":"deleteArticleForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"articleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/players/{userId}":{"put":{"tags":["player-api"],"operationId":"updatePlayer","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlayerInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}},"delete":{"tags":["player-api"],"operationId":"deletePlayer","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/payloads/{payloadId}":{"get":{"tags":["payload-api"],"operationId":"payload","parameters":[{"name":"payloadId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Payload"}}}}}},"put":{"tags":["payload-api"],"operationId":"updatePayload","parameters":[{"name":"payloadId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Payload"}}}}}},"delete":{"tags":["payload-api"],"operationId":"deletePayload","parameters":[{"name":"payloadId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/organizations/{organizationId}":{"put":{"tags":["organization-api"],"operationId":"updateOrganization","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Organization"}}}}}},"delete":{"tags":["organization-api"],"operationId":"deleteOrganization","parameters":[{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/mitigations/{mitigationId}":{"get":{"tags":["mitigation-api"],"operationId":"mitigation","parameters":[{"name":"mitigationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Mitigation"}}}}}},"put":{"tags":["mitigation-api"],"operationId":"updateMitigation","parameters":[{"name":"mitigationId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MitigationUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Mitigation"}}}}}},"delete":{"tags":["mitigation-api"],"operationId":"deleteMitigation","parameters":[{"name":"mitigationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/me/profile":{"put":{"tags":["me-api"],"operationId":"updateProfile","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/me/password":{"put":{"tags":["me-api"],"operationId":"updatePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMePasswordInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/me/information":{"put":{"tags":["me-api"],"operationId":"updateInformation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserInfoInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/mappers/{mapperId}":{"get":{"tags":["mapper-api"],"operationId":"getImportMapperById","parameters":[{"name":"mapperId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImportMapper"}}}}}},"put":{"tags":["mapper-api"],"operationId":"updateImportMapper","parameters":[{"name":"mapperId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportMapperUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImportMapper"}}}}}},"post":{"tags":["mapper-api"],"summary":"Duplicate XLS mapper by id","operationId":"duplicateMapper","parameters":[{"name":"mapperId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImportMapper"}}}}}},"delete":{"tags":["mapper-api"],"operationId":"deleteImportMapper","parameters":[{"name":"mapperId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/lessons_templates/{lessonsTemplateId}":{"put":{"tags":["lessons-template-api"],"operationId":"updateLessonsTemplate","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsTemplateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsTemplate"}}}}}},"delete":{"tags":["lessons-template-api"],"operationId":"deleteLessonsTemplate","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/lessons_templates/{lessonsTemplateId}/lessons_template_categories/{lessonsTemplateCategoryId}":{"put":{"tags":["lessons-template-api"],"operationId":"updateLessonsTemplateCategory","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsTemplateCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsTemplateCategoryInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsTemplateCategory"}}}}}},"delete":{"tags":["lessons-template-api"],"operationId":"deleteLessonsTemplateCategory","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsTemplateCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/lessons_templates/{lessonsTemplateId}/lessons_template_categories/{lessonsTemplateCategoryId}/lessons_template_questions/{lessonsTemplateQuestionId}":{"put":{"tags":["lessons-template-api"],"operationId":"updateLessonsTemplateQuestion","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsTemplateCategoryId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsTemplateQuestionId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsTemplateQuestionInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsTemplateQuestion"}}}}}},"delete":{"tags":["lessons-template-api"],"operationId":"deleteLessonsTemplateQuestion","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsTemplateCategoryId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsTemplateQuestionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/kill_chain_phases/{killChainPhaseId}":{"get":{"tags":["kill-chain-phase-api"],"operationId":"killChainPhase","parameters":[{"name":"killChainPhaseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/KillChainPhase"}}}}}},"put":{"tags":["kill-chain-phase-api"],"operationId":"updateKillChainPhase","parameters":[{"name":"killChainPhaseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KillChainPhaseUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/KillChainPhase"}}}}}},"delete":{"tags":["kill-chain-phase-api"],"operationId":"deleteKillChainPhase","parameters":[{"name":"killChainPhaseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/injects":{"put":{"tags":["Injects"],"description":"Bulk update of injects","operationId":"bulkUpdateInject","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectBulkUpdateInputs"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Inject"}}}}}}},"delete":{"tags":["injects-api"],"description":"Bulk delete of injects","operationId":"bulkDelete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectBulkProcessingInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Inject"}}}}}}}},"/api/injects/{exerciseId}/{injectId}":{"put":{"tags":["inject-api"],"operationId":"updateInject","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/injects/expectations/{expectationId}":{"put":{"tags":["expectation-api"],"summary":"Update Inject Expectation","description":"Update Inject expectation from an external source, e.g., EDR collector.","operationId":"updateInjectExpectation","parameters":[{"name":"expectationId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectExpectationUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}},"/api/injectors/{injectorId}":{"get":{"tags":["injector-api"],"operationId":"injector","parameters":[{"name":"injectorId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Injector"}}}}}},"put":{"tags":["injector-api"],"operationId":"updateInjector","parameters":[{"name":"injectorId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectorUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Injector"}}}}}}},"/api/injector_contracts/{injectorContractId}":{"get":{"tags":["injector-contract-api"],"operationId":"injectorContract","parameters":[{"name":"injectorContractId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectorContract"}}}}}},"put":{"tags":["injector-contract-api"],"operationId":"updateInjectorContract","parameters":[{"name":"injectorContractId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectorContractUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectorContract"}}}}}},"delete":{"tags":["injector-contract-api"],"operationId":"deleteInjectorContract","parameters":[{"name":"injectorContractId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/injector_contracts/{injectorContractId}/mapping":{"put":{"tags":["injector-contract-api"],"operationId":"updateInjectorContractMapping","parameters":[{"name":"injectorContractId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectorContractUpdateMappingInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectorContract"}}}}}}},"/api/groups/{groupId}/users":{"put":{"tags":["group-api"],"operationId":"updateGroupUsers","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupUpdateUsersInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Group"}}}}}}},"/api/groups/{groupId}/information":{"put":{"tags":["group-api"],"operationId":"updateGroupInformation","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Group"}}}}}}},"/api/findings/{id}":{"get":{"tags":["finding-api"],"operationId":"finding","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Finding"}}}}}},"put":{"tags":["finding-api"],"operationId":"updateFinding","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindingInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Finding"}}}}}},"delete":{"tags":["finding-api"],"operationId":"deleteFinding","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/expectations/{expectationId}":{"put":{"tags":["expectation-api"],"operationId":"updateInjectExpectation_1","parameters":[{"name":"expectationId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExpectationUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}},"/api/expectations/{expectationId}/{sourceId}/delete":{"put":{"tags":["expectation-api"],"operationId":"deleteInjectExpectationResult","parameters":[{"name":"expectationId","in":"path","required":true,"schema":{"type":"string"}},{"name":"sourceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}},"/api/exercises/{exerciseId}":{"get":{"tags":["exercise-api"],"operationId":"exercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SimulationDetails"}}}}}},"put":{"tags":["exercise-api"],"operationId":"updateExerciseInformation","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateExerciseInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}},"post":{"tags":["exercise-api"],"operationId":"duplicateExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}},"delete":{"tags":["exercise-api"],"operationId":"deleteExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/variables/{variableId}":{"put":{"tags":["variable-api"],"operationId":"updateVariableForExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"variableId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Variable"}}}}}},"delete":{"tags":["variable-api"],"operationId":"deleteVariableForExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"variableId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/teams/{teamId}/players/remove":{"put":{"tags":["exercise-api"],"operationId":"removeExerciseTeamPlayers","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseTeamPlayersEnableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/teams/{teamId}/players/enable":{"put":{"tags":["exercise-api"],"operationId":"enableExerciseTeamPlayers","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseTeamPlayersEnableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/teams/{teamId}/players/disable":{"put":{"tags":["exercise-api"],"operationId":"disableExerciseTeamPlayers","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseTeamPlayersEnableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/teams/{teamId}/players/add":{"put":{"tags":["exercise-api"],"operationId":"addExerciseTeamPlayers","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"teamId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseTeamPlayersEnableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/teams/replace":{"put":{"tags":["exercise-api"],"operationId":"replaceExerciseTeams","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseUpdateTeamsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exerciseId}/teams/remove":{"put":{"tags":["exercise-api"],"operationId":"removeExerciseTeams","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseUpdateTeamsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exerciseId}/tags":{"put":{"tags":["exercise-api"],"operationId":"updateExerciseTags","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseUpdateTagsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/status":{"put":{"tags":["exercise-api"],"operationId":"changeExerciseStatus","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseUpdateStatusInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/start_date":{"put":{"tags":["exercise-api"],"operationId":"updateExerciseStart","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseUpdateStartDateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/reports/{reportId}":{"put":{"tags":["report-api"],"operationId":"updateExerciseReport","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"reportId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Report"}}}}}},"delete":{"tags":["report-api"],"operationId":"deleteExerciseReport","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"reportId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/reports/{reportId}/inject-comments":{"put":{"tags":["report-api"],"operationId":"updateReportInjectComment","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"reportId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportInjectCommentInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Report"}}}}}}},"/api/exercises/{exerciseId}/objectives/{objectiveId}":{"put":{"tags":["exercise-objective-api"],"operationId":"updateObjective_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"objectiveId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectiveInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Objective"}}}}}},"delete":{"tags":["exercise-objective-api"],"operationId":"deleteObjective_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"objectiveId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/objectives/{objectiveId}/evaluations/{evaluationId}":{"get":{"tags":["exercise-objective-api"],"operationId":"getEvaluation_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"evaluationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Evaluation"}}}}}},"put":{"tags":["exercise-objective-api"],"operationId":"updateEvaluation_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"objectiveId","in":"path","required":true,"schema":{"type":"string"}},{"name":"evaluationId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Evaluation"}}}}}},"delete":{"tags":["exercise-objective-api"],"operationId":"deleteEvaluation_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"evaluationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/logs/{logId}":{"put":{"tags":["exercise-api"],"operationId":"updateLog","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"logId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Log"}}}}}},"delete":{"tags":["exercise-api"],"operationId":"deleteLog","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"logId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/logos":{"put":{"tags":["exercise-api"],"operationId":"updateExerciseLogos","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseUpdateLogoInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/lessons_categories/{lessonsCategoryId}":{"put":{"tags":["exercise-lessons-api"],"operationId":"updateExerciseLessonsCategory","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsCategoryUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsCategory"}}}}}},"delete":{"tags":["exercise-lessons-api"],"operationId":"deleteExerciseLessonsCategory","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/lessons_categories/{lessonsCategoryId}/teams":{"put":{"tags":["exercise-lessons-api"],"operationId":"updateExerciseLessonsCategoryTeams","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsCategoryTeamsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsCategory"}}}}}}},"/api/exercises/{exerciseId}/lessons_categories/{lessonsCategoryId}/lessons_questions/{lessonsQuestionId}":{"put":{"tags":["exercise-lessons-api"],"operationId":"updateExerciseLessonsQuestion","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsQuestionId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsQuestionUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsQuestion"}}}}}},"delete":{"tags":["exercise-lessons-api"],"operationId":"deleteExerciseLessonsQuestion","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsQuestionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/lessons":{"put":{"tags":["exercise-api"],"operationId":"updateExerciseLessons","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/injects/{injectId}/trigger":{"put":{"tags":["inject-api"],"operationId":"updateInjectTrigger","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/exercises/{exerciseId}/injects/{injectId}/teams":{"get":{"tags":["inject-api"],"operationId":"exerciseInjectTeams","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"put":{"tags":["inject-api"],"operationId":"updateInjectTeams","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectTeamsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/exercises/{exerciseId}/injects/{injectId}/activation":{"put":{"tags":["inject-api"],"operationId":"updateInjectActivationForExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectUpdateActivationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/exercises/{exerciseId}/articles/{articleId}":{"put":{"tags":["channel-api"],"operationId":"updateArticleForExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"articleId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Article"}}}}}},"delete":{"tags":["channel-api"],"operationId":"deleteArticleForExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"articleId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/executors/{executorId}":{"put":{"tags":["executor-api"],"operationId":"updateExecutor","parameters":[{"name":"executorId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutorUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Executor"}}}}}}},"/api/endpoints/{endpointId}":{"get":{"tags":["endpoint-api"],"operationId":"endpoint","parameters":[{"name":"endpointId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/EndpointOverviewOutput"}}}}}},"put":{"tags":["endpoint-api"],"operationId":"updateEndpoint","parameters":[{"name":"endpointId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/EndpointOverviewOutput"}}}}}},"delete":{"tags":["endpoint-api"],"operationId":"deleteEndpoint","parameters":[{"name":"endpointId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/documents/{documentId}":{"get":{"tags":["document-api"],"operationId":"document","parameters":[{"name":"documentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Document"}}}}}},"put":{"tags":["document-api"],"operationId":"updateDocumentInformation","parameters":[{"name":"documentId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Document"}}}}}},"delete":{"tags":["document-api"],"operationId":"deleteDocument_1","parameters":[{"name":"documentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/documents/{documentId}/tags":{"get":{"tags":["document-api"],"operationId":"documentTags_1","parameters":[{"name":"documentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/Tag"}}}}}}},"put":{"tags":["document-api"],"operationId":"documentTags","parameters":[{"name":"documentId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentTagUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Document"}}}}}}},"/api/collectors/{collectorId}":{"put":{"tags":["collector-api"],"operationId":"updateCollector","parameters":[{"name":"collectorId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectorUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Collector"}}}}}}},"/api/channels/{channelId}":{"get":{"tags":["channel-api"],"operationId":"channel","parameters":[{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Channel"}}}}}},"put":{"tags":["channel-api"],"operationId":"updateChannel","parameters":[{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Channel"}}}}}},"delete":{"tags":["channel-api"],"operationId":"deleteChannel","parameters":[{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/channels/{channelId}/logos":{"put":{"tags":["channel-api"],"operationId":"updateChannelLogos","parameters":[{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelUpdateLogoInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Channel"}}}}}}},"/api/challenges/{challengeId}":{"put":{"tags":["challenge-api"],"operationId":"updateChallenge","parameters":[{"name":"challengeId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Challenge"}}}}}},"delete":{"tags":["challenge-api"],"operationId":"deleteChallenge","parameters":[{"name":"challengeId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/attack_patterns/{attackPatternId}":{"get":{"tags":["attack-pattern-api"],"operationId":"attackPattern","parameters":[{"name":"attackPatternId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AttackPattern"}}}}}},"put":{"tags":["attack-pattern-api"],"operationId":"updateAttackPattern","parameters":[{"name":"attackPatternId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttackPatternUpdateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AttackPattern"}}}}}},"delete":{"tags":["attack-pattern-api"],"operationId":"deleteAttackPattern","parameters":[{"name":"attackPatternId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/atomic-testings/{injectId}":{"get":{"tags":["atomic-testing-api"],"operationId":"findAtomicTesting","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectResultOverviewOutput"}}}}}},"put":{"tags":["atomic-testing-api"],"operationId":"updateAtomicTesting","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtomicTestingInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectResultOverviewOutput"}}}}}},"delete":{"tags":["atomic-testing-api"],"operationId":"deleteAtomicTesting","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/atomic-testings/{injectId}/tags":{"put":{"tags":["atomic-testing-api"],"operationId":"updateAtomicTestingTags","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtomicTestingUpdateTagsInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectResultOverviewOutput"}}}}}}},"/api/asset_groups/{assetGroupId}":{"get":{"tags":["asset-group-api"],"operationId":"assetGroup","parameters":[{"name":"assetGroupId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AssetGroup"}}}}}},"put":{"tags":["asset-group-api"],"operationId":"updateAssetGroup","parameters":[{"name":"assetGroupId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetGroupInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AssetGroup"}}}}}},"delete":{"tags":["asset-group-api"],"operationId":"deleteAssetGroup","parameters":[{"name":"assetGroupId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/asset_groups/{assetGroupId}/assets":{"put":{"tags":["asset-group-api"],"operationId":"updateAssetsOnAssetGroup","parameters":[{"name":"assetGroupId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAssetsOnAssetGroupInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AssetGroup"}}}}}}},"/api/users":{"get":{"tags":["Users management"],"summary":"List users","description":"List all the users
**Required role :** ***ROLE_ADMIN***","operationId":"users_2","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of users","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RawUser"}}}}}}},"post":{"tags":["Users management"],"summary":"Create user","description":"Create a new user
**Required role :** ***ROLE_ADMIN***","operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The new user","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/users/search":{"post":{"tags":["Users management"],"summary":"Search users","description":"Search the users corresponding to the criteria
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"users","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of users","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageUserOutput"}}}}}}},"/api/users/find":{"post":{"tags":["Users management"],"summary":"Find users","description":"Find a list of users based on their ids
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"findUsers","requestBody":{"content":{"application/json":{"schema":{"type":"array","description":"List of ids","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of users","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserOutput"}}}}}}}},"/api/teams":{"get":{"tags":["Teams management"],"summary":"List teams","description":"Return the teams
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***
**Special Requirement :** You need to be an admin or an observer to call this endpoint","operationId":"getTeams","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of teams","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["Teams management"],"summary":"Create team","description":"Create a new team
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***
**Special Requirement :** You need to be an admin or a planner to call this endpoint","operationId":"createTeam","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The created team","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Team"}}}}}}},"/api/teams/upsert":{"post":{"tags":["Teams management"],"summary":"Upsert team","description":"Create a new team or update an existing team
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***
**Special Requirement :** You need to be an admin or a planner to call this endpoint","operationId":"upsertTeam","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The created/updated team","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Team"}}}}}}},"/api/teams/search":{"post":{"tags":["Teams management"],"summary":"Search teams","description":"Search the teams corresponding to the criteria
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***
**Special Requirement :** You need to be an admin or an observer to call this endpoint","operationId":"searchTeams","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of teams","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageTeamOutput"}}}}}}},"/api/teams/options":{"get":{"tags":["Teams management"],"description":"**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"optionsByName","parameters":[{"name":"searchText","in":"query","required":false,"schema":{"type":"string"}},{"name":"simulationOrScenarioId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}},"post":{"tags":["Teams management"],"description":"**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"optionsById","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}}},"/api/teams/find":{"post":{"tags":["Teams management"],"summary":"Find teams","description":"Find a list of teams based on their ids
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***
**Special Requirement :** You need to be an admin or an observer to call this endpoint","operationId":"findTeams","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of teams","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamOutput"}}}}}}}},"/api/tags":{"get":{"tags":["Tags management"],"summary":"Get tags","description":"Get the list of tags
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"tags_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"All the existing tags","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["Tags management"],"summary":"Create tag","description":"Create a tag
**Required role :** ***ROLE_ADMIN***","operationId":"createTag","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The created tag","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Tag"}}}}}}},"/api/tags/upsert":{"post":{"tags":["Tags management"],"summary":"Upsert tag","description":"Upsert a tag
**Required role :** ***ROLE_ADMIN***","operationId":"upsertTag","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The upserted tag","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Tag"}}}}}}},"/api/tags/search":{"post":{"tags":["Tags management"],"summary":"Search tags","description":"Search tags corresponding to the criteria
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"tags","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"All the existing tags corresponding to the search criteria","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageTag"}}}}}}},"/api/tags/options":{"get":{"tags":["Tags management"],"summary":"Search tags by text","description":"Get a list of tag IDs and labels corresponding to the text search
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"optionsByName_1","parameters":[{"name":"searchText","in":"query","description":"Search text","required":false,"schema":{"type":"string","description":"Search text"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of tags corresponding","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}},"post":{"tags":["Tags management"],"summary":"Search tags by ids","description":"Get a list of tag IDs and labels corresponding to a list of IDs
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"optionsById_1","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of tags corresponding","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}}},"/api/tag-rules":{"get":{"tags":["Tag rules management"],"summary":"Get TagRules","description":"Get All TagRules
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"tags_2","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of all TagRules","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TagRuleOutput"}}}}}}},"post":{"tags":["Tag rules management"],"summary":"Create TagRule","description":"Tag and Asset Groups needs to exists
**Required role :** ***ROLE_ADMIN***","operationId":"createTagRule","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TagRuleInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Tag or Asset Group not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"TagRule created","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TagRuleOutput"}}}}}}},"/api/tag-rules/search":{"post":{"tags":["Tag rules management"],"summary":"Search TagRules","description":"Search TagRules corresponding to search criteria
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"searchTagRules","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The list of all TagRules corresponding to the search criteria","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageTagRuleOutput"}}}}}}},"/api/security_platforms":{"get":{"tags":["security-platform-api"],"operationId":"securityPlatforms_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["security-platform-api"],"operationId":"createSecurityPlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityPlatformInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SecurityPlatform"}}}}}}},"/api/security_platforms/upsert":{"post":{"tags":["security-platform-api"],"operationId":"upsertSecurityPlatform","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SecurityPlatformUpsertInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SecurityPlatform"}}}}}}},"/api/security_platforms/search":{"post":{"tags":["security-platform-api"],"operationId":"securityPlatforms","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageSecurityPlatform"}}}}}}},"/api/schemas/{className}":{"post":{"tags":["schema-api"],"operationId":"schemas","parameters":[{"name":"className","in":"path","required":true,"schema":{"type":"string"}},{"name":"filterableOnly","in":"query","required":true,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PropertySchemaDTO"}}}}}}}},"/api/scenarios":{"get":{"tags":["scenario-api"],"operationId":"scenarios_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScenarioSimple"}}}}}}},"post":{"tags":["scenario-api"],"operationId":"createScenario","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Scenario"}}}}}}},"/api/scenarios/{scenarioId}/xls/{importId}/import":{"post":{"tags":["scenario-import-api"],"summary":"Validate and import injects from an xls file","operationId":"validateImportXLSFile","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"importId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectsImportInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImportTestSummary"}}}}}}},"/api/scenarios/{scenarioId}/xls/{importId}/dry":{"post":{"tags":["scenario-import-api"],"summary":"Test the import of injects from an xls file","operationId":"dryRunImportXLSFile","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"importId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectsImportInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImportTestSummary"}}}}}}},"/api/scenarios/{scenarioId}/variables":{"get":{"tags":["variable-api"],"operationId":"variablesFromScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["variable-api"],"operationId":"createVariableForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Variable"}}}}}}},"/api/scenarios/{scenarioId}/teams/search":{"post":{"tags":["scenario-team-api"],"operationId":"teams","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"contextualOnly","in":"query","required":true,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageTeamOutput"}}}}}}},"/api/scenarios/{scenarioId}/objectives":{"get":{"tags":["scenario-objective-api"],"operationId":"getMainObjectives","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["scenario-objective-api"],"operationId":"createObjective","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectiveInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Objective"}}}}}}},"/api/scenarios/{scenarioId}/objectives/{objectiveId}/evaluations":{"get":{"tags":["scenario-objective-api"],"operationId":"getEvaluations","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"objectiveId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["scenario-objective-api"],"operationId":"createEvaluation","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"objectiveId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Evaluation"}}}}}}},"/api/scenarios/{scenarioId}/lessons_empty":{"post":{"tags":["scenario-lessons-api"],"operationId":"emptyScenarioLessons","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/scenarios/{scenarioId}/lessons_categories":{"get":{"tags":["scenario-lessons-api"],"operationId":"scenarioLessonsCategories","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["scenario-lessons-api"],"operationId":"createScenarioLessonsCategory","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsCategoryCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsCategory"}}}}}}},"/api/scenarios/{scenarioId}/lessons_categories/{lessonsCategoryId}/lessons_questions":{"get":{"tags":["scenario-lessons-api"],"operationId":"scenarioLessonsCategoryQuestions","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["scenario-lessons-api"],"operationId":"createScenarioLessonsQuestion","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsQuestionCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsQuestion"}}}}}}},"/api/scenarios/{scenarioId}/lessons_apply_template/{lessonsTemplateId}":{"post":{"tags":["scenario-lessons-api"],"operationId":"applyScenarioLessonsTemplate","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/scenarios/{scenarioId}/injects":{"get":{"tags":["inject-api"],"operationId":"scenarioInjects","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["inject-api"],"operationId":"createInjectForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/scenarios/{scenarioId}/injects/simple":{"get":{"tags":["scenario-inject-api"],"operationId":"scenarioInjectsSimple_1","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["scenario-inject-api"],"operationId":"scenarioInjectsSimple","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/scenarios/{scenarioId}/exercises/search":{"post":{"tags":["scenario-exercise-api"],"operationId":"scenarioExercises","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/scenarios/{scenarioId}/exercise/running":{"post":{"tags":["scenario-api"],"operationId":"createRunningExerciseFromScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/scenarios/{scenarioId}/check-rules":{"post":{"tags":["scenario-api"],"summary":"Check rules","description":"Check if the rules apply to a scenario update","operationId":"checkIfRuleApplies","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckScenarioRulesInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"Returns whether or not the rules apply","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CheckScenarioRulesOutput"}}}}}}},"/api/scenarios/{scenarioId}/articles":{"get":{"tags":["scenario-article-api"],"operationId":"scenarioArticles","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["channel-api"],"operationId":"createArticleForScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Article"}}}}}}},"/api/scenarios/search":{"post":{"tags":["scenario-api"],"operationId":"scenarios","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageRawPaginationScenario"}}}}}}},"/api/scenarios/options":{"get":{"tags":["scenario-api"],"operationId":"optionsByName_2","parameters":[{"name":"searchText","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}},"post":{"tags":["scenario-api"],"operationId":"optionsById_2","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}}},"/api/scenarios/import":{"post":{"tags":["scenario-api"],"operationId":"importScenario","requestBody":{"content":{"application/json":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}},"required":true},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"422":{"description":"Unprocessable Content","content":{"*/*":{"schema":{"type":"string"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/scenario/{scenarioId}/injects/test":{"post":{"tags":["scenario-inject-api"],"operationId":"findAllScenarioInjectTests","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageInjectTestStatusOutput"}}}}}}},"/api/reset":{"post":{"tags":["Users management"],"summary":"Password reset","description":"Reset the password
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"passwordReset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetUserInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"Mail to reset the password sent","content":{"*/*":{"schema":{"type":"object"}}}},"400":{"description":"The user was not found","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/reset/{token}":{"get":{"tags":["Users management"],"summary":"Check reset token","description":"Validate that the reset token does exist
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"validatePasswordResetToken","parameters":[{"name":"token","in":"path","description":"Token generated during reset","required":true,"schema":{"type":"string","description":"Token generated during reset"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"Mail to reset the password sent","content":{"*/*":{"schema":{"type":"boolean"}}}}}},"post":{"tags":["Users management"],"summary":"Password change","description":"Change the password
**Required role :** ***ROLE_ADMIN*** or ***ROLE_USER***","operationId":"changePasswordReset","parameters":[{"name":"token","in":"path","description":"Token generated during reset","required":true,"schema":{"type":"string","description":"Token generated during reset"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"The password was changed","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/players":{"get":{"tags":["player-api"],"operationId":"players_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["player-api"],"operationId":"createPlayer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlayerInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/players/upsert":{"post":{"tags":["player-api"],"operationId":"upsertPlayer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlayerInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/players/search":{"post":{"tags":["player-api"],"operationId":"players","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagePlayerOutput"}}}}}}},"/api/player/lessons/exercise/{exerciseId}/lessons_categories/{lessonsCategoryId}/lessons_questions/{lessonsQuestionId}/lessons_answers":{"post":{"tags":["exercise-lessons-api"],"operationId":"createExerciseLessonsQuestion","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsQuestionId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsAnswerCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsAnswer"}}}}}}},"/api/player/challenges/{exerciseId}/{challengeId}/validate":{"post":{"tags":["challenge-api"],"operationId":"validateChallenge","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"challengeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeTryInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChallengesReader"}}}}}}},"/api/payloads":{"post":{"tags":["payload-api"],"operationId":"createPayload","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Payload"}}}}}}},"/api/payloads/{payloadId}/duplicate":{"post":{"tags":["payload-api"],"operationId":"duplicatePayload","parameters":[{"name":"payloadId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Payload"}}}}}}},"/api/payloads/upsert":{"post":{"tags":["payload-api"],"operationId":"upsertPayload","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadUpsertInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Payload"}}}}}}},"/api/payloads/search":{"post":{"tags":["payload-api"],"operationId":"payloads","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PagePayload"}}}}}}},"/api/payloads/deprecate":{"post":{"tags":["payload-api"],"operationId":"deprecateNonProcessedPayloadsByCollector","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayloadsDeprecateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/organizations":{"get":{"tags":["organization-api"],"operationId":"organizations","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["organization-api"],"operationId":"createOrganization","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Organization"}}}}}}},"/api/organizations/options":{"get":{"tags":["organization-api"],"operationId":"optionsByName_3","parameters":[{"name":"searchText","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}},"post":{"tags":["organization-api"],"operationId":"optionsById_3","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}}},"/api/mitigations":{"get":{"tags":["mitigation-api"],"operationId":"mitigations_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["mitigation-api"],"operationId":"createMitigation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MitigationCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Mitigation"}}}}}}},"/api/mitigations/upsert":{"post":{"tags":["mitigation-api"],"operationId":"upsertKillChainPhases","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MitigationUpsertInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/mitigations/search":{"post":{"tags":["mitigation-api"],"operationId":"mitigations","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageMitigation"}}}}}}},"/api/me/token/refresh":{"post":{"tags":["me-api"],"operationId":"renewToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenewTokenInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Token"}}}}}}},"/api/mappers":{"post":{"tags":["mapper-api"],"operationId":"createImportMapper","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportMapperAddInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImportMapper"}}}}}}},"/api/mappers/store":{"post":{"tags":["mapper-api"],"summary":"Import injects into an xls file","operationId":"importXLSFile","requestBody":{"content":{"application/json":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImportPostSummary"}}}}}}},"/api/mappers/store/{importId}":{"post":{"tags":["mapper-api"],"summary":"Test the import of injects from an xls file","operationId":"testImportXLSFile","parameters":[{"name":"importId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectsImportTestInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImportTestSummary"}}}}}}},"/api/mappers/search":{"post":{"tags":["mapper-api"],"operationId":"getImportMapper","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageRawPaginationImportMapper"}}}}}}},"/api/mappers/import":{"post":{"tags":["mapper-api"],"operationId":"importMappers","requestBody":{"content":{"application/json":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/mappers/export":{"post":{"tags":["mapper-api"],"operationId":"exportMappers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportMapperInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/login":{"post":{"tags":["Users management"],"summary":"Endpoint to login","description":"Endpoint to login
**Required role :** none","operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginUserInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"Login successful","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/lessons_templates":{"get":{"tags":["lessons-template-api"],"operationId":"lessonsTemplates_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["lessons-template-api"],"operationId":"createLessonsTemplate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsTemplateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsTemplate"}}}}}}},"/api/lessons_templates/{lessonsTemplateId}/lessons_template_categories":{"get":{"tags":["lessons-template-api"],"operationId":"lessonsTemplateCategories","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["lessons-template-api"],"operationId":"createLessonsTemplateCategory","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsTemplateCategoryInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsTemplateCategory"}}}}}}},"/api/lessons_templates/{lessonsTemplateId}/lessons_template_categories/{lessonsTemplateCategoryId}/lessons_template_questions":{"get":{"tags":["lessons-template-api"],"operationId":"lessonsTemplateCategoryQuestions","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsTemplateCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["lessons-template-api"],"operationId":"createLessonsTemplateQuestion","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsTemplateCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsTemplateQuestionInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsTemplateQuestion"}}}}}}},"/api/lessons_templates/search":{"post":{"tags":["lessons-template-api"],"operationId":"lessonsTemplates","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageLessonsTemplate"}}}}}}},"/api/kill_chain_phases":{"get":{"tags":["kill-chain-phase-api"],"operationId":"killChainPhases_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["kill-chain-phase-api"],"operationId":"createKillChainPhase","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KillChainPhaseCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/KillChainPhase"}}}}}}},"/api/kill_chain_phases/upsert":{"post":{"tags":["kill-chain-phase-api"],"operationId":"upsertKillChainPhases_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KillChainPhaseUpsertInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/kill_chain_phases/search":{"post":{"tags":["kill-chain-phase-api"],"operationId":"killChainPhases","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageKillChainPhase"}}}}}}},"/api/kill_chain_phases/options":{"get":{"tags":["kill-chain-phase-api"],"operationId":"optionsByName_4","parameters":[{"name":"searchText","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}},"post":{"tags":["kill-chain-phase-api"],"operationId":"optionsById_4","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}}},"/api/injects/test":{"post":{"tags":["Injects","Tests"],"description":"Bulk tests of injects","operationId":"bulkTestInject","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectBulkProcessingInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectTestStatusOutput"}}}}}}}},"/api/injects/search/export":{"post":{"tags":["inject-api"],"operationId":"injectsExportFromSearch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectExportFromSearchRequestInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/injects/import":{"post":{"tags":["inject-api"],"operationId":"injectsImport","requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file","input"],"type":"object","properties":{"file":{"type":"string","format":"binary"},"input":{"$ref":"#/components/schemas/InjectImportInput"}}}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"422":{"description":"Unprocessable Content","content":{"*/*":{"schema":{"type":"string"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/injects/export":{"post":{"tags":["inject-api"],"operationId":"injectsExport","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectExportRequestInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/injects/execution/{agentId}/callback/{injectId}":{"post":{"tags":["inject-api"],"operationId":"injectExecutionCallback","parameters":[{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectExecutionInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/injects/execution/reception/{injectId}":{"post":{"tags":["inject-api"],"operationId":"injectExecutionReception","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectReceptionInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/injects/execution/callback/{injectId}":{"post":{"tags":["inject-api"],"operationId":"injectExecutionCallback_1","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectExecutionInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/injectors":{"get":{"tags":["injector-api"],"operationId":"injectors","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["injector-api"],"operationId":"registerInjector","requestBody":{"content":{"application/json":{"schema":{"required":["icon","input"],"type":"object","properties":{"input":{"$ref":"#/components/schemas/InjectorCreateInput"},"icon":{"type":"string","format":"binary"}}}},"multipart/form-data":{"schema":{"required":["icon","input"],"type":"object","properties":{"input":{"$ref":"#/components/schemas/InjectorCreateInput"},"icon":{"type":"string","format":"binary"}}}}}},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectorRegistration"}}}}}}},"/api/injectors/options":{"get":{"tags":["injector-api"],"operationId":"optionsByName_5","parameters":[{"name":"searchText","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}},"post":{"tags":["injector-api"],"operationId":"optionsById_5","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}}},"/api/injector_contracts":{"get":{"tags":["injector-contract-api"],"operationId":"injectContracts","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["injector-contract-api"],"operationId":"createInjectorContract","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectorContractAddInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectorContract"}}}}}}},"/api/injector_contracts/search":{"post":{"tags":["injector-contract-api"],"operationId":"injectorContracts","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageInjectorContractOutput"}}}}}}},"/api/groups":{"get":{"tags":["group-api"],"operationId":"groups","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["group-api"],"operationId":"createGroup","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Group"}}}}}}},"/api/groups/{groupId}/organizations":{"post":{"tags":["group-api"],"operationId":"groupOrganization","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationGrantInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Group"}}}}}}},"/api/groups/{groupId}/grants":{"post":{"tags":["group-api"],"operationId":"groupGrant","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupGrantInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Grant"}}}}}}},"/api/groups/search":{"post":{"tags":["group-api"],"operationId":"users_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageGroup"}}}}}}},"/api/fulltextsearch":{"post":{"tags":["full-text-search-api"],"operationId":"fullTextSearch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchTerm"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FullTextSearchCountResult"}}}}}}}},"/api/fulltextsearch/{clazz}":{"post":{"tags":["full-text-search-api"],"operationId":"fullTextSearch_1","parameters":[{"name":"clazz","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageFullTextSearchResult"}}}}}}},"/api/findings":{"get":{"tags":["finding-api"],"operationId":"findings","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Finding"}}}}}}},"post":{"tags":["finding-api"],"operationId":"createFinding","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindingInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Finding"}}}}}}},"/api/exercises":{"get":{"tags":["exercise-api"],"operationId":"exercises_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExerciseSimple"}}}}}}},"post":{"tags":["exercise-api"],"operationId":"createExercise","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/xls/{importId}/import":{"post":{"tags":["exercise-import-api"],"summary":"Validate and import injects from an xls file","operationId":"validateImportXLSFile_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"importId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectsImportInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImportTestSummary"}}}}}}},"/api/exercises/{exerciseId}/xls/{importId}/dry":{"post":{"tags":["exercise-import-api"],"summary":"Test the import of injects from an xls file","operationId":"dryRunImportXLSFile_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"importId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectsImportInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImportTestSummary"}}}}}}},"/api/exercises/{exerciseId}/variables":{"get":{"tags":["variable-api"],"operationId":"variablesFromExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["variable-api"],"operationId":"createVariableForExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariableInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Variable"}}}}}}},"/api/exercises/{exerciseId}/teams/search":{"post":{"tags":["exercise-team-api"],"operationId":"searchTeams_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"contextualOnly","in":"query","required":true,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageTeamOutput"}}}}}}},"/api/exercises/{exerciseId}/reports":{"get":{"tags":["report-api"],"operationId":"exerciseReports","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["report-api"],"operationId":"createExerciseReport","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Report"}}}}}}},"/api/exercises/{exerciseId}/objectives":{"get":{"tags":["exercise-objective-api"],"operationId":"getMainObjectives_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["exercise-objective-api"],"operationId":"createObjective_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObjectiveInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Objective"}}}}}}},"/api/exercises/{exerciseId}/objectives/{objectiveId}/evaluations":{"get":{"tags":["exercise-objective-api"],"operationId":"getEvaluations_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"objectiveId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["exercise-objective-api"],"operationId":"createEvaluation_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"objectiveId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Evaluation"}}}}}}},"/api/exercises/{exerciseId}/logs":{"post":{"tags":["exercise-api"],"operationId":"createLog","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Log"}}}}}}},"/api/exercises/{exerciseId}/lessons_send":{"post":{"tags":["exercise-lessons-api"],"operationId":"sendExerciseLessons","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsSendInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/lessons_empty":{"post":{"tags":["exercise-lessons-api"],"operationId":"emptyExerciseLessons","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exerciseId}/lessons_categories":{"get":{"tags":["exercise-lessons-api"],"operationId":"exerciseLessonsCategories","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["exercise-lessons-api"],"operationId":"createExerciseLessonsCategory","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsCategoryCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsCategory"}}}}}}},"/api/exercises/{exerciseId}/lessons_categories/{lessonsCategoryId}/lessons_questions":{"get":{"tags":["exercise-lessons-api"],"operationId":"exerciseLessonsCategoryQuestions","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["exercise-lessons-api"],"operationId":"createExerciseLessonsQuestion_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsCategoryId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsQuestionCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LessonsQuestion"}}}}}}},"/api/exercises/{exerciseId}/lessons_apply_template/{lessonsTemplateId}":{"post":{"tags":["exercise-lessons-api"],"operationId":"applyExerciseLessonsTemplate","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exerciseId}/lessons_answers_reset":{"post":{"tags":["exercise-lessons-api"],"operationId":"resetExerciseLessonsAnswers","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exerciseId}/injects":{"get":{"tags":["inject-api"],"operationId":"exerciseInjects","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["inject-api"],"operationId":"createInjectForExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/exercises/{exerciseId}/injects/{injectId}":{"get":{"tags":["inject-api"],"operationId":"exerciseInject","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}},"post":{"tags":["inject-api"],"operationId":"duplicateInjectForExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}},"delete":{"tags":["inject-api"],"operationId":"deleteInject","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/injects/{injectId}/status":{"post":{"tags":["inject-api"],"operationId":"setInjectStatus","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectUpdateStatusInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/exercises/{exerciseId}/injects/simple":{"get":{"tags":["exercise-inject-api"],"summary":"Retrieved injects for an exercise","operationId":"exerciseInjectsSimple_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"Retrieved injects for an exercise","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectOutput"}}}}}},"post":{"tags":["exercise-inject-api"],"operationId":"exerciseInjectsSimple","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exerciseId}/injects/search":{"post":{"tags":["inject-api"],"operationId":"searchExerciseInjects","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageInjectResultOutput"}}}}}}},"/api/exercises/{exerciseId}/inject":{"post":{"tags":["inject-api"],"operationId":"executeInject","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["file","input"],"type":"object","properties":{"input":{"$ref":"#/components/schemas/DirectInjectInput"},"file":{"type":"string","format":"binary"}}}}}},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectStatus"}}}}}}},"/api/exercises/{exerciseId}/comchecks":{"post":{"tags":["comcheck-api"],"operationId":"communicationCheck","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComcheckInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Comcheck"}}}}}}},"/api/exercises/{exerciseId}/check-rules":{"post":{"tags":["exercise-api"],"summary":"Check rules","description":"Check if the rules apply to a simulation update","operationId":"checkIfRuleApplies_1","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckExerciseRulesInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"Returns whether or not the rules apply","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CheckExerciseRulesOutput"}}}}}}},"/api/exercises/{exerciseId}/articles":{"get":{"tags":["exercise-article-api"],"operationId":"exerciseArticles","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["channel-api"],"operationId":"createArticleForExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Article"}}}}}}},"/api/exercises/search":{"post":{"tags":["exercise-api"],"operationId":"exercises","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageExerciseSimple"}}}}}}},"/api/exercises/import":{"post":{"tags":["exercise-api"],"operationId":"exerciseImport","requestBody":{"content":{"application/json":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"422":{"description":"Unprocessable Content","content":{"*/*":{"schema":{"type":"string"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/global-scores":{"post":{"tags":["exercise-api"],"operationId":"getExercisesGlobalScores","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExercisesGlobalScoresInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ExercisesGlobalScoresOutput"}}}}}}},"/api/exercise/{exerciseId}/injects/test":{"post":{"tags":["exercise-inject-api"],"operationId":"findAllExerciseInjectTests","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageInjectTestStatusOutput"}}}}}}},"/api/executors":{"get":{"tags":["executor-api"],"operationId":"executors","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["executor-api"],"operationId":"registerExecutor","requestBody":{"content":{"application/json":{"schema":{"required":["icon","input"],"type":"object","properties":{"input":{"$ref":"#/components/schemas/ExecutorCreateInput"},"icon":{"type":"string","format":"binary"}}}},"multipart/form-data":{"schema":{"required":["icon","input"],"type":"object","properties":{"input":{"$ref":"#/components/schemas/ExecutorCreateInput"},"icon":{"type":"string","format":"binary"}}}}}},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Executor"}}}}}}},"/api/endpoints/search":{"post":{"tags":["endpoint-api"],"operationId":"endpoints","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageEndpointOutput"}}}}}}},"/api/endpoints/register":{"post":{"tags":["endpoint-api"],"operationId":"upsertEndpoint","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointRegisterInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Endpoint"}}}}}}},"/api/endpoints/options":{"get":{"tags":["endpoint-api"],"operationId":"optionsByName_6","parameters":[{"name":"searchText","in":"query","required":false,"schema":{"type":"string"}},{"name":"simulationOrScenarioId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}},"post":{"tags":["endpoint-api"],"operationId":"optionsById_6","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}}},"/api/endpoints/jobs":{"post":{"tags":["endpoint-api"],"operationId":"getEndpointJobs","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndpointRegisterInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssetAgentJob"}}}}}}}},"/api/endpoints/jobs/{assetAgentJobId}":{"post":{"tags":["endpoint-api"],"operationId":"cleanupAssetAgentJobDepreacted","parameters":[{"name":"assetAgentJobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}},"deprecated":true},"delete":{"tags":["endpoint-api"],"operationId":"cleanupAssetAgentJob","parameters":[{"name":"assetAgentJobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/endpoints/find":{"post":{"tags":["endpoint-api"],"operationId":"findEndpoints","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Endpoint"}}}}}}}},"/api/documents":{"get":{"tags":["document-api"],"operationId":"documents","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RawDocument"}}}}}}},"post":{"tags":["document-api"],"operationId":"uploadDocument","requestBody":{"content":{"application/json":{"schema":{"required":["file","input"],"type":"object","properties":{"input":{"$ref":"#/components/schemas/DocumentCreateInput"},"file":{"type":"string","format":"binary"}}}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"422":{"description":"Unprocessable Content","content":{"*/*":{"schema":{"type":"string"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Document"}}}}}}},"/api/documents/upsert":{"post":{"tags":["document-api"],"operationId":"upsertDocument","requestBody":{"content":{"application/json":{"schema":{"required":["file","input"],"type":"object","properties":{"input":{"$ref":"#/components/schemas/DocumentCreateInput"},"file":{"type":"string","format":"binary"}}}}}},"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"422":{"description":"Unprocessable Content","content":{"*/*":{"schema":{"type":"string"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Document"}}}}}}},"/api/documents/search":{"post":{"tags":["document-api"],"operationId":"searchDocuments","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageRawPaginationDocument"}}}}}}},"/api/collectors":{"get":{"tags":["collector-api"],"operationId":"collectors","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["collector-api"],"operationId":"registerCollector","requestBody":{"content":{"application/json":{"schema":{"required":["icon","input"],"type":"object","properties":{"input":{"$ref":"#/components/schemas/CollectorCreateInput"},"icon":{"type":"string","format":"binary"}}}},"multipart/form-data":{"schema":{"required":["icon","input"],"type":"object","properties":{"input":{"$ref":"#/components/schemas/CollectorCreateInput"},"icon":{"type":"string","format":"binary"}}}}}},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Collector"}}}}}}},"/api/channels":{"get":{"tags":["channel-api"],"operationId":"channels","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["channel-api"],"operationId":"createChannel","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Channel"}}}}}}},"/api/challenges":{"get":{"tags":["challenge-api"],"operationId":"challenges","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}},"post":{"tags":["challenge-api"],"operationId":"createChallenge","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Challenge"}}}}}}},"/api/challenges/{challengeId}/try":{"post":{"tags":["challenge-api"],"operationId":"tryChallenge","parameters":[{"name":"challengeId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeTryInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChallengeResult"}}}}}}},"/api/attack_patterns":{"get":{"tags":["attack-pattern-api"],"operationId":"attackPatterns_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RawAttackPattern"}}}}}}},"post":{"tags":["attack-pattern-api"],"operationId":"createAttackPattern","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttackPatternCreateInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AttackPattern"}}}}}}},"/api/attack_patterns/upsert":{"post":{"tags":["attack-pattern-api"],"operationId":"upsertKillChainPhases_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttackPatternUpsertInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/attack_patterns/search":{"post":{"tags":["attack-pattern-api"],"operationId":"attackPatterns","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageAttackPattern"}}}}}}},"/api/attack_patterns/options":{"get":{"tags":["attack-pattern-api"],"operationId":"optionsByName_7","parameters":[{"name":"searchText","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}},"post":{"tags":["attack-pattern-api"],"operationId":"optionsById_7","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}}},"/api/atomic-testings":{"post":{"tags":["atomic-testing-api"],"operationId":"createAtomicTesting","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AtomicTestingInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectResultOverviewOutput"}}}}}}},"/api/atomic-testings/{atomicTestingId}/relaunch":{"post":{"tags":["atomic-testing-api"],"operationId":"relaunchAtomicTesting","parameters":[{"name":"atomicTestingId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectResultOverviewOutput"}}}}}}},"/api/atomic-testings/{atomicTestingId}/launch":{"post":{"tags":["atomic-testing-api"],"operationId":"launchAtomicTesting","parameters":[{"name":"atomicTestingId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectResultOverviewOutput"}}}}}}},"/api/atomic-testings/{atomicTestingId}/duplicate":{"post":{"tags":["atomic-testing-api"],"operationId":"duplicateAtomicTesting","parameters":[{"name":"atomicTestingId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectResultOverviewOutput"}}}}}}},"/api/atomic-testings/teams/search":{"post":{"tags":["atomic-testing-team-api"],"operationId":"searchTeams_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageTeamOutput"}}}}}}},"/api/atomic-testings/search":{"post":{"tags":["atomic-testing-api"],"operationId":"findAllAtomicTestings","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageInjectResultOutput"}}}}}}},"/api/asset_groups":{"get":{"tags":["asset-group-api"],"operationId":"assetGroups_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssetGroup"}}}}}}},"post":{"tags":["asset-group-api"],"operationId":"createAssetGroup","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetGroupInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AssetGroup"}}}}}}},"/api/asset_groups/search":{"post":{"tags":["asset-group-api"],"operationId":"assetGroups","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPaginationInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageAssetGroupOutput"}}}}}}},"/api/asset_groups/options":{"get":{"tags":["asset-group-api"],"operationId":"optionsByName_8","parameters":[{"name":"searchText","in":"query","required":false,"schema":{"type":"string"}},{"name":"simulationOrScenarioId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}},"post":{"tags":["asset-group-api"],"operationId":"optionsById_8","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}}},"/api/asset_groups/find":{"post":{"tags":["asset-group-api"],"operationId":"findAssetGroups","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssetGroupOutput"}}}}}}}},"/api/ai/summarize":{"post":{"tags":["ai-api"],"operationId":"aiSummarize","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenericTextInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/event-stream":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiResult"}}}}}}}},"/api/ai/make_shorter":{"post":{"tags":["ai-api"],"operationId":"aiMakeShorter","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenericTextInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/event-stream":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiResult"}}}}}}}},"/api/ai/make_longer":{"post":{"tags":["ai-api"],"operationId":"aiMakeLonger","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenericTextInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/event-stream":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiResult"}}}}}}}},"/api/ai/generate_subject":{"post":{"tags":["ai-api"],"operationId":"aiGenerateSubject","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiMessageInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/event-stream":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiResult"}}}}}}}},"/api/ai/generate_message":{"post":{"tags":["ai-api"],"operationId":"aiGenerateMessage","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiMessageInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/event-stream":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiResult"}}}}}}}},"/api/ai/generate_media":{"post":{"tags":["ai-api"],"operationId":"aiGenerateMedia","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiMediaInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/event-stream":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiResult"}}}}}}}},"/api/ai/fix_spelling":{"post":{"tags":["ai-api"],"operationId":"aiFixSpelling","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenericTextInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/event-stream":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiResult"}}}}}}}},"/api/ai/explain":{"post":{"tags":["ai-api"],"operationId":"aiExplain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenericTextInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/event-stream":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiResult"}}}}}}}},"/api/ai/change_tone":{"post":{"tags":["ai-api"],"operationId":"aiChangeTone","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiGenericTextInput"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/event-stream":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiResult"}}}}}}}},"/api/stream":{"get":{"tags":["stream-api"],"operationId":"streamFlux","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/event-stream":{"schema":{"type":"array","items":{"type":"object"}}}}}}}},"/api/statistics":{"get":{"tags":["statistic-api"],"summary":"Retrieve platform statistics","operationId":"platformStatistic","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformStatistic"}}}}}}},"/api/scenarios/{scenarioId}/teams":{"get":{"tags":["scenario-api"],"operationId":"scenarioTeams","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamOutput"}}}}}}}},"/api/scenarios/{scenarioId}/statistics":{"get":{"tags":["scenario-statistic-api"],"summary":"Retrieve scenario statistics","operationId":"getScenarioStatistics","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ScenarioStatistic"}}}}}}},"/api/scenarios/{scenarioId}/lessons_questions":{"get":{"tags":["scenario-lessons-api"],"operationId":"scenarioLessonsQuestions","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/scenarios/{scenarioId}/export":{"get":{"tags":["scenario-api"],"operationId":"exportScenario","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"isWithTeams","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"isWithPlayers","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"isWithVariableValues","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/scenarios/{scenarioId}/exercises":{"get":{"tags":["scenario-exercise-api"],"operationId":"scenarioExercises_1","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/scenarios/{scenarioId}/challenges":{"get":{"tags":["scenario-challenge-api"],"operationId":"scenarioChallenges","parameters":[{"name":"scenarioId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/scenarios/category/options":{"get":{"tags":["scenario-api"],"operationId":"categoryOptionsByName","parameters":[{"name":"searchText","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Option"}}}}}}}},"/api/reports/{reportId}":{"get":{"tags":["report-api"],"operationId":"report","parameters":[{"name":"reportId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Report"}}}}}}},"/api/player/{userId}/communications":{"get":{"tags":["player-api"],"operationId":"playerCommunications","parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/player/{exerciseOrScenarioId}/documents":{"get":{"tags":["document-api"],"operationId":"playerDocuments","parameters":[{"name":"exerciseOrScenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Document"}}}}}}}},"/api/player/{exerciseOrScenarioId}/documents/{documentId}/file":{"get":{"tags":["document-api"],"operationId":"downloadPlayerDocument","parameters":[{"name":"exerciseOrScenarioId","in":"path","required":true,"schema":{"type":"string"}},{"name":"documentId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/player/lessons/exercise/{exerciseId}/lessons_questions":{"get":{"tags":["exercise-lessons-api"],"operationId":"playerLessonsQuestions","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LessonsQuestion"}}}}}}}},"/api/player/lessons/exercise/{exerciseId}/lessons_categories":{"get":{"tags":["exercise-lessons-api"],"operationId":"playerLessonsCategories","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LessonsCategory"}}}}}}}},"/api/player/lessons/exercise/{exerciseId}/lessons_answers":{"get":{"tags":["exercise-lessons-api"],"operationId":"playerLessonsAnswers","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LessonsAnswer"}}}}}}}},"/api/player/exercises/{exerciseId}":{"get":{"tags":["exercise-player-api"],"operationId":"playerExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PublicExercise"}}}}}}},"/api/player/channels/{exerciseId}/{channelId}":{"get":{"tags":["channel-api"],"operationId":"playerArticles","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChannelReader"}}}}}}},"/api/player/challenges/{exerciseId}":{"get":{"tags":["challenge-api"],"operationId":"playerChallenges","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChallengesReader"}}}}}}},"/api/opencti/v1/exercises/latest/{externalReferenceId}":{"get":{"tags":["open-cti-api"],"summary":"Retrieve the latest exercise by external reference ID (example: a report ID","operationId":"latestExerciseByExternalReference","parameters":[{"name":"externalReferenceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Exercise not found","content":{}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"Found the exercise","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExerciseSimple"}}}}}}},"/api/observer/channels/{exerciseId}/{channelId}":{"get":{"tags":["channel-api"],"operationId":"observerArticles","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"channelId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChannelReader"}}}}}}},"/api/observer/challenges/{exerciseId}":{"get":{"tags":["challenge-api"],"operationId":"observerChallenges","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ChallengesReader"}}}}}}},"/api/mitigations/{mitigationId}/attack_patterns":{"get":{"tags":["mitigation-api"],"operationId":"injectorContracts_1","parameters":[{"name":"mitigationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/me":{"get":{"tags":["me-api"],"operationId":"me","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/User"}}}}}}},"/api/me/tokens":{"get":{"tags":["me-api"],"operationId":"tokens","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Token"}}}}}}}},"/api/logout":{"get":{"tags":["me-api"],"operationId":"logout","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/lessons_templates/{lessonsTemplateId}/lessons_template_questions":{"get":{"tags":["lessons-template-api"],"operationId":"lessonsTemplateQuestions","parameters":[{"name":"lessonsTemplateId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/injects/{injectId}":{"get":{"tags":["inject-api"],"operationId":"inject","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Inject"}}}}}}},"/api/injects/{injectId}/{agentId}/executable-payload":{"get":{"tags":["inject-api"],"summary":"Get the payload ready to be executed","description":"This endpoint is invoked by implants to retrieve a payload command that's pre-configured and ready for execution.","operationId":"getExecutablePayloadInject","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}},{"name":"agentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"422":{"description":"Unprocessable Content","content":{"*/*":{"schema":{"type":"string"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Payload"}}}}}}},"/api/injects/{injectId}/test":{"get":{"tags":["inject-test-status-api"],"operationId":"testInject","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectTestStatusOutput"}}}}}}},"/api/injects/test/{testId}":{"get":{"tags":["inject-test-status-api"],"operationId":"findInjectTestStatus","parameters":[{"name":"testId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/InjectTestStatusOutput"}}}}}},"delete":{"tags":["inject-test-status-api"],"operationId":"deleteInjectTest","parameters":[{"name":"testId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/injects/next":{"get":{"tags":["inject-api"],"operationId":"nextInjectsToExecute","parameters":[{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Inject"}}}}}}}},"/api/injects/expectations":{"get":{"tags":["expectation-api"],"operationId":"getInjectExpectationsNotFilled","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}}},"/api/injects/expectations/{sourceId}":{"get":{"tags":["expectation-api"],"operationId":"getInjectExpectationsNotFilledForSource","parameters":[{"name":"sourceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}}},"/api/injects/expectations/prevention":{"get":{"tags":["expectation-api"],"operationId":"getInjectPreventionExpectationsNotFilled","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}}},"/api/injects/expectations/prevention/{sourceId}":{"get":{"tags":["expectation-api"],"summary":"Get Inject Expectations for a Specific Source and type Prevention","description":"Retrieves inject expectations of agents installed on an asset for a given source ID and type Prevention.","operationId":"getInjectPreventionExpectationsNotFilledForSource","parameters":[{"name":"sourceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}}},"/api/injects/expectations/detection":{"get":{"tags":["expectation-api"],"operationId":"getInjectDetectionExpectationsNotFilled","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}}},"/api/injects/expectations/detection/{sourceId}":{"get":{"tags":["expectation-api"],"summary":"Get Inject Expectations for a Specific Source and type Detection","description":"Retrieves inject expectations of agents installed on an asset for a given source ID and type detection.","operationId":"getInjectDetectionExpectationsNotFilledForSource","parameters":[{"name":"sourceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}}},"/api/injects/expectations/assets/{sourceId}":{"get":{"tags":["expectation-api"],"summary":"Get Inject Expectations for a Specific Source","description":"Retrieves inject expectations of agents installed on an asset for a given source ID.","operationId":"getInjectExpectationsAssetsNotFilledForSource","parameters":[{"name":"sourceId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}}},"/api/injectors/{injectorId}/injector_contracts":{"get":{"tags":["injector-api"],"operationId":"injectorInjectTypes","parameters":[{"name":"injectorId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JsonNode"}}}}}}}},"/api/implant/openbas/{platform}/{architecture}":{"get":{"tags":["injector-api"],"operationId":"getOpenBasImplant","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string"}},{"name":"architecture","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"application/octet-stream":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/implant/caldera/{platform}/{arch}":{"get":{"tags":["injector-api"],"operationId":"getCalderaImplant","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string"}},{"name":"arch","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"application/octet-stream":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/implant/caldera/{platform}/{arch}/{extension}":{"get":{"tags":["injector-api"],"operationId":"getCalderaScript","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string"}},{"name":"arch","in":"path","required":true,"schema":{"type":"string"}},{"name":"extension","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"application/octet-stream":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/images/security_platforms/id/{assetId}/{theme}":{"get":{"tags":["document-api"],"operationId":"getSecurityPlatformImageFromId","parameters":[{"name":"assetId","in":"path","required":true,"schema":{"type":"string"}},{"name":"theme","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/images/injectors/{injectorType}":{"get":{"tags":["document-api"],"operationId":"getInjectorImage","parameters":[{"name":"injectorType","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"image/png":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/images/injectors/id/{injectorId}":{"get":{"tags":["document-api"],"operationId":"getInjectorImageFromId","parameters":[{"name":"injectorId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"image/png":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/images/executors/{executorId}":{"get":{"tags":["document-api"],"operationId":"getExecutorImage","parameters":[{"name":"executorId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"image/png":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/images/collectors/{collectorType}":{"get":{"tags":["document-api"],"operationId":"getCollectorImage","parameters":[{"name":"collectorType","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"image/png":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/images/collectors/id/{collectorId}":{"get":{"tags":["document-api"],"operationId":"getCollectorImageFromId","parameters":[{"name":"collectorId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"image/png":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/health":{"get":{"tags":["health-check-api"],"summary":"Run an healthcheck ","description":"Tries to connect to dependencies (DB/Minio/RabbitMQ)","operationId":"healthCheck","parameters":[{"name":"health_access_key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"Service is healthy","content":{"*/*":{"schema":{"type":"object"}}}},"503":{"description":"Service is not running properly","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/groups/{groupId}":{"get":{"tags":["group-api"],"operationId":"group","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Group"}}}}}},"delete":{"tags":["group-api"],"operationId":"deleteGroup","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/findings/field/{field}":{"get":{"tags":["finding-api"],"operationId":"findingByField","parameters":[{"name":"field","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Finding"}}}}}}},"/api/exercises/{exercise}/logs":{"get":{"tags":["exercise-api"],"operationId":"logs","parameters":[{"name":"exercise","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exercise}/comchecks":{"get":{"tags":["exercise-api"],"operationId":"comchecks","parameters":[{"name":"exercise","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exercise}/comchecks/{comcheck}":{"get":{"tags":["exercise-api"],"operationId":"comcheck","parameters":[{"name":"exercise","in":"path","required":true,"schema":{"type":"string"}},{"name":"comcheck","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Comcheck"}}}}}}},"/api/exercises/{exercise}/comchecks/{comcheck}/statuses":{"get":{"tags":["exercise-api"],"operationId":"comcheckStatuses","parameters":[{"name":"exercise","in":"path","required":true,"schema":{"type":"string"}},{"name":"comcheck","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ComcheckStatus"}}}}}}}},"/api/exercises/{exerciseId}/teams":{"get":{"tags":["exercise-api"],"operationId":"getExerciseTeams","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TeamOutput"}}}}}}}},"/api/exercises/{exerciseId}/results":{"get":{"tags":["exercise-api"],"operationId":"globalResults","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExpectationResultsByType"}}}}}}}},"/api/exercises/{exerciseId}/players":{"get":{"tags":["exercise-api"],"operationId":"getPlayersByExercise","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exerciseId}/lessons_questions":{"get":{"tags":["exercise-lessons-api"],"operationId":"exerciseLessonsQuestions","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exerciseId}/lessons_answers":{"get":{"tags":["exercise-lessons-api"],"operationId":"exerciseLessonsAnswers","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LessonsAnswer"}}}}}}}},"/api/exercises/{exerciseId}/injects/{injectId}/communications":{"get":{"tags":["inject-api"],"operationId":"exerciseInjectCommunications","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exerciseId}/injects/results":{"get":{"tags":["inject-api"],"operationId":"exerciseInjectsResults","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectResultOutput"}}}}}}}},"/api/exercises/{exerciseId}/injects/results-by-attack-patterns":{"get":{"tags":["exercise-api"],"operationId":"injectResults","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectationResultsByAttackPattern"}}}}}}}},"/api/exercises/{exerciseId}/export":{"get":{"tags":["exercise-api"],"operationId":"exerciseExport","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"isWithTeams","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"isWithPlayers","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"isWithVariableValues","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/expectations":{"get":{"tags":["exercise-expectation-api"],"operationId":"exerciseInjectExpectations","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}}},"/api/exercises/{exerciseId}/communications":{"get":{"tags":["exercise-api"],"operationId":"exerciseCommunications","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/exercises/{exerciseId}/challenges":{"get":{"tags":["exercise-challenge-api"],"operationId":"exerciseChallenges","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/endpoints":{"get":{"tags":["endpoint-api"],"operationId":"endpoints_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Endpoint"}}}}}}}},"/api/endpoints/jobs/{endpointExternalReference}":{"get":{"tags":["endpoint-api"],"operationId":"getEndpointJobs_1","parameters":[{"name":"endpointExternalReference","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssetAgentJob"}}}}}},"deprecated":true}},"/api/documents/{documentId}/file":{"get":{"tags":["document-api"],"operationId":"downloadDocument","parameters":[{"name":"documentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/communications/attachment":{"get":{"tags":["exercise-api"],"operationId":"downloadAttachment","parameters":[{"name":"file","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/comcheck/{comcheckStatusId}":{"get":{"tags":["comcheck-api"],"operationId":"checkValidation","parameters":[{"name":"comcheckStatusId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ComcheckStatus"}}}}}}},"/api/attack_patterns/{attackPatternId}/injector_contracts":{"get":{"tags":["attack-pattern-api"],"operationId":"injectorContracts_2","parameters":[{"name":"attackPatternId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/api/atomic-testings/{injectId}/target_results/{targetId}/types/{targetType}":{"get":{"tags":["atomic-testing-api"],"operationId":"findTargetResult","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}},{"name":"targetId","in":"path","required":true,"schema":{"type":"string"}},{"name":"targetType","in":"path","required":true,"schema":{"type":"string"}},{"name":"parentTargetId","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectation"}}}}}}}},"/api/atomic-testings/{injectId}/payload":{"get":{"tags":["atomic-testing-api"],"operationId":"findAtomicTestingPayload","parameters":[{"name":"injectId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StatusPayloadOutput"}}}}}}},"/api/agent/package/openbas/{platform}/{architecture}":{"get":{"tags":["executor-api"],"summary":"Retrieve OpenBAS Agent Package","description":"Downloads the OpenBAS agent package for the specified platform and architecture.","operationId":"getOpenBasAgentPackage","parameters":[{"name":"platform","in":"path","description":"Target platform for the agent package (e.g., windows, linux, mac). Case insensitive.","required":true,"schema":{"type":"string"}},{"name":"architecture","in":"path","description":"Target architecture for the agent package (e.g., x86, x64, arm). Case insensitive.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"Successfully retrieved the agent package.","content":{"application/octet-stream":{"schema":{"type":"string","format":"byte"}}}},"400":{"description":"Invalid platform or architecture specified.","content":{"application/octet-stream":{"schema":{"type":"string","format":"byte"}}}}}}},"/api/agent/installer/openbas/{platform}/{token}":{"get":{"tags":["executor-api"],"summary":"Retrieve OpenBAS Agent Installer Command","description":"Generates the installation command for the OpenBAS agent for the specified platform and token.","operationId":"getOpenBasAgentInstaller","parameters":[{"name":"platform","in":"path","description":"Target platform for the agent installation (e.g., windows, linux, mac). Case insensitive.","required":true,"schema":{"type":"string"}},{"name":"token","in":"path","description":"Unique token associated with the agent installation.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Token not found.","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"400":{"description":"Invalid platform specified.","content":{"*/*":{"schema":{"type":"string"}}}},"200":{"description":"Successfully generated the install command.","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/agent/executable/openbas/{platform}/{architecture}":{"get":{"tags":["executor-api"],"summary":"Retrieve OpenBAS Agent Executable","description":"Downloads the OpenBAS agent executable for a specified platform and architecture.","operationId":"getOpenBasAgentExecutable","parameters":[{"name":"platform","in":"path","description":"Target platform for the agent installation (e.g., windows, linux, mac). Case insensitive.","required":true,"schema":{"type":"string"}},{"name":"architecture","in":"path","description":"Target architecture for the agent installation (e.g., x86_64, arm64). Case insensitive.","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"400":{"description":"Invalid platform or architecture specified.","content":{"application/octet-stream":{"schema":{"type":"string","format":"byte"}}}},"200":{"description":"Successfully retrieved the executable.","content":{"application/octet-stream":{"schema":{"type":"string","format":"byte"}}}}}}},"/{path}/**":{"get":{"tags":["home-api"],"operationId":"home","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/":{"get":{"tags":["home-api"],"operationId":"home_1","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api/groups/{groupId}/organizations/{organizationId}":{"delete":{"tags":["group-api"],"operationId":"deleteGroupOrganization","parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"organizationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Group"}}}}}}},"/api/grants/{grantId}":{"delete":{"tags":["group-api"],"operationId":"deleteGrant","parameters":[{"name":"grantId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}},"/api/exercises/{exerciseId}/{documentId}":{"delete":{"tags":["exercise-api"],"operationId":"deleteDocument","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"documentId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Exercise"}}}}}}},"/api/exercises/{exerciseId}/comchecks/{comcheckId}":{"delete":{"tags":["comcheck-api"],"operationId":"deleteComcheck","parameters":[{"name":"exerciseId","in":"path","required":true,"schema":{"type":"string"}},{"name":"comcheckId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ValidationErrorBag"}}}},"404":{"description":"Resource not found","content":{"*/*":{"schema":{"type":"string"}}}},"409":{"description":"Conflict","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ViolationErrorBag"}}}},"200":{"description":"OK"}}}}},"components":{"schemas":{"ValidationContent":{"type":"object","properties":{"errors":{"type":"array","description":"A list of errors","items":{"type":"string","description":"A list of errors"}}},"description":"Map of errors by input"},"ValidationError":{"type":"object","properties":{"children":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ValidationContent"},"description":"Map of errors by input"}},"description":"Errors raised"},"ValidationErrorBag":{"type":"object","properties":{"code":{"type":"integer","description":"Return code","format":"int32"},"message":{"type":"string","description":"Return message"},"errors":{"$ref":"#/components/schemas/ValidationError"}}},"ViolationErrorBag":{"type":"object","properties":{"type":{"type":"string","description":"The type of error"},"message":{"type":"string","description":"The message of the error"},"error":{"type":"string","description":"The error"}}},"UpdateUserInput":{"type":"object","properties":{"user_email":{"type":"string","description":"The email of the user"},"user_admin":{"type":"boolean","description":"True if the user is admin"},"user_firstname":{"type":"string","description":"First name of the user"},"user_lastname":{"type":"string","description":"Last name of the user"},"user_organization":{"type":"string","description":"Organization of the user"},"user_pgp_key":{"type":"string","description":"PGP key of the user"},"user_phone":{"pattern":"^\\+[\\d\\s\\-.()]+$","type":"string","description":"Phone of the user"},"user_phone2":{"pattern":"^\\+[\\d\\s\\-.()]+$","type":"string","description":"Secondary phone of the user"},"user_tags":{"type":"array","description":"Tags of the user","items":{"type":"string","description":"Tags of the user"}}}},"User":{"required":["user_created_at","user_email","user_id","user_status","user_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"user_id":{"type":"string","description":"User ID"},"user_firstname":{"type":"string","description":"First name of the user"},"user_lastname":{"type":"string","description":"Last name of the user"},"user_lang":{"type":"string","description":"Language of the user"},"user_theme":{"type":"string","description":"Theme of the user"},"user_email":{"type":"string","description":"Email of the user"},"user_phone":{"type":"string","description":"Phone number of the user"},"user_phone2":{"type":"string","description":"Secondary phone number of the user"},"user_pgp_key":{"type":"string","description":"PGP key of the user"},"user_status":{"type":"integer","description":"Status of the user","format":"int32"},"user_created_at":{"type":"string","description":"Creation date of the user","format":"date-time","readOnly":true},"user_updated_at":{"type":"string","description":"Update date of the user","format":"date-time","readOnly":true},"user_organization":{"type":"string","description":"Organization ID of the user"},"user_admin":{"type":"boolean","description":"True if the user is admin"},"user_country":{"type":"string","description":"Country of the user"},"user_city":{"type":"string","description":"City of the user"},"user_groups":{"type":"array","items":{"type":"string","description":"Group IDs of the user"}},"user_teams":{"type":"array","items":{"type":"string","description":"Team IDs of the user"}},"user_tags":{"type":"array","items":{"type":"string","description":"Tag IDs of the user"}},"user_communications":{"type":"array","items":{"type":"string","description":"Communication IDs of the user"}},"user_is_planner":{"type":"boolean","description":"True if the user is planner"},"user_is_observer":{"type":"boolean","description":"True if the user is observer"},"user_is_player":{"type":"boolean","description":"True if the user is player"},"user_is_manager":{"type":"boolean","description":"True if the user is manager"},"user_gravatar":{"type":"string","description":"Gravatar of the user"},"user_last_comcheck":{"type":"string","description":"Last communication date of the user","format":"date-time"},"user_is_only_player":{"type":"boolean","description":"True if the user is only a player"},"user_is_external":{"type":"boolean","description":"True if the user is external"}}},"ChangePasswordInput":{"required":["password","password_validation"],"type":"object","properties":{"password":{"type":"string","description":"The new password"},"password_validation":{"type":"string","description":"The new password again to validate it's been typed well"}}},"TeamUpdateInput":{"required":["team_name"],"type":"object","properties":{"team_name":{"type":"string","description":"Name of the team"},"team_description":{"type":"string","description":"Description of the team"},"team_organization":{"type":"string","description":"ID of the organization of the team"},"team_tags":{"type":"array","description":"IDs of the tags of the team","items":{"type":"string","description":"IDs of the tags of the team"}}}},"Communication":{"required":["communication_from","communication_id","communication_message_id","communication_received_at","communication_sent_at","communication_to"],"type":"object","properties":{"listened":{"type":"boolean"},"communication_id":{"type":"string"},"communication_message_id":{"type":"string"},"communication_received_at":{"type":"string","format":"date-time"},"communication_sent_at":{"type":"string","format":"date-time"},"communication_subject":{"type":"string"},"communication_content":{"type":"string"},"communication_content_html":{"type":"string"},"communication_attachments":{"type":"array","items":{"type":"string"}},"communication_inject":{"type":"string"},"communication_users":{"type":"array","items":{"type":"string"}},"communication_ack":{"type":"boolean"},"communication_animation":{"type":"boolean"},"communication_from":{"type":"string"},"communication_to":{"type":"string"},"communication_exercise":{"type":"string"}},"description":"List of communications of this team"},"Team":{"required":["team_created_at","team_id","team_injects_expectations_total_expected_score","team_injects_expectations_total_expected_score_by_exercise","team_injects_expectations_total_score","team_injects_expectations_total_score_by_exercise","team_name","team_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"team_id":{"type":"string","description":"ID of the team"},"team_name":{"type":"string","description":"Name of the team"},"team_description":{"type":"string","description":"Description of the team"},"team_created_at":{"type":"string","description":"Creation date of the team","format":"date-time","readOnly":true},"team_updated_at":{"type":"string","description":"Update date of the team","format":"date-time","readOnly":true},"team_tags":{"type":"array","items":{"type":"string","description":"IDs of the tags of the team"}},"team_organization":{"type":"string","description":"Organization of the team"},"team_users":{"type":"array","items":{"type":"string","description":"IDs of the users of the team"}},"team_exercises":{"type":"array","items":{"type":"string","description":"IDs of the simulations linked to the team"}},"team_scenarios":{"type":"array","items":{"type":"string","description":"IDs of the scenarios linked to the team"}},"team_contextual":{"type":"boolean","description":"True if the team is contextual (exists only in the scenario/simulation it is linked to)"},"team_exercises_users":{"type":"array","items":{"type":"string","description":"List of 3-tuple linking simulation IDs and user IDs to this team ID"}},"team_inject_expectations":{"type":"array","items":{"type":"string","description":"List of expectations id linked to this team"}},"team_communications":{"type":"array","description":"List of communications of this team","items":{"$ref":"#/components/schemas/Communication"}},"team_users_number":{"type":"integer","description":"Number of users of the team","format":"int64"},"team_exercise_injects":{"type":"array","items":{"type":"string","description":"List of inject IDs from all simulations of the team"}},"team_scenario_injects":{"type":"array","items":{"type":"string","description":"List of inject IDs from all scenarios of the team"}},"team_exercise_injects_number":{"type":"integer","description":"Number of injects of all simulations of the team","format":"int64"},"team_scenario_injects_number":{"type":"integer","description":"Number of injects of all scenarios of the team","format":"int64"},"team_injects_expectations_number":{"type":"integer","description":"Number of expectations linked to this team","format":"int64"},"team_injects_expectations_total_score":{"type":"number","description":"Total score of expectations linked to this team","format":"double"},"team_injects_expectations_total_score_by_exercise":{"type":"object","additionalProperties":{"type":"number","description":"Total score of expectations by simulation linked to this team","format":"double"},"description":"Total score of expectations by simulation linked to this team"},"team_injects_expectations_total_expected_score":{"type":"number","description":"Total expected score of expectations linked to this team","format":"double"},"team_injects_expectations_total_expected_score_by_exercise":{"type":"object","additionalProperties":{"type":"number","description":"Total expected score of expectations by simulation linked to this team","format":"double"},"description":"Total expected score of expectations by simulation linked to this team"}}},"UpdateUsersTeamInput":{"type":"object","properties":{"team_users":{"type":"array","description":"The list of users the team contains","items":{"type":"string","description":"The list of users the team contains"}}}},"TagUpdateInput":{"required":["tag_color","tag_name"],"type":"object","properties":{"tag_name":{"type":"string","description":"Name of the tag"},"tag_color":{"type":"string","description":"Color of the tag"}}},"Tag":{"required":["tag_id","tag_name"],"type":"object","properties":{"listened":{"type":"boolean"},"tag_id":{"type":"string","description":"ID of the tag"},"tag_name":{"type":"string","description":"Name of the tag"},"tag_color":{"type":"string","description":"Color of the tag"}}},"TagRuleInput":{"required":["tag_name"],"type":"object","properties":{"tag_name":{"type":"string","description":"Name of the tag"},"asset_groups":{"type":"array","description":"Asset groups of the tag rule","items":{"type":"string","description":"Asset groups of the tag rule"}}}},"TagRuleOutput":{"required":["tag_name","tag_rule_id"],"type":"object","properties":{"tag_rule_id":{"type":"string","description":"ID of the tag rule"},"tag_name":{"type":"string","description":"Name of the tag associated with the tag rule"},"asset_groups":{"type":"object","additionalProperties":{"type":"string","description":"Asset groups of the tag rule"},"description":"Asset groups of the tag rule"}}},"SettingsUpdateInput":{"required":["platform_lang","platform_name","platform_theme"],"type":"object","properties":{"platform_name":{"type":"string","description":"Name of the platform"},"platform_theme":{"type":"string","description":"Theme of the platform"},"platform_lang":{"type":"string","description":"Language of the platform"}}},"OAuthProvider":{"type":"object","properties":{"provider_name":{"type":"string"},"provider_uri":{"type":"string"},"provider_login":{"type":"string"}},"description":"List of Saml2 providers"},"PlatformSettings":{"required":["expectation_article_expiration_time","expectation_challenge_expiration_time","expectation_detection_expiration_time","expectation_manual_default_score_value","expectation_manual_expiration_time","expectation_prevention_expiration_time"],"type":"object","properties":{"platform_name":{"type":"string","description":"Name of the platform"},"platform_base_url":{"type":"string","description":"Base URL of the platform"},"platform_agent_url":{"type":"string","description":"Agent URL of the platform"},"platform_theme":{"type":"string","description":"Theme of the platform"},"platform_lang":{"type":"string","description":"Language of the platform"},"platform_enterprise_edition":{"type":"string","description":"'true' if the platform has Enterprise Edition activated"},"platform_whitemark":{"type":"string","description":"'true' if the platform has the whitemark activated"},"platform_openid_providers":{"type":"array","description":"List of OpenID providers","items":{"$ref":"#/components/schemas/OAuthProvider"}},"platform_saml2_providers":{"type":"array","description":"List of Saml2 providers","items":{"$ref":"#/components/schemas/OAuthProvider"}},"auth_openid_enable":{"type":"boolean","description":"True if OpenID is enabled"},"auth_saml2_enable":{"type":"boolean","description":"True if Saml2 is enabled"},"auth_local_enable":{"type":"boolean","description":"True if local authentication is enabled"},"map_tile_server_light":{"type":"string","description":"URL of the server containing the map tile with light theme"},"map_tile_server_dark":{"type":"string","description":"URL of the server containing the map tile with dark theme"},"xtm_opencti_enable":{"type":"boolean","description":"True if connection with OpenCTI is enabled"},"xtm_opencti_url":{"type":"string","description":"Url of OpenCTI"},"platform_version":{"type":"string","description":"Current version of the platform"},"postgre_version":{"type":"string","description":"Current version of the PostgreSQL"},"java_version":{"type":"string","description":"Current version of Java"},"rabbitmq_version":{"type":"string","description":"Current version of RabbitMQ"},"platform_ai_enabled":{"type":"boolean","description":"True if AI is enabled for the platform"},"platform_ai_has_token":{"type":"boolean","description":"True if we have an AI token"},"platform_ai_type":{"type":"string","description":"Type of AI (mistralai or openai)","externalDocs":{"description":"How to configure AI service","url":"https://docs.openbas.io/latest/deployment/configuration/?h=ai+type#ai-service"}},"platform_ai_model":{"type":"string","description":"Chosen model of AI"},"executor_caldera_enable":{"type":"boolean","description":"True if the Caldera Executor is enabled"},"executor_caldera_public_url":{"type":"string","description":"Url of the Caldera Executor"},"executor_tanium_enable":{"type":"boolean","description":"True if the Tanium Executor is enabled"},"platform_light_theme":{"$ref":"#/components/schemas/ThemeInput"},"platform_dark_theme":{"$ref":"#/components/schemas/ThemeInput"},"platform_policies":{"$ref":"#/components/schemas/PolicyInput"},"enabled_dev_features":{"type":"array","description":"List of enabled dev features","items":{"type":"string","description":"List of enabled dev features","enum":["_RESERVED","AGENT_EXPECTATION_UI"]}},"platform_banner_by_level":{"type":"object","additionalProperties":{"type":"array","description":"Map of the messages to display on the screen by their level (the level available are DEBUG, INFO, WARN, ERROR, FATAL)","items":{"type":"string","description":"Map of the messages to display on the screen by their level (the level available are DEBUG, INFO, WARN, ERROR, FATAL)"}},"description":"Map of the messages to display on the screen by their level (the level available are DEBUG, INFO, WARN, ERROR, FATAL)"},"expectation_detection_expiration_time":{"type":"integer","description":"Time to wait before detection time has expired","format":"int64"},"expectation_prevention_expiration_time":{"type":"integer","description":"Time to wait before prevention time has expired","format":"int64"},"expectation_challenge_expiration_time":{"type":"integer","description":"Time to wait before challenge time has expired","format":"int64"},"expectation_article_expiration_time":{"type":"integer","description":"Time to wait before article time has expired","format":"int64"},"expectation_manual_expiration_time":{"type":"integer","description":"Time to wait before manual expectation time has expired","format":"int64"},"expectation_manual_default_score_value":{"type":"integer","description":"Default score for manuel expectation","format":"int32"},"default_mailer":{"type":"string","description":"Sender mail to use by default for injects"},"default_reply_to":{"type":"string","description":"Reply to mail to use by default for injects"}}},"PolicyInput":{"type":"object","properties":{"platform_login_message":{"type":"string","description":"Message to show at login"},"platform_consent_message":{"type":"string","description":"Consent message to show at login"},"platform_consent_confirm_text":{"type":"string","description":"Consent confirmation message"}},"description":"Policies of the platform"},"ThemeInput":{"type":"object","properties":{"background_color":{"type":"string","description":"Background color of the theme"},"paper_color":{"type":"string","description":"Paper color of the theme"},"navigation_color":{"type":"string","description":"Navigation color of the theme"},"primary_color":{"type":"string","description":"Primary color of the theme"},"secondary_color":{"type":"string","description":"Secondary color of the theme"},"accent_color":{"type":"string","description":"Accent color of the theme"},"logo_url":{"type":"string","description":"Url of the logo"},"logo_url_collapsed":{"type":"string","description":"'true' if the logo needs to be collapsed"},"logo_login_url":{"type":"string","description":"Url of the login logo"}},"description":"Definition of the dark theme"},"SettingsPlatformWhitemarkUpdateInput":{"required":["platform_whitemark"],"type":"object","properties":{"platform_whitemark":{"type":"string","description":"The whitemark of the platform"}}},"SettingsEnterpriseEditionUpdateInput":{"required":["platform_enterprise_edition"],"type":"object","properties":{"platform_enterprise_edition":{"type":"string","description":"'true' if enterprise edition is activated"}}},"SecurityPlatformInput":{"required":["asset_name","security_platform_type"],"type":"object","properties":{"asset_name":{"type":"string"},"asset_description":{"type":"string"},"asset_tags":{"type":"array","items":{"type":"string"}},"security_platform_type":{"type":"string","enum":["EDR","XDR","SIEM","SOAR","NDR","ISPM"]},"security_platform_logo_light":{"type":"string"},"security_platform_logo_dark":{"type":"string"}}},"SecurityPlatform":{"required":["asset_created_at","asset_id","asset_name","asset_updated_at","security_platform_type"],"type":"object","properties":{"listened":{"type":"boolean"},"asset_id":{"type":"string"},"asset_type":{"type":"string"},"asset_name":{"type":"string"},"asset_description":{"type":"string"},"asset_tags":{"type":"array","items":{"type":"string"}},"asset_created_at":{"type":"string","format":"date-time"},"asset_updated_at":{"type":"string","format":"date-time"},"asset_external_reference":{"type":"string"},"security_platform_type":{"type":"string","enum":["EDR","XDR","SIEM","SOAR","NDR","ISPM"]},"security_platform_logo_light":{"type":"string"},"security_platform_logo_dark":{"type":"string"}}},"UpdateScenarioInput":{"required":["scenario_name"],"type":"object","properties":{"scenario_name":{"type":"string"},"scenario_description":{"type":"string"},"scenario_subtitle":{"type":"string"},"scenario_category":{"type":"string"},"scenario_main_focus":{"type":"string"},"scenario_severity":{"type":"string","enum":["low","medium","high","critical"]},"scenario_external_reference":{"type":"string"},"scenario_external_url":{"type":"string"},"scenario_tags":{"type":"array","items":{"type":"string"}},"scenario_mail_from":{"type":"string"},"scenario_mails_reply_to":{"type":"array","items":{"type":"string"}},"scenario_message_header":{"type":"string"},"scenario_message_footer":{"type":"string"},"apply_tag_rule":{"type":"boolean"}}},"KillChainPhase":{"required":["phase_created_at","phase_external_id","phase_id","phase_kill_chain_name","phase_name","phase_shortname","phase_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"phase_id":{"type":"string"},"phase_external_id":{"type":"string"},"phase_stix_id":{"type":"string"},"phase_name":{"type":"string"},"phase_shortname":{"type":"string"},"phase_kill_chain_name":{"type":"string"},"phase_description":{"type":"string"},"phase_order":{"type":"integer","format":"int64"},"phase_created_at":{"type":"string","format":"date-time"},"phase_updated_at":{"type":"string","format":"date-time"}}},"Scenario":{"required":["scenario_created_at","scenario_id","scenario_mail_from","scenario_name","scenario_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"scenario_id":{"type":"string"},"scenario_name":{"type":"string"},"scenario_description":{"type":"string"},"scenario_subtitle":{"type":"string"},"scenario_category":{"type":"string"},"scenario_main_focus":{"type":"string"},"scenario_severity":{"type":"string","enum":["low","medium","high","critical"]},"scenario_external_reference":{"type":"string"},"scenario_external_url":{"type":"string"},"scenario_recurrence":{"type":"string"},"scenario_recurrence_start":{"type":"string","format":"date-time"},"scenario_recurrence_end":{"type":"string","format":"date-time"},"scenario_message_header":{"type":"string"},"scenario_message_footer":{"type":"string"},"scenario_mail_from":{"type":"string"},"scenario_mails_reply_to":{"type":"array","items":{"type":"string"}},"scenario_created_at":{"type":"string","format":"date-time"},"scenario_updated_at":{"type":"string","format":"date-time"},"scenario_injects":{"type":"array","items":{"type":"string"}},"scenario_teams":{"type":"array","items":{"type":"string"}},"scenario_teams_users":{"type":"array","items":{"$ref":"#/components/schemas/ScenarioTeamUser"}},"scenario_tags":{"type":"array","items":{"type":"string"}},"scenario_documents":{"type":"array","items":{"type":"string"}},"scenario_articles":{"type":"array","items":{"type":"string"}},"scenario_lessons_categories":{"type":"array","items":{"type":"string"}},"scenario_exercises":{"type":"array","items":{"type":"string"}},"scenario_lessons_anonymized":{"type":"boolean"},"scenario_users":{"type":"array","items":{"type":"string"}},"scenario_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"scenario_kill_chain_phases":{"type":"array","items":{"$ref":"#/components/schemas/KillChainPhase"}},"scenario_injects_statistics":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"scenario_observers":{"type":"array","items":{"type":"string"}},"scenario_planners":{"type":"array","items":{"type":"string"}},"scenario_all_users_number":{"type":"integer","format":"int64"},"scenario_users_number":{"type":"integer","format":"int64"},"scenario_communications_number":{"type":"integer","format":"int64"}}},"ScenarioTeamUser":{"type":"object","properties":{"scenario_id":{"type":"string"},"team_id":{"type":"string"},"user_id":{"type":"string"}}},"VariableInput":{"required":["variable_key"],"type":"object","properties":{"variable_key":{"pattern":"^[a-z_]+$","type":"string"},"variable_value":{"type":"string"},"variable_description":{"type":"string"}}},"Variable":{"required":["variable_created_at","variable_id","variable_key","variable_type","variable_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"variable_id":{"type":"string"},"variable_key":{"pattern":"^[a-z_]+$","type":"string"},"variable_value":{"type":"string"},"variable_description":{"type":"string"},"variable_type":{"type":"string","enum":["String","Object"]},"variable_exercise":{"type":"string"},"variable_scenario":{"type":"string"},"variable_created_at":{"type":"string","format":"date-time"},"variable_updated_at":{"type":"string","format":"date-time"}}},"ScenarioTeamPlayersEnableInput":{"type":"object","properties":{"scenario_team_players":{"type":"array","items":{"type":"string"}}}},"ScenarioUpdateTeamsInput":{"type":"object","properties":{"scenario_teams":{"type":"array","items":{"type":"string"}}}},"TeamOutput":{"required":["team_exercises","team_id","team_name","team_scenarios","team_updated_at"],"type":"object","properties":{"team_id":{"type":"string","description":"ID of the team"},"team_name":{"type":"string","description":"Name of the team"},"team_description":{"type":"string","description":"Description of the team"},"team_exercises":{"uniqueItems":true,"type":"array","description":"Simulation ids linked to this team","items":{"type":"string","description":"Simulation ids linked to this team"}},"team_scenarios":{"uniqueItems":true,"type":"array","description":"Scenario ids linked to this team","items":{"type":"string","description":"Scenario ids linked to this team"}},"team_contextual":{"type":"boolean","description":"True if the team is contextual (exists only in the scenario/simulation it is linked to)"},"team_tags":{"uniqueItems":true,"type":"array","description":"List of tags of the team","items":{"type":"string","description":"List of tags of the team"}},"team_users":{"uniqueItems":true,"type":"array","description":"User ids of the team","items":{"type":"string","description":"User ids of the team"}},"team_organization":{"type":"string","description":"Organization of the team"},"team_updated_at":{"type":"string","description":"Update date of the team","format":"date-time"},"team_users_number":{"type":"integer","description":"Number of users of the team","format":"int64"}}},"ScenarioUpdateTagsInput":{"type":"object","properties":{"scenario_tags":{"type":"array","items":{"type":"string"}},"apply_tag_rule":{"type":"boolean"}}},"ScenarioRecurrenceInput":{"type":"object","properties":{"scenario_recurrence":{"type":"string"},"scenario_recurrence_start":{"type":"string","format":"date-time"},"scenario_recurrence_end":{"type":"string","format":"date-time"}}},"ObjectiveInput":{"type":"object","properties":{"objective_title":{"type":"string"},"objective_description":{"type":"string"},"objective_priority":{"type":"integer","format":"int32"}}},"Objective":{"required":["objective_created_at","objective_id","objective_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"objective_id":{"type":"string"},"objective_exercise":{"type":"string"},"objective_scenario":{"type":"string"},"objective_title":{"type":"string"},"objective_description":{"type":"string"},"objective_priority":{"type":"integer","format":"int32"},"objective_created_at":{"type":"string","format":"date-time"},"objective_updated_at":{"type":"string","format":"date-time"},"objective_evaluations":{"type":"array","items":{"type":"string"}},"objective_score":{"type":"number","format":"double"}}},"EvaluationInput":{"type":"object","properties":{"evaluation_score":{"type":"integer","format":"int64"}}},"Evaluation":{"required":["evaluation_created_at","evaluation_id","evaluation_objective","evaluation_updated_at","evaluation_user"],"type":"object","properties":{"listened":{"type":"boolean"},"evaluation_id":{"type":"string"},"evaluation_objective":{"type":"string"},"evaluation_user":{"type":"string"},"evaluation_score":{"type":"integer","format":"int64"},"evaluation_created_at":{"type":"string","format":"date-time"},"evaluation_updated_at":{"type":"string","format":"date-time"}}},"LessonsCategoryUpdateInput":{"required":["lessons_category_name"],"type":"object","properties":{"lessons_category_name":{"type":"string"},"lessons_category_description":{"type":"string"},"lessons_category_order":{"type":"integer","format":"int32"}}},"LessonsCategory":{"required":["lessons_category_created_at","lessons_category_name","lessons_category_updated_at","lessonscategory_id"],"type":"object","properties":{"listened":{"type":"boolean"},"lessonscategory_id":{"type":"string"},"lessons_category_exercise":{"type":"string"},"lessons_category_scenario":{"type":"string"},"lessons_category_created_at":{"type":"string","format":"date-time"},"lessons_category_updated_at":{"type":"string","format":"date-time"},"lessons_category_name":{"type":"string"},"lessons_category_description":{"type":"string"},"lessons_category_order":{"type":"integer","format":"int32"},"lessons_category_teams":{"type":"array","items":{"type":"string"}},"lessons_category_questions":{"type":"array","items":{"type":"string"}},"lessons_category_users":{"type":"array","items":{"type":"string"}}}},"LessonsCategoryTeamsInput":{"type":"object","properties":{"lessons_category_teams":{"type":"array","items":{"type":"string"}}}},"LessonsQuestionUpdateInput":{"required":["lessons_question_content"],"type":"object","properties":{"lessons_question_content":{"type":"string"},"lessons_question_explanation":{"type":"string"},"lessons_question_order":{"type":"integer","format":"int32"}}},"LessonsQuestion":{"required":["lessons_question_category","lessons_question_content","lessons_question_created_at","lessons_question_updated_at","lessonsquestion_id"],"type":"object","properties":{"listened":{"type":"boolean"},"lessonsquestion_id":{"type":"string"},"lessons_question_category":{"type":"string"},"lessons_question_created_at":{"type":"string","format":"date-time"},"lessons_question_updated_at":{"type":"string","format":"date-time"},"lessons_question_content":{"type":"string"},"lessons_question_explanation":{"type":"string"},"lessons_question_order":{"type":"integer","format":"int32"},"lessons_question_answers":{"type":"array","items":{"type":"string"}},"lessons_question_exercise":{"type":"string"},"lessons_question_scenario":{"type":"string"}}},"LessonsInput":{"type":"object","properties":{"lessons_anonymized":{"type":"boolean"}}},"Condition":{"required":["key","operator"],"type":"object","properties":{"key":{"type":"string"},"value":{"type":"boolean"},"operator":{"type":"string","enum":["eq"]}}},"InjectDependencyCondition":{"required":["mode"],"type":"object","properties":{"mode":{"type":"string","enum":["and","or"]},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Condition"}}}},"InjectDependencyIdInput":{"type":"object","properties":{"inject_parent_id":{"type":"string"},"inject_children_id":{"type":"string"}}},"InjectDependencyInput":{"type":"object","properties":{"dependency_relationship":{"$ref":"#/components/schemas/InjectDependencyIdInput"},"dependency_condition":{"$ref":"#/components/schemas/InjectDependencyCondition"}}},"InjectDocumentInput":{"type":"object","properties":{"document_id":{"type":"string"},"document_attached":{"type":"boolean"}}},"InjectInput":{"type":"object","properties":{"inject_title":{"type":"string"},"inject_description":{"type":"string"},"inject_injector_contract":{"type":"string"},"inject_content":{"type":"object"},"inject_depends_on":{"type":"array","items":{"$ref":"#/components/schemas/InjectDependencyInput"}},"inject_depends_duration":{"type":"integer","format":"int64"},"inject_teams":{"type":"array","items":{"type":"string"}},"inject_assets":{"type":"array","items":{"type":"string"}},"inject_asset_groups":{"type":"array","items":{"type":"string"}},"inject_documents":{"type":"array","items":{"$ref":"#/components/schemas/InjectDocumentInput"}},"inject_all_teams":{"type":"boolean"},"inject_country":{"type":"string"},"inject_city":{"type":"string"},"inject_tags":{"type":"array","items":{"type":"string"}},"inject_enabled":{"type":"boolean"}}},"AttackPattern":{"required":["attack_pattern_external_id","attack_pattern_id","attack_pattern_name","attack_pattern_stix_id"],"type":"object","properties":{"listened":{"type":"boolean"},"attack_pattern_id":{"type":"string"},"attack_pattern_stix_id":{"type":"string"},"attack_pattern_name":{"type":"string"},"attack_pattern_description":{"type":"string"},"attack_pattern_external_id":{"type":"string"},"attack_pattern_platforms":{"type":"array","items":{"type":"string"}},"attack_pattern_permissions_required":{"type":"array","items":{"type":"string"}},"attack_pattern_created_at":{"type":"string","format":"date-time"},"attack_pattern_updated_at":{"type":"string","format":"date-time"},"attack_pattern_parent":{"type":"string"},"attack_pattern_kill_chain_phases":{"type":"array","items":{"type":"string"}}}},"Command":{"required":["command_content","command_executor","payload_created_at","payload_execution_arch","payload_id","payload_name","payload_source","payload_status","payload_updated_at"],"type":"object","properties":{"typeEnum":{"type":"string","enum":["COMMAND","EXECUTABLE","FILE_DROP","DNS_RESOLUTION","NETWORK_TRAFFIC"]},"listened":{"type":"boolean"},"payload_id":{"type":"string"},"payload_type":{"type":"string"},"payload_name":{"type":"string"},"payload_description":{"type":"string"},"payload_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"payload_attack_patterns":{"type":"array","items":{"type":"string"}},"payload_cleanup_executor":{"type":"string"},"payload_cleanup_command":{"type":"string"},"payload_elevation_required":{"type":"boolean"},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_external_id":{"type":"string"},"payload_source":{"type":"string","enum":["COMMUNITY","FILIGRAN","MANUAL"]},"payload_status":{"type":"string","enum":["UNVERIFIED","VERIFIED","DEPRECATED"]},"payload_execution_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]},"payload_collector":{"type":"string"},"payload_tags":{"type":"array","items":{"type":"string"}},"payload_created_at":{"type":"string","format":"date-time"},"payload_updated_at":{"type":"string","format":"date-time"},"command_executor":{"type":"string"},"command_content":{"type":"string"},"payload_collector_type":{"type":"string"}}},"DnsResolution":{"required":["dns_resolution_hostname","payload_created_at","payload_execution_arch","payload_id","payload_name","payload_source","payload_status","payload_updated_at"],"type":"object","properties":{"typeEnum":{"type":"string","enum":["COMMAND","EXECUTABLE","FILE_DROP","DNS_RESOLUTION","NETWORK_TRAFFIC"]},"listened":{"type":"boolean"},"payload_id":{"type":"string"},"payload_type":{"type":"string"},"payload_name":{"type":"string"},"payload_description":{"type":"string"},"payload_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"payload_attack_patterns":{"type":"array","items":{"type":"string"}},"payload_cleanup_executor":{"type":"string"},"payload_cleanup_command":{"type":"string"},"payload_elevation_required":{"type":"boolean"},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_external_id":{"type":"string"},"payload_source":{"type":"string","enum":["COMMUNITY","FILIGRAN","MANUAL"]},"payload_status":{"type":"string","enum":["UNVERIFIED","VERIFIED","DEPRECATED"]},"payload_execution_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]},"payload_collector":{"type":"string"},"payload_tags":{"type":"array","items":{"type":"string"}},"payload_created_at":{"type":"string","format":"date-time"},"payload_updated_at":{"type":"string","format":"date-time"},"dns_resolution_hostname":{"type":"string"},"payload_collector_type":{"type":"string"}}},"Executable":{"required":["payload_created_at","payload_execution_arch","payload_id","payload_name","payload_source","payload_status","payload_updated_at"],"type":"object","properties":{"typeEnum":{"type":"string","enum":["COMMAND","EXECUTABLE","FILE_DROP","DNS_RESOLUTION","NETWORK_TRAFFIC"]},"listened":{"type":"boolean"},"payload_id":{"type":"string"},"payload_type":{"type":"string"},"payload_name":{"type":"string"},"payload_description":{"type":"string"},"payload_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"payload_attack_patterns":{"type":"array","items":{"type":"string"}},"payload_cleanup_executor":{"type":"string"},"payload_cleanup_command":{"type":"string"},"payload_elevation_required":{"type":"boolean"},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_external_id":{"type":"string"},"payload_source":{"type":"string","enum":["COMMUNITY","FILIGRAN","MANUAL"]},"payload_status":{"type":"string","enum":["UNVERIFIED","VERIFIED","DEPRECATED"]},"payload_execution_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]},"payload_collector":{"type":"string"},"payload_tags":{"type":"array","items":{"type":"string"}},"payload_created_at":{"type":"string","format":"date-time"},"payload_updated_at":{"type":"string","format":"date-time"},"executable_file":{"type":"string"},"payload_collector_type":{"type":"string"}}},"ExecutionTraces":{"required":["execution_created_at","execution_message","execution_trace_id","execution_updated_at"],"type":"object","properties":{"injectStatus":{"type":"string"},"injectTestStatus":{"type":"string"},"agent":{"type":"string"},"listened":{"type":"boolean"},"execution_trace_id":{"type":"string"},"execution_message":{"type":"string"},"execution_action":{"type":"string","enum":["START","PREREQUISITE_CHECK","PREREQUISITE_EXECUTION","EXECUTION","CLEANUP_EXECUTION","COMPLETE"]},"execution_status":{"type":"string","enum":["SUCCESS","ERROR","MAYBE_PREVENTED","COMMAND_NOT_FOUND","COMMAND_CANNOT_BE_EXECUTED","WARNING","PARTIAL","MAYBE_PARTIAL_PREVENTED","AGENT_INACTIVE","INFO"]},"execution_time":{"type":"string","format":"date-time"},"execution_context_identifiers":{"type":"array","items":{"type":"string"}},"execution_created_at":{"type":"string","format":"date-time"},"execution_updated_at":{"type":"string","format":"date-time"}}},"FileDrop":{"required":["payload_created_at","payload_execution_arch","payload_id","payload_name","payload_source","payload_status","payload_updated_at"],"type":"object","properties":{"typeEnum":{"type":"string","enum":["COMMAND","EXECUTABLE","FILE_DROP","DNS_RESOLUTION","NETWORK_TRAFFIC"]},"listened":{"type":"boolean"},"payload_id":{"type":"string"},"payload_type":{"type":"string"},"payload_name":{"type":"string"},"payload_description":{"type":"string"},"payload_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"payload_attack_patterns":{"type":"array","items":{"type":"string"}},"payload_cleanup_executor":{"type":"string"},"payload_cleanup_command":{"type":"string"},"payload_elevation_required":{"type":"boolean"},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_external_id":{"type":"string"},"payload_source":{"type":"string","enum":["COMMUNITY","FILIGRAN","MANUAL"]},"payload_status":{"type":"string","enum":["UNVERIFIED","VERIFIED","DEPRECATED"]},"payload_execution_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]},"payload_collector":{"type":"string"},"payload_tags":{"type":"array","items":{"type":"string"}},"payload_created_at":{"type":"string","format":"date-time"},"payload_updated_at":{"type":"string","format":"date-time"},"file_drop_file":{"type":"string"},"payload_collector_type":{"type":"string"}}},"Inject":{"required":["inject_created_at","inject_depends_duration","inject_id","inject_title","inject_updated_at"],"type":"object","properties":{"footer":{"type":"string"},"listened":{"type":"boolean"},"header":{"type":"string"},"inject_id":{"type":"string"},"inject_title":{"type":"string"},"inject_description":{"type":"string"},"inject_country":{"type":"string"},"inject_city":{"type":"string"},"inject_enabled":{"type":"boolean"},"inject_trigger_now_date":{"type":"string","format":"date-time"},"inject_content":{"type":"object"},"inject_created_at":{"type":"string","format":"date-time"},"inject_updated_at":{"type":"string","format":"date-time"},"inject_all_teams":{"type":"boolean"},"inject_exercise":{"type":"string"},"inject_scenario":{"type":"string"},"inject_depends_on":{"type":"array","items":{"$ref":"#/components/schemas/InjectDependency"}},"inject_depends_duration":{"minimum":0,"type":"integer","format":"int64"},"inject_injector_contract":{"$ref":"#/components/schemas/InjectorContract"},"inject_user":{"type":"string"},"inject_status":{"$ref":"#/components/schemas/InjectStatus"},"inject_tags":{"type":"array","items":{"type":"string"}},"inject_teams":{"type":"array","items":{"type":"string"}},"inject_assets":{"type":"array","items":{"type":"string"}},"inject_asset_groups":{"type":"array","items":{"type":"string"}},"inject_documents":{"type":"array","items":{"type":"string"}},"inject_communications":{"type":"array","items":{"type":"string"}},"inject_expectations":{"type":"array","items":{"type":"string"}},"inject_attack_patterns":{"type":"array","items":{"$ref":"#/components/schemas/AttackPattern"}},"inject_kill_chain_phases":{"type":"array","items":{"$ref":"#/components/schemas/KillChainPhase"}},"inject_ready":{"type":"boolean"},"inject_testable":{"type":"boolean"},"inject_sent_at":{"type":"string","format":"date-time"},"inject_communications_number":{"type":"integer","format":"int64"},"inject_users_number":{"type":"integer","format":"int64"},"inject_communications_not_ack_number":{"type":"integer","format":"int64"},"inject_type":{"type":"string"},"inject_date":{"type":"string","format":"date-time"}}},"InjectDependency":{"type":"object","properties":{"dependency_relationship":{"$ref":"#/components/schemas/InjectDependencyId"},"dependency_condition":{"$ref":"#/components/schemas/InjectDependencyCondition"},"dependency_created_at":{"type":"string","format":"date-time"},"dependency_updated_at":{"type":"string","format":"date-time"}}},"InjectDependencyId":{"type":"object","properties":{"inject_parent_id":{"type":"string"},"inject_children_id":{"type":"string"}}},"InjectStatus":{"required":["status_name"],"type":"object","properties":{"listened":{"type":"boolean"},"status_id":{"type":"string"},"status_name":{"type":"string","enum":["SUCCESS","ERROR","MAYBE_PREVENTED","PARTIAL","MAYBE_PARTIAL_PREVENTED","DRAFT","QUEUING","EXECUTING","PENDING"]},"tracking_sent_date":{"type":"string","format":"date-time"},"tracking_end_date":{"type":"string","format":"date-time"},"status_payload_output":{"$ref":"#/components/schemas/StatusPayload"},"status_traces":{"type":"array","items":{"$ref":"#/components/schemas/ExecutionTraces"}}}},"InjectorContract":{"required":["injector_contract_content","injector_contract_created_at","injector_contract_id","injector_contract_injector","injector_contract_updated_at"],"type":"object","properties":{"convertedContent":{"type":"object"},"listened":{"type":"boolean"},"injector_contract_id":{"type":"string"},"injector_contract_labels":{"type":"object","additionalProperties":{"type":"string"}},"injector_contract_manual":{"type":"boolean"},"injector_contract_content":{"type":"string"},"injector_contract_custom":{"type":"boolean"},"injector_contract_needs_executor":{"type":"boolean"},"injector_contract_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"injector_contract_payload":{"$ref":"#/components/schemas/Payload"},"injector_contract_created_at":{"type":"string","format":"date-time"},"injector_contract_updated_at":{"type":"string","format":"date-time"},"injector_contract_injector":{"type":"string"},"injector_contract_attack_patterns":{"type":"array","items":{"type":"string"}},"injector_contract_atomic_testing":{"type":"boolean"},"injector_contract_import_available":{"type":"boolean"},"injector_contract_injector_type":{"type":"string"},"injector_contract_injector_type_name":{"type":"string"},"injector_contract_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]}}},"NetworkTraffic":{"required":["network_traffic_ip_dst","network_traffic_ip_src","network_traffic_port_dst","network_traffic_port_src","network_traffic_protocol","payload_created_at","payload_execution_arch","payload_id","payload_name","payload_source","payload_status","payload_updated_at"],"type":"object","properties":{"typeEnum":{"type":"string","enum":["COMMAND","EXECUTABLE","FILE_DROP","DNS_RESOLUTION","NETWORK_TRAFFIC"]},"listened":{"type":"boolean"},"payload_id":{"type":"string"},"payload_type":{"type":"string"},"payload_name":{"type":"string"},"payload_description":{"type":"string"},"payload_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"payload_attack_patterns":{"type":"array","items":{"type":"string"}},"payload_cleanup_executor":{"type":"string"},"payload_cleanup_command":{"type":"string"},"payload_elevation_required":{"type":"boolean"},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_external_id":{"type":"string"},"payload_source":{"type":"string","enum":["COMMUNITY","FILIGRAN","MANUAL"]},"payload_status":{"type":"string","enum":["UNVERIFIED","VERIFIED","DEPRECATED"]},"payload_execution_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]},"payload_collector":{"type":"string"},"payload_tags":{"type":"array","items":{"type":"string"}},"payload_created_at":{"type":"string","format":"date-time"},"payload_updated_at":{"type":"string","format":"date-time"},"network_traffic_ip_src":{"type":"string"},"network_traffic_ip_dst":{"type":"string"},"network_traffic_port_src":{"type":"integer","format":"int32"},"network_traffic_port_dst":{"type":"integer","format":"int32"},"network_traffic_protocol":{"type":"string"},"payload_collector_type":{"type":"string"}}},"Payload":{"required":["payload_created_at","payload_execution_arch","payload_id","payload_name","payload_source","payload_status","payload_updated_at"],"type":"object","properties":{"typeEnum":{"type":"string","enum":["COMMAND","EXECUTABLE","FILE_DROP","DNS_RESOLUTION","NETWORK_TRAFFIC"]},"listened":{"type":"boolean"},"payload_id":{"type":"string"},"payload_type":{"type":"string"},"payload_name":{"type":"string"},"payload_description":{"type":"string"},"payload_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"payload_attack_patterns":{"type":"array","items":{"type":"string"}},"payload_cleanup_executor":{"type":"string"},"payload_cleanup_command":{"type":"string"},"payload_elevation_required":{"type":"boolean"},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_external_id":{"type":"string"},"payload_source":{"type":"string","enum":["COMMUNITY","FILIGRAN","MANUAL"]},"payload_status":{"type":"string","enum":["UNVERIFIED","VERIFIED","DEPRECATED"]},"payload_execution_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]},"payload_collector":{"type":"string"},"payload_tags":{"type":"array","items":{"type":"string"}},"payload_created_at":{"type":"string","format":"date-time"},"payload_updated_at":{"type":"string","format":"date-time"},"payload_collector_type":{"type":"string"}},"discriminator":{"propertyName":"payload_type","mapping":{"Command":"#/components/schemas/Command","Executable":"#/components/schemas/Executable","File":"#/components/schemas/FileDrop","Dns":"#/components/schemas/DnsResolution","Network":"#/components/schemas/NetworkTraffic"}},"oneOf":[{"$ref":"#/components/schemas/Command"},{"$ref":"#/components/schemas/Executable"},{"$ref":"#/components/schemas/FileDrop"},{"$ref":"#/components/schemas/DnsResolution"},{"$ref":"#/components/schemas/NetworkTraffic"}]},"PayloadArgument":{"required":["default_value","key","type"],"type":"object","properties":{"type":{"type":"string"},"key":{"type":"string"},"default_value":{"type":"string"},"description":{"type":"string"}}},"PayloadCommandBlock":{"type":"object","properties":{"command_executor":{"type":"string"},"command_content":{"type":"string"},"payload_cleanup_command":{"type":"array","items":{"type":"string"}}}},"PayloadPrerequisite":{"required":["executor","get_command"],"type":"object","properties":{"executor":{"type":"string"},"get_command":{"type":"string"},"check_command":{"type":"string"},"description":{"type":"string"}}},"StatusPayload":{"required":["network_traffic_ip_dst","network_traffic_ip_src","network_traffic_port_dst","network_traffic_port_src","network_traffic_protocol"],"type":"object","properties":{"payload_name":{"type":"string"},"payload_description":{"type":"string"},"payload_type":{"type":"string"},"payload_cleanup_executor":{"type":"string"},"payload_command_blocks":{"type":"array","items":{"$ref":"#/components/schemas/PayloadCommandBlock"}},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_external_id":{"type":"string"},"executable_file":{"$ref":"#/components/schemas/StatusPayloadDocument"},"file_drop_file":{"$ref":"#/components/schemas/StatusPayloadDocument"},"dns_resolution_hostname":{"type":"string"},"network_traffic_ip_src":{"type":"string"},"network_traffic_ip_dst":{"type":"string"},"network_traffic_port_src":{"type":"integer","format":"int32"},"network_traffic_port_dst":{"type":"integer","format":"int32"},"network_traffic_protocol":{"type":"string"}}},"StatusPayloadDocument":{"required":["document_id","document_name"],"type":"object","properties":{"document_id":{"type":"string"},"document_name":{"type":"string"}}},"InjectUpdateActivationInput":{"type":"object","properties":{"inject_enabled":{"type":"boolean"}}},"ArticleUpdateInput":{"required":["article_channel","article_name"],"type":"object","properties":{"article_name":{"type":"string"},"article_content":{"type":"string"},"article_author":{"type":"string"},"article_shares":{"type":"integer","format":"int32"},"article_likes":{"type":"integer","format":"int32"},"article_comments":{"type":"integer","format":"int32"},"article_documents":{"type":"array","items":{"type":"string"}},"article_channel":{"type":"string"},"article_published":{"type":"boolean"}}},"Article":{"required":["article_channel","article_created_at","article_id","article_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"article_id":{"type":"string"},"article_created_at":{"type":"string","format":"date-time"},"article_updated_at":{"type":"string","format":"date-time"},"article_name":{"type":"string"},"article_content":{"type":"string"},"article_author":{"type":"string"},"article_shares":{"type":"integer","format":"int32"},"article_likes":{"type":"integer","format":"int32"},"article_comments":{"type":"integer","format":"int32"},"article_exercise":{"type":"string"},"article_scenario":{"type":"string"},"article_channel":{"type":"string"},"article_documents":{"type":"array","items":{"type":"string"}},"article_virtual_publication":{"type":"string","format":"date-time"},"article_is_scheduled":{"type":"boolean"}}},"PlayerInput":{"required":["user_email"],"type":"object","properties":{"user_email":{"type":"string"},"user_firstname":{"type":"string"},"user_lastname":{"type":"string"},"user_organization":{"type":"string"},"user_country":{"type":"string"},"user_tags":{"type":"array","items":{"type":"string"}},"user_teams":{"type":"array","items":{"type":"string"}},"user_phone":{"pattern":"^\\+[\\d\\s\\-.()]+$","type":"string"},"user_phone2":{"pattern":"^\\+[\\d\\s\\-.()]+$","type":"string"},"user_pgp_key":{"type":"string"}}},"PayloadUpdateInput":{"required":["payload_name"],"type":"object","properties":{"payload_name":{"type":"string"},"payload_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"payload_description":{"type":"string"},"command_executor":{"type":"string","nullable":true},"command_content":{"type":"string","nullable":true},"payload_execution_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]},"executable_file":{"type":"string"},"file_drop_file":{"type":"string"},"dns_resolution_hostname":{"type":"string"},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_cleanup_executor":{"type":"string","nullable":true},"payload_cleanup_command":{"type":"string","nullable":true},"payload_tags":{"type":"array","items":{"type":"string"}},"payload_attack_patterns":{"type":"array","items":{"type":"string"}}}},"OrganizationUpdateInput":{"required":["organization_name"],"type":"object","properties":{"organization_name":{"type":"string"},"organization_description":{"type":"string"},"organization_tags":{"type":"array","items":{"type":"string"}}}},"Organization":{"required":["organization_created_at","organization_id","organization_name","organization_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"organization_id":{"type":"string"},"organization_name":{"type":"string"},"organization_description":{"type":"string"},"organization_created_at":{"type":"string","format":"date-time"},"organization_updated_at":{"type":"string","format":"date-time"},"organization_tags":{"type":"array","items":{"type":"string"}},"organization_injects":{"type":"array","items":{"type":"string"}},"organization_injects_number":{"type":"integer","format":"int64"}}},"MitigationUpdateInput":{"required":["mitigation_external_id","mitigation_name"],"type":"object","properties":{"mitigation_name":{"type":"string"},"mitigation_description":{"type":"string"},"mitigation_external_id":{"type":"string"},"mitigation_attack_patterns":{"type":"array","items":{"type":"string"}}}},"Mitigation":{"required":["mitigation_created_at","mitigation_external_id","mitigation_id","mitigation_name","mitigation_stix_id","mitigation_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"mitigation_id":{"type":"string"},"mitigation_stix_id":{"type":"string"},"mitigation_name":{"type":"string"},"mitigation_description":{"type":"string"},"mitigation_external_id":{"type":"string"},"mitigation_log_sources":{"type":"array","items":{"type":"string"}},"mitigation_threat_hunting_techniques":{"type":"string"},"mitigation_created_at":{"type":"string","format":"date-time"},"mitigation_updated_at":{"type":"string","format":"date-time"},"mitigation_attack_patterns":{"type":"array","items":{"type":"string"}}}},"UpdateProfileInput":{"required":["user_firstname","user_lastname"],"type":"object","properties":{"user_email":{"type":"string"},"user_firstname":{"type":"string"},"user_lastname":{"type":"string"},"user_organization":{"type":"string"},"user_lang":{"type":"string"},"user_theme":{"type":"string"},"user_country":{"type":"string"}}},"UpdateMePasswordInput":{"required":["user_current_password","user_plain_password"],"type":"object","properties":{"user_current_password":{"type":"string"},"user_plain_password":{"type":"string"}}},"UpdateUserInfoInput":{"type":"object","properties":{"user_pgp_key":{"type":"string"},"user_phone":{"type":"string"},"user_phone2":{"type":"string"}}},"ImportMapperUpdateInput":{"required":["import_mapper_inject_importers","import_mapper_inject_type_column","import_mapper_name"],"type":"object","properties":{"import_mapper_name":{"type":"string"},"import_mapper_inject_type_column":{"pattern":"^[A-Z]{1,2}$","type":"string"},"import_mapper_inject_importers":{"type":"array","items":{"$ref":"#/components/schemas/InjectImporterUpdateInput"}}}},"InjectImporterUpdateInput":{"required":["inject_importer_injector_contract","inject_importer_type_value"],"type":"object","properties":{"inject_importer_id":{"type":"string"},"inject_importer_type_value":{"type":"string"},"inject_importer_injector_contract":{"type":"string"},"inject_importer_rule_attributes":{"type":"array","items":{"$ref":"#/components/schemas/RuleAttributeUpdateInput"}}}},"RuleAttributeUpdateInput":{"required":["rule_attribute_name"],"type":"object","properties":{"rule_attribute_id":{"type":"string"},"rule_attribute_name":{"type":"string"},"rule_attribute_columns":{"type":"string","nullable":true},"rule_attribute_default_value":{"type":"string"},"rule_attribute_additional_config":{"type":"object","additionalProperties":{"type":"string"}}}},"ImportMapper":{"required":["import_mapper_id","import_mapper_inject_type_column","import_mapper_name"],"type":"object","properties":{"listened":{"type":"boolean"},"import_mapper_id":{"type":"string"},"import_mapper_name":{"type":"string"},"import_mapper_inject_type_column":{"type":"string"},"import_mapper_inject_importers":{"type":"array","items":{"$ref":"#/components/schemas/InjectImporter"}},"import_mapper_created_at":{"type":"string","format":"date-time"},"import_mapper_updated_at":{"type":"string","format":"date-time"}}},"InjectImporter":{"required":["inject_importer_id","inject_importer_injector_contract","inject_importer_type_value"],"type":"object","properties":{"listened":{"type":"boolean"},"inject_importer_id":{"type":"string"},"inject_importer_type_value":{"type":"string"},"inject_importer_injector_contract":{"type":"string"},"inject_importer_rule_attributes":{"type":"array","items":{"$ref":"#/components/schemas/RuleAttribute"}},"inject_importer_created_at":{"type":"string","format":"date-time"},"inject_importer_updated_at":{"type":"string","format":"date-time"}}},"RuleAttribute":{"required":["rule_attribute_id","rule_attribute_name"],"type":"object","properties":{"listened":{"type":"boolean"},"rule_attribute_id":{"type":"string"},"rule_attribute_name":{"type":"string"},"rule_attribute_columns":{"type":"string"},"rule_attribute_default_value":{"type":"string"},"rule_attribute_additional_config":{"type":"object","additionalProperties":{"type":"string"}},"rule_attribute_created_at":{"type":"string","format":"date-time"},"rule_attribute_updated_at":{"type":"string","format":"date-time"}}},"LessonsTemplateInput":{"required":["lessons_template_name"],"type":"object","properties":{"lessons_template_name":{"type":"string"},"lessons_template_description":{"type":"string"}}},"LessonsTemplate":{"required":["lessons_template_created_at","lessons_template_name","lessons_template_updated_at","lessonstemplate_id"],"type":"object","properties":{"listened":{"type":"boolean"},"lessonstemplate_id":{"type":"string"},"lessons_template_created_at":{"type":"string","format":"date-time"},"lessons_template_updated_at":{"type":"string","format":"date-time"},"lessons_template_name":{"type":"string"},"lessons_template_description":{"type":"string"}}},"LessonsTemplateCategoryInput":{"required":["lessons_template_category_name","lessons_template_category_order"],"type":"object","properties":{"lessons_template_category_name":{"type":"string"},"lessons_template_category_description":{"type":"string"},"lessons_template_category_order":{"type":"integer","format":"int32"}}},"LessonsTemplateCategory":{"required":["lessons_template_category_created_at","lessons_template_category_name","lessons_template_category_order","lessons_template_category_updated_at","lessonstemplatecategory_id"],"type":"object","properties":{"listened":{"type":"boolean"},"lessonstemplatecategory_id":{"type":"string"},"lessons_template_category_template":{"type":"string"},"lessons_template_category_created_at":{"type":"string","format":"date-time"},"lessons_template_category_updated_at":{"type":"string","format":"date-time"},"lessons_template_category_name":{"type":"string"},"lessons_template_category_description":{"type":"string"},"lessons_template_category_order":{"type":"integer","format":"int32"},"lessons_template_category_questions":{"type":"array","items":{"type":"string"}}}},"LessonsTemplateQuestionInput":{"required":["lessons_template_question_content","lessons_template_question_order"],"type":"object","properties":{"lessons_template_question_content":{"type":"string"},"lessons_template_question_explanation":{"type":"string"},"lessons_template_question_order":{"type":"integer","format":"int32"}}},"LessonsTemplateQuestion":{"required":["lessons_template_question_content","lessons_template_question_created_at","lessons_template_question_order","lessons_template_question_updated_at","lessonstemplatequestion_id"],"type":"object","properties":{"listened":{"type":"boolean"},"lessonstemplatequestion_id":{"type":"string"},"lessons_template_question_category":{"type":"string"},"lessons_template_question_created_at":{"type":"string","format":"date-time"},"lessons_template_question_updated_at":{"type":"string","format":"date-time"},"lessons_template_question_content":{"type":"string"},"lessons_template_question_explanation":{"type":"string"},"lessons_template_question_order":{"type":"integer","format":"int32"}}},"KillChainPhaseUpdateInput":{"required":["phase_kill_chain_name","phase_name"],"type":"object","properties":{"phase_kill_chain_name":{"type":"string"},"phase_name":{"type":"string"},"phase_order":{"type":"integer","format":"int64"}}},"Filter":{"required":["key"],"type":"object","properties":{"key":{"type":"string"},"mode":{"type":"string","enum":["and","or"]},"values":{"type":"array","items":{"type":"string"}},"operator":{"type":"string","enum":["eq","not_eq","contains","not_contains","starts_with","not_starts_with","gt","gte","lt","lte","empty","not_empty"]}}},"FilterGroup":{"required":["mode"],"type":"object","properties":{"mode":{"type":"string","enum":["and","or"]},"filters":{"type":"array","items":{"$ref":"#/components/schemas/Filter"}}},"description":"Filter object to search within filterable attributes"},"InjectBulkUpdateInputs":{"type":"object","properties":{"search_pagination_input":{"$ref":"#/components/schemas/SearchPaginationInput"},"inject_ids_to_process":{"type":"array","items":{"type":"string"}},"inject_ids_to_ignore":{"type":"array","items":{"type":"string"}},"simulation_or_scenario_id":{"type":"string"},"update_operations":{"type":"array","items":{"$ref":"#/components/schemas/InjectBulkUpdateOperation"}}}},"InjectBulkUpdateOperation":{"type":"object","properties":{"operation":{"type":"string","enum":["add","remove","replace"]},"field":{"type":"string","enum":["assets","asset_groups","teams"]},"values":{"type":"array","items":{"type":"string"}}}},"SearchPaginationInput":{"required":["page","size"],"type":"object","properties":{"page":{"minimum":0,"type":"integer","description":"Page number to get","format":"int32"},"size":{"maximum":1000,"type":"integer","description":"Element number by page","format":"int32"},"filterGroup":{"$ref":"#/components/schemas/FilterGroup"},"textSearch":{"type":"string","description":"Text to search within searchable attributes"},"sorts":{"type":"array","description":"List of sort fields : a field is composed of a property (for instance \"label\" and an optional direction (\"asc\" is assumed if no direction is specified) : (\"desc\", \"asc\")","items":{"$ref":"#/components/schemas/SortField"}}}},"SortField":{"type":"object","properties":{"property":{"type":"string"},"direction":{"type":"string"}},"description":"List of sort fields : a field is composed of a property (for instance \"label\" and an optional direction (\"asc\" is assumed if no direction is specified) : (\"desc\", \"asc\")"},"InjectExpectationUpdateInput":{"required":["collector_id","is_success","result"],"type":"object","properties":{"collector_id":{"type":"string"},"result":{"type":"string"},"is_success":{"type":"boolean"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"InjectExpectation":{"required":["inject_expectation_expected_score","inject_expectation_id","inject_expectation_type","inject_expiration_time"],"type":"object","properties":{"listened":{"type":"boolean"},"inject_expectation_type":{"type":"string","enum":["TEXT","DOCUMENT","ARTICLE","CHALLENGE","MANUAL","PREVENTION","DETECTION"]},"inject_expectation_id":{"type":"string"},"inject_expectation_name":{"type":"string"},"inject_expectation_description":{"type":"string"},"inject_expectation_signatures":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectationSignature"}},"inject_expectation_results":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectationResult"}},"inject_expectation_score":{"type":"number","format":"double"},"inject_expectation_expected_score":{"type":"number","format":"double"},"inject_expiration_time":{"type":"integer","format":"int64"},"inject_expectation_created_at":{"type":"string","format":"date-time"},"inject_expectation_updated_at":{"type":"string","format":"date-time"},"inject_expectation_group":{"type":"boolean"},"inject_expectation_exercise":{"type":"string"},"inject_expectation_inject":{"type":"string"},"inject_expectation_user":{"type":"string"},"inject_expectation_team":{"type":"string"},"inject_expectation_agent":{"type":"string"},"inject_expectation_asset":{"type":"string"},"inject_expectation_asset_group":{"type":"string"},"inject_expectation_article":{"type":"string"},"inject_expectation_challenge":{"type":"string"},"target_id":{"type":"string"},"inject_expectation_status":{"type":"string","enum":["FAILED","PENDING","PARTIAL","UNKNOWN","SUCCESS"]}}},"InjectExpectationResult":{"required":["result"],"type":"object","properties":{"sourceId":{"type":"string"},"sourceType":{"type":"string"},"sourceName":{"type":"string"},"date":{"type":"string"},"score":{"type":"number","format":"double"},"result":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"}}}},"InjectExpectationSignature":{"type":"object","properties":{"type":{"type":"string"},"value":{"type":"string"}}},"InjectorContractInput":{"required":["contract_content","contract_id"],"type":"object","properties":{"atomicTesting":{"type":"boolean"},"contract_id":{"type":"string"},"contract_manual":{"type":"boolean"},"contract_labels":{"type":"object","additionalProperties":{"type":"string"}},"contract_attack_patterns_external_ids":{"type":"array","items":{"type":"string"}},"contract_content":{"type":"string"},"is_atomic_testing":{"type":"boolean"},"contract_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}}}},"InjectorUpdateInput":{"required":["injector_name"],"type":"object","properties":{"injector_name":{"type":"string"},"injector_contracts":{"type":"array","items":{"$ref":"#/components/schemas/InjectorContractInput"}},"injector_custom_contracts":{"type":"boolean"},"injector_category":{"type":"string"},"injector_executor_commands":{"type":"object","additionalProperties":{"type":"string"}},"injector_executor_clear_commands":{"type":"object","additionalProperties":{"type":"string"}},"injector_payloads":{"type":"boolean"}}},"Injector":{"required":["injector_created_at","injector_id","injector_name","injector_type","injector_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"injector_id":{"type":"string"},"injector_name":{"type":"string"},"injector_type":{"type":"string"},"injector_category":{"type":"string"},"injector_external":{"type":"boolean"},"injector_custom_contracts":{"type":"boolean"},"injector_executor_commands":{"type":"object","additionalProperties":{"type":"string"}},"injector_executor_clear_commands":{"type":"object","additionalProperties":{"type":"string"}},"injector_payloads":{"type":"boolean"},"injector_created_at":{"type":"string","format":"date-time"},"injector_updated_at":{"type":"string","format":"date-time"}}},"InjectorContractUpdateInput":{"required":["contract_content"],"type":"object","properties":{"atomicTesting":{"type":"boolean"},"contract_manual":{"type":"boolean"},"contract_labels":{"type":"object","additionalProperties":{"type":"string"}},"contract_attack_patterns_ids":{"type":"array","items":{"type":"string"}},"contract_content":{"type":"string"},"is_atomic_testing":{"type":"boolean"},"contract_platforms":{"type":"array","items":{"type":"string"}}}},"InjectorContractUpdateMappingInput":{"type":"object","properties":{"contract_attack_patterns_ids":{"type":"array","items":{"type":"string"}}}},"GroupUpdateUsersInput":{"type":"object","properties":{"group_users":{"type":"array","items":{"type":"string"}}}},"Grant":{"required":["grant_id","grant_name"],"type":"object","properties":{"listened":{"type":"boolean"},"grant_id":{"type":"string"},"grant_name":{"type":"string","enum":["OBSERVER","PLANNER"]},"grant_group":{"type":"string"},"grant_exercise":{"type":"string"},"grant_scenario":{"type":"string"}}},"Group":{"required":["group_id","group_name"],"type":"object","properties":{"listened":{"type":"boolean"},"group_id":{"type":"string"},"group_name":{"type":"string"},"group_description":{"type":"string"},"group_default_user_assign":{"type":"boolean"},"group_default_exercise_assign":{"type":"array","items":{"type":"string","enum":["OBSERVER","PLANNER"]}},"group_default_scenario_assign":{"type":"array","items":{"type":"string","enum":["OBSERVER","PLANNER"]}},"group_grants":{"type":"array","items":{"$ref":"#/components/schemas/Grant"}},"group_users":{"type":"array","items":{"type":"string"}},"group_organizations":{"type":"array","items":{"type":"string"}},"group_default_scenario_planner":{"type":"boolean"},"group_default_exercise_planner":{"type":"boolean"},"group_default_exercise_observer":{"type":"boolean"},"group_default_scenario_observer":{"type":"boolean"}}},"GroupCreateInput":{"required":["group_name"],"type":"object","properties":{"group_name":{"type":"string"},"group_description":{"type":"string"},"group_default_user_assign":{"type":"boolean"},"group_default_exercise_observer":{"type":"boolean"},"group_default_exercise_planner":{"type":"boolean"},"group_default_scenario_observer":{"type":"boolean"},"group_default_scenario_planner":{"type":"boolean"}}},"FindingInput":{"required":["finding_field","finding_type","finding_value"],"type":"object","properties":{"finding_field":{"type":"string"},"finding_type":{"type":"string","enum":["text","Number","port","IPv4","IPv6","Credentials"]},"finding_value":{"type":"string"},"finding_labels":{"type":"array","items":{"type":"string"}},"finding_inject_id":{"type":"string"}}},"Finding":{"required":["finding_created_at","finding_field","finding_id","finding_type","finding_updated_at","finding_value"],"type":"object","properties":{"listened":{"type":"boolean"},"finding_id":{"type":"string"},"finding_field":{"type":"string"},"finding_type":{"type":"string","enum":["text","Number","port","IPv4","IPv6","Credentials"]},"finding_value":{"type":"string"},"finding_labels":{"type":"array","items":{"type":"string"}},"finding_inject_id":{"type":"string"},"finding_created_at":{"type":"string","format":"date-time"},"finding_updated_at":{"type":"string","format":"date-time"}}},"ExpectationUpdateInput":{"required":["expectation_score","source_id","source_name","source_type"],"type":"object","properties":{"source_id":{"type":"string"},"source_type":{"type":"string"},"source_name":{"type":"string"},"expectation_score":{"type":"number","format":"double"}}},"UpdateExerciseInput":{"required":["exercise_name"],"type":"object","properties":{"exercise_name":{"type":"string"},"exercise_subtitle":{"type":"string"},"exercise_category":{"type":"string"},"exercise_main_focus":{"type":"string"},"exercise_severity":{"type":"string"},"exercise_description":{"type":"string"},"exercise_start_date":{"type":"string","format":"date-time","nullable":true},"exercise_tags":{"type":"array","items":{"type":"string"}},"exercise_mail_from":{"type":"string"},"exercise_mails_reply_to":{"type":"array","items":{"type":"string"}},"exercise_message_header":{"type":"string"},"exercise_message_footer":{"type":"string"},"apply_tag_rule":{"type":"boolean"}}},"Exercise":{"required":["exercise_created_at","exercise_id","exercise_mail_from","exercise_name","exercise_status","exercise_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"exercise_id":{"type":"string"},"exercise_name":{"type":"string"},"exercise_description":{"type":"string"},"exercise_status":{"type":"string","enum":["SCHEDULED","CANCELED","RUNNING","PAUSED","FINISHED"]},"exercise_subtitle":{"type":"string"},"exercise_category":{"type":"string"},"exercise_main_focus":{"type":"string"},"exercise_severity":{"type":"string","enum":["low","medium","high","critical"]},"exercise_start_date":{"type":"string","format":"date-time"},"exercise_end_date":{"type":"string","format":"date-time"},"exercise_message_header":{"type":"string"},"exercise_message_footer":{"type":"string"},"exercise_mail_from":{"type":"string"},"exercise_mails_reply_to":{"type":"array","items":{"type":"string"}},"exercise_logo_dark":{"type":"string"},"exercise_logo_light":{"type":"string"},"exercise_lessons_anonymized":{"type":"boolean"},"exercise_scenario":{"type":"string"},"exercise_created_at":{"type":"string","format":"date-time"},"exercise_updated_at":{"type":"string","format":"date-time"},"exercise_injects":{"type":"array","items":{"type":"string"}},"exercise_teams":{"type":"array","items":{"type":"string"}},"exercise_teams_users":{"type":"array","items":{"$ref":"#/components/schemas/ExerciseTeamUser"}},"exercise_pauses":{"type":"array","items":{"type":"string"}},"exercise_tags":{"type":"array","items":{"type":"string"}},"exercise_documents":{"type":"array","items":{"type":"string"}},"exercise_articles":{"type":"array","items":{"type":"string"}},"exercise_lessons_categories":{"type":"array","items":{"type":"string"}},"exercise_variables":{"type":"array","items":{"type":"string"}},"exercise_users":{"type":"array","items":{"type":"string"}},"exercise_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"exercise_next_possible_status":{"type":"array","items":{"type":"string","enum":["SCHEDULED","CANCELED","RUNNING","PAUSED","FINISHED"]}},"exercise_kill_chain_phases":{"type":"array","items":{"$ref":"#/components/schemas/KillChainPhase"}},"exercise_injects_statistics":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"exercise_observers":{"type":"array","items":{"type":"string"}},"exercise_lessons_answers_number":{"type":"integer","format":"int64"},"exercise_planners":{"type":"array","items":{"type":"string"}},"exercise_next_inject_date":{"type":"string","format":"date-time"},"exercise_all_users_number":{"type":"integer","format":"int64"},"exercise_users_number":{"type":"integer","format":"int64"},"exercise_score":{"type":"number","format":"double"},"exercise_logs_number":{"type":"integer","format":"int64"},"exercise_communications_number":{"type":"integer","format":"int64"}}},"ExerciseTeamUser":{"type":"object","properties":{"exercise_id":{"type":"string"},"team_id":{"type":"string"},"user_id":{"type":"string"}}},"ExerciseTeamPlayersEnableInput":{"type":"object","properties":{"exercise_team_players":{"type":"array","items":{"type":"string"}}}},"ExerciseUpdateTeamsInput":{"type":"object","properties":{"exercise_teams":{"type":"array","items":{"type":"string"}}}},"ExerciseUpdateTagsInput":{"type":"object","properties":{"exercise_tags":{"type":"array","items":{"type":"string"}},"apply_tag_rule":{"type":"boolean"}}},"ExerciseUpdateStatusInput":{"type":"object","properties":{"exercise_status":{"type":"string","enum":["SCHEDULED","CANCELED","RUNNING","PAUSED","FINISHED"]}}},"ExerciseUpdateStartDateInput":{"type":"object","properties":{"exercise_start_date":{"type":"string","format":"date-time"}}},"ReportInformationInput":{"required":["report_informations_display","report_informations_type"],"type":"object","properties":{"report_informations_type":{"type":"string","enum":["MAIN_INFORMATION","SCORE_DETAILS","INJECT_RESULT","GLOBAL_OBSERVATION","PLAYER_SURVEYS","EXERCISE_DETAILS"]},"report_informations_display":{"type":"boolean"}}},"ReportInput":{"required":["report_name"],"type":"object","properties":{"report_name":{"type":"string"},"report_informations":{"type":"array","items":{"$ref":"#/components/schemas/ReportInformationInput"}},"report_global_observation":{"type":"string"}}},"Report":{"required":["report_created_at","report_id","report_name","report_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"report_id":{"type":"string"},"report_name":{"type":"string"},"report_global_observation":{"type":"string"},"report_created_at":{"type":"string","format":"date-time"},"report_updated_at":{"type":"string","format":"date-time"},"report_informations":{"type":"array","items":{"$ref":"#/components/schemas/ReportInformation"}},"report_exercise":{"type":"string"},"report_injects_comments":{"type":"array","items":{"$ref":"#/components/schemas/ReportInjectComment"}}}},"ReportInformation":{"required":["id","report","report_informations_type"],"type":"object","properties":{"id":{"type":"string"},"report":{"type":"string"},"listened":{"type":"boolean"},"report_informations_type":{"type":"string","enum":["MAIN_INFORMATION","SCORE_DETAILS","INJECT_RESULT","GLOBAL_OBSERVATION","PLAYER_SURVEYS","EXERCISE_DETAILS"]},"report_informations_display":{"type":"boolean"}}},"ReportInjectComment":{"type":"object","properties":{"report_inject_comment":{"type":"string"},"inject_id":{"type":"string"},"report_id":{"type":"string"}}},"ReportInjectCommentInput":{"required":["inject_id"],"type":"object","properties":{"inject_id":{"type":"string"},"report_inject_comment":{"type":"string"}}},"LogCreateInput":{"type":"object","properties":{"log_title":{"type":"string"},"log_content":{"type":"string"},"log_tags":{"type":"array","items":{"type":"string"}}}},"Log":{"required":["log_content","log_created_at","log_id","log_title","log_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"log_id":{"type":"string"},"log_exercise":{"type":"string"},"log_user":{"type":"string"},"log_title":{"type":"string"},"log_content":{"type":"string"},"log_created_at":{"type":"string","format":"date-time"},"log_updated_at":{"type":"string","format":"date-time"},"log_tags":{"type":"array","items":{"type":"string"}}}},"ExerciseUpdateLogoInput":{"type":"object","properties":{"exercise_logo_dark":{"type":"string"},"exercise_logo_light":{"type":"string"}}},"InjectTeamsInput":{"type":"object","properties":{"inject_teams":{"type":"array","items":{"type":"string"}}}},"ExecutorUpdateInput":{"type":"object","properties":{"executor_last_execution":{"type":"string","format":"date-time"}}},"Executor":{"required":["executor_created_at","executor_id","executor_name","executor_type","executor_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"executor_id":{"type":"string"},"executor_name":{"type":"string"},"executor_type":{"type":"string"},"executor_platforms":{"type":"array","items":{"type":"string"}},"executor_doc":{"type":"string"},"executor_created_at":{"type":"string","format":"date-time"},"executor_updated_at":{"type":"string","format":"date-time"}}},"EndpointUpdateInput":{"required":["asset_name"],"type":"object","properties":{"asset_name":{"type":"string"},"asset_description":{"type":"string"},"asset_tags":{"type":"array","items":{"type":"string"}}}},"AgentOutput":{"required":["agent_id"],"type":"object","properties":{"agent_id":{"type":"string","description":"Agent id"},"agent_privilege":{"type":"string","description":"Agent privilege","enum":["admin","standard"]},"agent_deployment_mode":{"type":"string","description":"Agent deployment mode","enum":["service","session"]},"agent_executed_by_user":{"type":"string","description":"The user who executed the agent"},"agent_executor":{"$ref":"#/components/schemas/ExecutorOutput"},"agent_active":{"type":"boolean","description":"Indicates whether the endpoint is active. The endpoint is considered active if it was seen in the last 3 minutes."},"agent_last_seen":{"type":"string","description":"Instant when agent was last seen","format":"date-time"}},"description":"List of primary agents"},"EndpointOverviewOutput":{"required":["asset_agents","asset_id","asset_name"],"type":"object","properties":{"asset_id":{"type":"string","description":"Asset Id"},"asset_name":{"type":"string","description":"Asset name"},"asset_description":{"type":"string","description":"Asset description"},"endpoint_hostname":{"type":"string","description":"Hostname"},"endpoint_platform":{"type":"string","description":"Platform","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]},"endpoint_arch":{"type":"string","description":"Architecture","enum":["x86_64","arm64","Unknown"]},"endpoint_ips":{"uniqueItems":true,"type":"array","description":"List IPs","items":{"type":"string","description":"List IPs"}},"endpoint_mac_addresses":{"uniqueItems":true,"type":"array","description":"List of MAC addresses","items":{"type":"string","description":"List of MAC addresses"}},"asset_agents":{"uniqueItems":true,"type":"array","description":"List of primary agents","items":{"$ref":"#/components/schemas/AgentOutput"}},"asset_tags":{"uniqueItems":true,"type":"array","description":"Tags","items":{"type":"string","description":"Tags"}}}},"ExecutorOutput":{"type":"object","properties":{"executor_id":{"type":"string","description":"Agent executor id"},"executor_name":{"type":"string","description":"Agent executor name"},"executor_type":{"type":"string","description":"Agent executor type"}},"description":"Agent executor"},"DocumentUpdateInput":{"type":"object","properties":{"document_description":{"type":"string"},"document_tags":{"type":"array","items":{"type":"string"}},"document_exercises":{"type":"array","items":{"type":"string"}},"document_scenarios":{"type":"array","items":{"type":"string"}}}},"Document":{"required":["document_id","document_name","document_type"],"type":"object","properties":{"listened":{"type":"boolean"},"document_id":{"type":"string"},"document_name":{"type":"string"},"document_target":{"type":"string"},"document_description":{"type":"string"},"document_type":{"type":"string"},"document_tags":{"type":"array","items":{"type":"string"}},"document_exercises":{"type":"array","items":{"type":"string"}},"document_scenarios":{"type":"array","items":{"type":"string"}}}},"DocumentTagUpdateInput":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"}}}},"CollectorUpdateInput":{"type":"object","properties":{"collector_last_execution":{"type":"string","format":"date-time"}}},"Collector":{"required":["collector_created_at","collector_id","collector_name","collector_type","collector_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"collector_id":{"type":"string"},"collector_name":{"type":"string"},"collector_type":{"type":"string"},"collector_period":{"type":"integer","format":"int32"},"collector_external":{"type":"boolean"},"collector_created_at":{"type":"string","format":"date-time"},"collector_updated_at":{"type":"string","format":"date-time"},"collector_last_execution":{"type":"string","format":"date-time"},"collector_security_platform":{"$ref":"#/components/schemas/SecurityPlatform"}}},"ChannelUpdateInput":{"required":["channel_description","channel_name","channel_type"],"type":"object","properties":{"channel_type":{"type":"string"},"channel_name":{"type":"string"},"channel_description":{"type":"string"},"channel_mode":{"type":"string"},"channel_primary_color_dark":{"type":"string"},"channel_primary_color_light":{"type":"string"},"channel_secondary_color_dark":{"type":"string"},"channel_secondary_color_light":{"type":"string"}}},"Channel":{"required":["channel_created_at","channel_id","channel_updated_at"],"type":"object","properties":{"logos":{"type":"array","items":{"$ref":"#/components/schemas/Document"}},"listened":{"type":"boolean"},"channel_id":{"type":"string"},"channel_created_at":{"type":"string","format":"date-time"},"channel_updated_at":{"type":"string","format":"date-time"},"channel_type":{"type":"string"},"channel_name":{"type":"string"},"channel_description":{"type":"string"},"channel_mode":{"type":"string"},"channel_primary_color_dark":{"type":"string"},"channel_primary_color_light":{"type":"string"},"channel_secondary_color_dark":{"type":"string"},"channel_secondary_color_light":{"type":"string"},"channel_logo_dark":{"type":"string"},"channel_logo_light":{"type":"string"}}},"ChannelUpdateLogoInput":{"type":"object","properties":{"channel_logo_dark":{"type":"string"},"channel_logo_light":{"type":"string"}}},"ChallengeInput":{"required":["challenge_flags","challenge_name"],"type":"object","properties":{"challenge_name":{"type":"string"},"challenge_category":{"type":"string"},"challenge_content":{"type":"string"},"challenge_score":{"type":"number","format":"double"},"challenge_max_attempts":{"type":"integer","format":"int32"},"challenge_tags":{"type":"array","items":{"type":"string"}},"challenge_documents":{"type":"array","items":{"type":"string"}},"challenge_flags":{"type":"array","items":{"$ref":"#/components/schemas/FlagInput"}}}},"FlagInput":{"required":["flag_type","flag_value"],"type":"object","properties":{"flag_type":{"type":"string"},"flag_value":{"type":"string"}}},"Challenge":{"required":["challenge_created_at","challenge_flags","challenge_id","challenge_name","challenge_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"challenge_id":{"type":"string"},"challenge_created_at":{"type":"string","format":"date-time"},"challenge_updated_at":{"type":"string","format":"date-time"},"challenge_name":{"type":"string"},"challenge_category":{"type":"string"},"challenge_content":{"type":"string"},"challenge_score":{"type":"number","format":"double"},"challenge_max_attempts":{"type":"integer","format":"int32"},"challenge_flags":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeFlag"}},"challenge_tags":{"type":"array","items":{"type":"string"}},"challenge_documents":{"type":"array","items":{"type":"string"}},"challenge_exercises":{"type":"array","items":{"type":"string"}},"challenge_scenarios":{"type":"array","items":{"type":"string"}},"challenge_virtual_publication":{"type":"string","format":"date-time"}}},"ChallengeFlag":{"type":"object","properties":{"listened":{"type":"boolean"},"flag_id":{"type":"string"},"flag_created_at":{"type":"string","format":"date-time"},"flag_updated_at":{"type":"string","format":"date-time"},"flag_type":{"type":"string","enum":["VALUE","VALUE_CASE","REGEXP"]},"flag_value":{"type":"string"},"flag_challenge":{"type":"string"}}},"AttackPatternUpdateInput":{"required":["attack_pattern_external_id","attack_pattern_name"],"type":"object","properties":{"attack_pattern_name":{"type":"string"},"attack_pattern_description":{"type":"string"},"attack_pattern_external_id":{"type":"string"},"attack_pattern_kill_chain_phases":{"type":"array","items":{"type":"string"}}}},"AtomicTestingInput":{"type":"object","properties":{"inject_title":{"type":"string"},"inject_description":{"type":"string"},"inject_injector_contract":{"type":"string"},"inject_content":{"type":"object"},"inject_teams":{"type":"array","items":{"type":"string"}},"inject_assets":{"type":"array","items":{"type":"string"}},"inject_asset_groups":{"type":"array","items":{"type":"string"}},"inject_documents":{"type":"array","items":{"$ref":"#/components/schemas/InjectDocumentInput"}},"inject_all_teams":{"type":"boolean"},"inject_tags":{"type":"array","items":{"type":"string"}}}},"AgentStatusOutput":{"required":["agent_id","asset_id"],"type":"object","properties":{"asset_id":{"type":"string","description":"Endpoint ID"},"agent_id":{"type":"string"},"agent_name":{"type":"string"},"agent_executor_name":{"type":"string"},"agent_executor_type":{"type":"string"},"tracking_sent_date":{"type":"string","format":"date-time"},"tracking_end_date":{"type":"string","format":"date-time"},"agent_status_name":{"type":"string","description":"Execution status of the agent","example":"SUCCESS, ERROR, MAYBE_PREVENTED..."},"agent_traces":{"type":"array","description":"List of agent execution traces","items":{"$ref":"#/components/schemas/ExecutionTracesOutput"}}},"description":"Represents the output result details of an agent execution"},"AtomicInjectorContractOutput":{"required":["injector_contract_content","injector_contract_id","injector_contract_labels"],"type":"object","properties":{"injector_contract_id":{"type":"string"},"injector_contract_content":{"type":"string"},"convertedContent":{"type":"object"},"injector_contract_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"injector_contract_payload":{"$ref":"#/components/schemas/PayloadSimple"},"injector_contract_labels":{"type":"object","additionalProperties":{"type":"string"}}},"description":"Full contract"},"AttackPatternSimple":{"required":["attack_pattern_external_id","attack_pattern_id","attack_pattern_name"],"type":"object","properties":{"attack_pattern_id":{"type":"string"},"attack_pattern_name":{"type":"string"},"attack_pattern_external_id":{"type":"string"}},"description":"Attack pattern"},"ExecutionTracesOutput":{"required":["execution_action","execution_message","execution_status","execution_time"],"type":"object","properties":{"execution_status":{"type":"string","description":"The status of the execution trace","example":"SUCCESS, ERROR, COMMAND_NOT_FOUND, WARNING, COMMAND_CANNOT_BE_EXECUTED..","enum":["SUCCESS","ERROR","MAYBE_PREVENTED","COMMAND_NOT_FOUND","COMMAND_CANNOT_BE_EXECUTED","WARNING","PARTIAL","MAYBE_PARTIAL_PREVENTED","AGENT_INACTIVE","INFO"]},"execution_time":{"type":"string","format":"date-time"},"execution_message":{"type":"string","description":"A detailed message describing the execution"},"execution_action":{"type":"string","description":"The action that created this execution trace","example":"START, PREREQUISITE_CHECK, PREREQUISITE_EXECUTION, EXECUTION, CLEANUP_EXECUTION or COMPLETE","enum":["START","PREREQUISITE_CHECK","PREREQUISITE_EXECUTION","EXECUTION","CLEANUP_EXECUTION","COMPLETE"]}},"description":"Represents a single execution trace detail"},"ExpectationResultsByType":{"required":["avgResult","distribution","type"],"type":"object","properties":{"type":{"type":"string","enum":["DETECTION","HUMAN_RESPONSE","PREVENTION"]},"avgResult":{"type":"string","enum":["FAILED","PENDING","PARTIAL","UNKNOWN","SUCCESS"]},"distribution":{"type":"array","items":{"$ref":"#/components/schemas/ResultDistribution"}}}},"InjectExpectationSimple":{"required":["inject_expectation_id"],"type":"object","properties":{"inject_expectation_id":{"type":"string"},"inject_expectation_name":{"type":"string"}},"description":"Expectations"},"InjectResultOverviewOutput":{"required":["inject_expectation_results","inject_id","inject_injector_contract","inject_targets","inject_title"],"type":"object","properties":{"inject_id":{"type":"string","description":"Id of inject"},"inject_title":{"type":"string","description":"Title of inject"},"inject_description":{"type":"string","description":"Description of inject"},"inject_content":{"type":"object"},"inject_type":{"type":"string","description":"Type of inject"},"injects_tags":{"type":"array","description":"Tags","items":{"type":"string","description":"Tags"}},"injects_documents":{"type":"array","description":"Documents","items":{"type":"string","description":"Documents"}},"inject_injector_contract":{"$ref":"#/components/schemas/AtomicInjectorContractOutput"},"inject_status":{"$ref":"#/components/schemas/InjectStatusOutput"},"inject_expectations":{"type":"array","description":"Expectations","items":{"$ref":"#/components/schemas/InjectExpectationSimple"}},"inject_kill_chain_phases":{"type":"array","description":"Kill chain phases","items":{"$ref":"#/components/schemas/KillChainPhaseSimple"}},"inject_attack_patterns":{"type":"array","description":"Attack pattern","items":{"$ref":"#/components/schemas/AttackPatternSimple"}},"inject_ready":{"type":"boolean","description":"Indicates whether the inject is ready for use"},"inject_updated_at":{"type":"string","description":"Timestamp when the inject was last updated","format":"date-time"},"inject_expectation_results":{"type":"array","description":"Result of expectations","items":{"$ref":"#/components/schemas/ExpectationResultsByType"}},"inject_targets":{"type":"array","description":"Results of expectations for each target","items":{"$ref":"#/components/schemas/InjectTargetWithResult"}}}},"InjectStatusOutput":{"required":["status_id"],"type":"object","properties":{"status_id":{"type":"string"},"status_name":{"type":"string"},"status_main_traces":{"type":"array","items":{"$ref":"#/components/schemas/ExecutionTracesOutput"}},"status_traces_by_agent":{"type":"array","items":{"$ref":"#/components/schemas/AgentStatusOutput"}},"tracking_sent_date":{"type":"string","format":"date-time"},"tracking_end_date":{"type":"string","format":"date-time"}},"description":"status"},"InjectTargetWithResult":{"required":["id","targetType"],"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"expectationResultsByTypes":{"type":"array","items":{"$ref":"#/components/schemas/ExpectationResultsByType"}},"children":{"type":"array","items":{"$ref":"#/components/schemas/InjectTargetWithResult"}},"targetType":{"type":"string","enum":["AGENT","ASSETS","ASSETS_GROUPS","PLAYER","TEAMS"]},"platformType":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]},"executorType":{"type":"string"}},"description":"Results of expectations for each target"},"KillChainPhaseSimple":{"required":["phase_id"],"type":"object","properties":{"phase_id":{"type":"string"},"phase_name":{"type":"string"}},"description":"Kill chain phases"},"PayloadSimple":{"type":"object","properties":{"payload_id":{"type":"string"},"payload_type":{"type":"string"},"payload_collector_type":{"type":"string"}}},"ResultDistribution":{"required":["id","label","value"],"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"integer","format":"int32"}}},"AtomicTestingUpdateTagsInput":{"type":"object","properties":{"atomic_tags":{"type":"array","items":{"type":"string"}}}},"AssetGroupInput":{"required":["asset_group_name"],"type":"object","properties":{"asset_group_name":{"type":"string"},"asset_group_description":{"type":"string"},"asset_group_tags":{"type":"array","items":{"type":"string"}},"asset_group_dynamic_filter":{"$ref":"#/components/schemas/FilterGroup"}}},"AssetGroup":{"required":["asset_group_created_at","asset_group_id","asset_group_name","asset_group_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"asset_group_id":{"type":"string"},"asset_group_name":{"type":"string"},"asset_group_description":{"type":"string"},"asset_group_dynamic_filter":{"$ref":"#/components/schemas/FilterGroup"},"asset_group_assets":{"type":"array","items":{"type":"string"}},"asset_group_dynamic_assets":{"type":"array","items":{"type":"string"}},"asset_group_tags":{"type":"array","items":{"type":"string"}},"asset_group_created_at":{"type":"string","format":"date-time"},"asset_group_updated_at":{"type":"string","format":"date-time"}}},"UpdateAssetsOnAssetGroupInput":{"type":"object","properties":{"asset_group_assets":{"type":"array","items":{"type":"string"}}}},"CreateUserInput":{"required":["user_email"],"type":"object","properties":{"user_email":{"type":"string","description":"The email of the user"},"user_admin":{"type":"boolean","description":"True if the user is admin"},"user_firstname":{"type":"string","description":"First name of the user"},"user_lastname":{"type":"string","description":"Last name of the user"},"user_organization":{"type":"string","description":"Organization of the user"},"user_plain_password":{"type":"string","description":"Password of the user as plain text"},"user_tags":{"type":"array","description":"Tags of the user","items":{"type":"string","description":"Tags of the user"}}}},"PageUserOutput":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/UserOutput"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"PageableObject":{"type":"object","properties":{"paged":{"type":"boolean"},"pageNumber":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"unpaged":{"type":"boolean"},"offset":{"type":"integer","format":"int64"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}}}},"SortObject":{"type":"object","properties":{"direction":{"type":"string"},"nullHandling":{"type":"string"},"ascending":{"type":"boolean"},"property":{"type":"string"},"ignoreCase":{"type":"boolean"}}},"UserOutput":{"required":["user_email","user_id"],"type":"object","properties":{"user_id":{"type":"string","description":"User ID"},"user_firstname":{"type":"string","description":"First name of the user"},"user_lastname":{"type":"string","description":"Last name of the user"},"user_email":{"type":"string","description":"Email of the user"},"user_admin":{"type":"boolean","description":"True if the user is admin"},"user_organization_name":{"type":"string","description":"Organization of the user"},"user_tags":{"uniqueItems":true,"type":"array","description":"Tags of the user","items":{"type":"string","description":"Tags of the user"}}}},"TeamCreateInput":{"required":["team_name"],"type":"object","properties":{"team_name":{"type":"string","description":"Name of the team"},"team_description":{"type":"string","description":"Description of the team"},"team_organization":{"type":"string","description":"ID of the organization of the team"},"team_tags":{"type":"array","description":"IDs of the tags of the team","items":{"type":"string","description":"IDs of the tags of the team"}},"team_exercises":{"type":"array","description":"Id of the simulations linked to the team","items":{"type":"string","description":"Id of the simulations linked to the team"}},"team_scenarios":{"type":"array","description":"Id of the scenarios linked to the team","items":{"type":"string","description":"Id of the scenarios linked to the team"}},"team_contextual":{"type":"boolean","description":"True if the team is contextual (exists only in the scenario/simulation it is linked to)"}}},"PageTeamOutput":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/TeamOutput"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"Option":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}}},"TagCreateInput":{"required":["tag_color","tag_name"],"type":"object","properties":{"tag_name":{"type":"string","description":"Name of the tag"},"tag_color":{"type":"string","description":"Color of the tag"}}},"PageTag":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"PageTagRuleOutput":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/TagRuleOutput"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"SecurityPlatformUpsertInput":{"required":["asset_name","security_platform_type"],"type":"object","properties":{"asset_name":{"type":"string"},"asset_description":{"type":"string"},"asset_tags":{"type":"array","items":{"type":"string"}},"security_platform_type":{"type":"string","enum":["EDR","XDR","SIEM","SOAR","NDR","ISPM"]},"security_platform_logo_light":{"type":"string"},"security_platform_logo_dark":{"type":"string"},"asset_external_reference":{"type":"string"}}},"PageSecurityPlatform":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/SecurityPlatform"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"PropertySchemaDTO":{"required":["schema_property_name","schema_property_type"],"type":"object","properties":{"schema_property_name":{"type":"string"},"schema_property_type":{"type":"string"},"schema_property_type_array":{"type":"boolean"},"schema_property_values":{"type":"array","items":{"type":"string"}},"schema_property_has_dynamic_value":{"type":"boolean"}}},"ScenarioInput":{"required":["scenario_name"],"type":"object","properties":{"scenario_name":{"type":"string"},"scenario_description":{"type":"string"},"scenario_subtitle":{"type":"string"},"scenario_category":{"type":"string"},"scenario_main_focus":{"type":"string"},"scenario_severity":{"type":"string","enum":["low","medium","high","critical"]},"scenario_external_reference":{"type":"string"},"scenario_external_url":{"type":"string"},"scenario_tags":{"type":"array","items":{"type":"string"}},"scenario_mail_from":{"type":"string"},"scenario_mails_reply_to":{"type":"array","items":{"type":"string"}},"scenario_message_header":{"type":"string"},"scenario_message_footer":{"type":"string"}}},"InjectsImportInput":{"required":["import_mapper_id","sheet_name","timezone_offset"],"type":"object","properties":{"sheet_name":{"type":"string"},"import_mapper_id":{"type":"string"},"timezone_offset":{"type":"integer","format":"int32"},"launch_date":{"type":"string","format":"date-time"}}},"ImportMessage":{"type":"object","properties":{"message_level":{"type":"string","enum":["CRITICAL","ERROR","WARN","INFO"]},"message_code":{"type":"string","enum":["NO_POTENTIAL_MATCH_FOUND","SEVERAL_MATCHES","ABSOLUTE_TIME_WITHOUT_START_DATE","DATE_SET_IN_PAST","DATE_SET_IN_FUTURE","NO_TEAM_FOUND","EXPECTATION_SCORE_UNDEFINED"]},"message_params":{"type":"object","additionalProperties":{"type":"string"}}}},"ImportTestSummary":{"type":"object","properties":{"import_message":{"type":"array","items":{"$ref":"#/components/schemas/ImportMessage"}},"total_injects":{"type":"integer","format":"int32"},"injects":{"type":"array","items":{"$ref":"#/components/schemas/InjectOutput"}}}},"InjectOutput":{"required":["inject_depends_duration","inject_id","inject_title"],"type":"object","properties":{"inject_id":{"type":"string"},"inject_title":{"type":"string"},"inject_enabled":{"type":"boolean"},"inject_exercise":{"type":"string"},"inject_scenario":{"type":"string"},"inject_depends_duration":{"minimum":0,"type":"integer","format":"int64"},"inject_depends_on":{"type":"array","items":{"$ref":"#/components/schemas/InjectDependency"}},"inject_injector_contract":{"$ref":"#/components/schemas/InjectorContract"},"inject_tags":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"inject_ready":{"type":"boolean"},"inject_type":{"type":"string"},"inject_teams":{"type":"array","items":{"type":"string"}},"inject_assets":{"type":"array","items":{"type":"string"}},"inject_asset_groups":{"type":"array","items":{"type":"string"}},"inject_content":{"type":"object"},"inject_testable":{"type":"boolean"}}},"LessonsCategoryCreateInput":{"required":["lessons_category_name"],"type":"object","properties":{"lessons_category_name":{"type":"string"},"lessons_category_description":{"type":"string"},"lessons_category_order":{"type":"integer","format":"int32"}}},"LessonsQuestionCreateInput":{"required":["lessons_question_content"],"type":"object","properties":{"lessons_question_content":{"type":"string"},"lessons_question_explanation":{"type":"string"},"lessons_question_order":{"type":"integer","format":"int32"}}},"CheckScenarioRulesInput":{"type":"object","properties":{"new_tags":{"type":"array","description":"List of tag that will be applied to the scenario","items":{"type":"string","description":"List of tag that will be applied to the scenario"}}}},"CheckScenarioRulesOutput":{"required":["rules_found"],"type":"object","properties":{"rules_found":{"type":"boolean","description":"Are there rules that can be applied?"}}},"ArticleCreateInput":{"required":["article_channel","article_name"],"type":"object","properties":{"article_name":{"type":"string"},"article_content":{"type":"string"},"article_author":{"type":"string"},"article_shares":{"type":"integer","format":"int32"},"article_likes":{"type":"integer","format":"int32"},"article_comments":{"type":"integer","format":"int32"},"article_documents":{"type":"array","items":{"type":"string"}},"article_channel":{"type":"string"},"article_published":{"type":"boolean"}}},"PageRawPaginationScenario":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/RawPaginationScenario"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"RawPaginationScenario":{"type":"object","properties":{"scenario_id":{"type":"string"},"scenario_name":{"type":"string"},"scenario_severity":{"type":"string","enum":["low","medium","high","critical"]},"scenario_category":{"type":"string"},"scenario_recurrence":{"type":"string"},"scenario_updated_at":{"type":"string","format":"date-time"},"scenario_tags":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"scenario_platforms":{"uniqueItems":true,"type":"array","items":{"type":"string"}}}},"InjectTestStatusOutput":{"required":["inject_id","inject_title","status_id"],"type":"object","properties":{"status_id":{"type":"string"},"status_name":{"type":"string"},"status_main_traces":{"type":"array","items":{"$ref":"#/components/schemas/ExecutionTracesOutput"}},"status_traces_by_agent":{"type":"array","items":{"$ref":"#/components/schemas/AgentStatusOutput"}},"tracking_sent_date":{"type":"string","format":"date-time"},"tracking_end_date":{"type":"string","format":"date-time"},"inject_id":{"type":"string"},"inject_title":{"type":"string"},"inject_type":{"type":"string"}}},"PageInjectTestStatusOutput":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/InjectTestStatusOutput"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"ResetUserInput":{"required":["login"],"type":"object","properties":{"login":{"type":"string"},"lang":{"type":"string"}}},"PagePlayerOutput":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/PlayerOutput"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"PlayerOutput":{"required":["user_email","user_id"],"type":"object","properties":{"user_id":{"type":"string"},"user_firstname":{"type":"string"},"user_lastname":{"type":"string"},"user_email":{"type":"string"},"user_organization":{"type":"string"},"user_country":{"type":"string"},"user_phone":{"type":"string"},"user_phone2":{"type":"string"},"user_pgp_key":{"type":"string"},"user_tags":{"uniqueItems":true,"type":"array","items":{"type":"string"}}}},"LessonsAnswerCreateInput":{"type":"object","properties":{"lessons_answer_score":{"type":"integer","format":"int32"},"lessons_answer_positive":{"type":"string"},"lessons_answer_negative":{"type":"string"}}},"LessonsAnswer":{"required":["lessons_answer_created_at","lessons_answer_question","lessons_answer_score","lessons_answer_updated_at","lessonsanswer_id"],"type":"object","properties":{"listened":{"type":"boolean"},"lessonsanswer_id":{"type":"string"},"lessons_answer_question":{"type":"string"},"lessons_answer_user":{"type":"string"},"lessons_answer_created_at":{"type":"string","format":"date-time"},"lessons_answer_updated_at":{"type":"string","format":"date-time"},"lessons_answer_positive":{"type":"string"},"lessons_answer_negative":{"type":"string"},"lessons_answer_score":{"type":"integer","format":"int32"},"lessons_answer_exercise":{"type":"string"}}},"ChallengeTryInput":{"type":"object","properties":{"challenge_value":{"type":"string"}}},"ChallengeInformation":{"type":"object","properties":{"challenge_detail":{"$ref":"#/components/schemas/PublicChallenge"},"challenge_expectation":{"$ref":"#/components/schemas/InjectExpectation"}}},"ChallengesReader":{"type":"object","properties":{"exercise_id":{"type":"string"},"exercise_information":{"$ref":"#/components/schemas/PublicExercise"},"exercise_challenges":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeInformation"}}}},"PublicChallenge":{"type":"object","properties":{"challenge_id":{"type":"string"},"challenge_name":{"type":"string"},"challenge_category":{"type":"string"},"challenge_content":{"type":"string"},"challenge_score":{"type":"number","format":"double"},"challenge_flags":{"type":"array","items":{"$ref":"#/components/schemas/PublicChallengeFlag"}},"challenge_max_attempts":{"type":"integer","format":"int32"},"challenge_tags":{"type":"array","items":{"type":"string"}},"challenge_documents":{"type":"array","items":{"type":"string"}},"challenge_virtual_publication":{"type":"string","format":"date-time"}}},"PublicChallengeFlag":{"type":"object","properties":{"flag_id":{"type":"string"},"flag_type":{"type":"string","enum":["VALUE","VALUE_CASE","REGEXP"]},"flag_challenge":{"type":"string"}}},"PublicExercise":{"type":"object","properties":{"exercise_id":{"type":"string"},"exercise_name":{"type":"string"},"exercise_description":{"type":"string"}}},"PayloadCreateInput":{"required":["payload_name","payload_platforms","payload_source","payload_status","payload_type"],"type":"object","properties":{"payload_type":{"type":"string"},"payload_name":{"type":"string"},"payload_source":{"type":"string","enum":["COMMUNITY","FILIGRAN","MANUAL"]},"payload_status":{"type":"string","enum":["UNVERIFIED","VERIFIED","DEPRECATED"]},"payload_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"payload_execution_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]},"payload_description":{"type":"string"},"command_executor":{"type":"string","nullable":true},"command_content":{"type":"string","nullable":true},"executable_file":{"type":"string"},"file_drop_file":{"type":"string"},"dns_resolution_hostname":{"type":"string"},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_cleanup_executor":{"type":"string","nullable":true},"payload_cleanup_command":{"type":"string","nullable":true},"payload_tags":{"type":"array","items":{"type":"string"}},"payload_attack_patterns":{"type":"array","items":{"type":"string"}}}},"PayloadUpsertInput":{"required":["payload_external_id","payload_name","payload_source","payload_status","payload_type"],"type":"object","properties":{"payload_type":{"type":"string"},"payload_name":{"type":"string"},"payload_source":{"type":"string","enum":["COMMUNITY","FILIGRAN","MANUAL"]},"payload_status":{"type":"string","enum":["UNVERIFIED","VERIFIED","DEPRECATED"]},"payload_external_id":{"type":"string"},"payload_collector":{"type":"string"},"payload_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"payload_execution_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]},"payload_description":{"type":"string"},"command_executor":{"type":"string","nullable":true},"command_content":{"type":"string","nullable":true},"executable_file":{"type":"string"},"file_drop_file":{"type":"string"},"dns_resolution_hostname":{"type":"string"},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_cleanup_executor":{"type":"string","nullable":true},"payload_cleanup_command":{"type":"string","nullable":true},"payload_tags":{"type":"array","items":{"type":"string"}},"payload_attack_patterns":{"type":"array","items":{"type":"string"}},"payload_elevation_required":{"type":"boolean"}}},"PagePayload":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/Payload"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"PayloadsDeprecateInput":{"required":["collector_id","payload_external_ids"],"type":"object","properties":{"collector_id":{"type":"string"},"payload_external_ids":{"type":"array","items":{"type":"string"}}}},"OrganizationCreateInput":{"required":["organization_name"],"type":"object","properties":{"organization_name":{"type":"string"},"organization_description":{"type":"string"},"organization_tags":{"type":"array","items":{"type":"string"}}}},"MitigationCreateInput":{"required":["mitigation_external_id","mitigation_name"],"type":"object","properties":{"mitigation_stix_id":{"type":"string"},"mitigation_name":{"type":"string"},"mitigation_description":{"type":"string"},"mitigation_external_id":{"type":"string"},"mitigation_log_sources":{"type":"array","items":{"type":"string"}},"mitigation_threat_hunting_techniques":{"type":"string"},"mitigation_attack_patterns":{"type":"array","items":{"type":"string"}}}},"MitigationUpsertInput":{"type":"object","properties":{"mitigations":{"type":"array","items":{"$ref":"#/components/schemas/MitigationCreateInput"}}}},"PageMitigation":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/Mitigation"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"RenewTokenInput":{"required":["token_id"],"type":"object","properties":{"token_id":{"type":"string"}}},"Token":{"required":["token_created_at","token_id","token_value"],"type":"object","properties":{"listened":{"type":"boolean"},"token_id":{"type":"string"},"token_user":{"type":"string"},"token_value":{"type":"string"},"token_created_at":{"type":"string","format":"date-time"}}},"ImportMapperAddInput":{"required":["import_mapper_inject_importers","import_mapper_inject_type_column","import_mapper_name"],"type":"object","properties":{"import_mapper_name":{"type":"string"},"import_mapper_inject_type_column":{"pattern":"^[A-Z]{1,2}$","type":"string"},"import_mapper_inject_importers":{"type":"array","items":{"$ref":"#/components/schemas/InjectImporterAddInput"}}}},"InjectImporterAddInput":{"required":["inject_importer_injector_contract","inject_importer_type_value"],"type":"object","properties":{"inject_importer_type_value":{"type":"string"},"inject_importer_injector_contract":{"type":"string"},"inject_importer_rule_attributes":{"type":"array","items":{"$ref":"#/components/schemas/RuleAttributeAddInput"}}}},"RuleAttributeAddInput":{"required":["rule_attribute_name"],"type":"object","properties":{"rule_attribute_name":{"type":"string"},"rule_attribute_columns":{"type":"string","nullable":true},"rule_attribute_default_value":{"type":"string"},"rule_attribute_additional_config":{"type":"object","additionalProperties":{"type":"string"}}}},"ImportPostSummary":{"required":["available_sheets","import_id"],"type":"object","properties":{"import_id":{"type":"string"},"available_sheets":{"type":"array","items":{"type":"string"}}}},"InjectsImportTestInput":{"required":["import_mapper","sheet_name","timezone_offset"],"type":"object","properties":{"sheet_name":{"type":"string"},"import_mapper":{"$ref":"#/components/schemas/ImportMapperAddInput"},"timezone_offset":{"type":"integer","format":"int32"}}},"PageRawPaginationImportMapper":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/RawPaginationImportMapper"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"RawPaginationImportMapper":{"required":["import_mapper_id"],"type":"object","properties":{"import_mapper_id":{"type":"string"},"import_mapper_name":{"type":"string"},"import_mapper_created_at":{"type":"string","format":"date-time"},"import_mapper_updated_at":{"type":"string","format":"date-time"}}},"ExportMapperInput":{"required":["ids_to_export"],"type":"object","properties":{"export_mapper_name":{"type":"string"},"ids_to_export":{"type":"array","items":{"type":"string"}}}},"LoginUserInput":{"required":["login","password"],"type":"object","properties":{"login":{"type":"string","description":"The identifier of the user"},"password":{"type":"string","description":"The password of the user"}}},"PageLessonsTemplate":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/LessonsTemplate"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"KillChainPhaseCreateInput":{"required":["phase_kill_chain_name","phase_name","phase_shortname"],"type":"object","properties":{"phase_kill_chain_name":{"type":"string"},"phase_name":{"type":"string"},"phase_shortname":{"type":"string"},"phase_stix_id":{"type":"string"},"phase_external_id":{"type":"string"},"phase_description":{"type":"string"},"phase_order":{"type":"integer","format":"int64"}}},"KillChainPhaseUpsertInput":{"type":"object","properties":{"kill_chain_phases":{"type":"array","items":{"$ref":"#/components/schemas/KillChainPhaseCreateInput"}}}},"PageKillChainPhase":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/KillChainPhase"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"InjectBulkProcessingInput":{"type":"object","properties":{"search_pagination_input":{"$ref":"#/components/schemas/SearchPaginationInput"},"inject_ids_to_process":{"type":"array","items":{"type":"string"}},"inject_ids_to_ignore":{"type":"array","items":{"type":"string"}},"simulation_or_scenario_id":{"type":"string"}}},"ExportOptionsInput":{"type":"object","properties":{"with_players":{"type":"boolean"},"with_teams":{"type":"boolean"},"with_variable_values":{"type":"boolean"}}},"InjectExportFromSearchRequestInput":{"type":"object","properties":{"search_pagination_input":{"$ref":"#/components/schemas/SearchPaginationInput"},"inject_ids_to_process":{"type":"array","items":{"type":"string"}},"inject_ids_to_ignore":{"type":"array","items":{"type":"string"}},"simulation_or_scenario_id":{"type":"string"},"options":{"$ref":"#/components/schemas/ExportOptionsInput"}}},"InjectImportInput":{"required":["target"],"type":"object","properties":{"target":{"$ref":"#/components/schemas/InjectImportTargetDefinition"}}},"InjectImportTargetDefinition":{"required":["type"],"type":"object","properties":{"type":{"type":"string","enum":["ATOMIC_TESTING","SIMULATION","SCENARIO"]},"id":{"type":"string"}}},"InjectExportRequestInput":{"type":"object","properties":{"injects":{"type":"array","items":{"$ref":"#/components/schemas/InjectExportTarget"}},"options":{"$ref":"#/components/schemas/ExportOptionsInput"}}},"InjectExportTarget":{"type":"object","properties":{"inject_id":{"type":"string"}}},"InjectExecutionInput":{"required":["execution_message","execution_status"],"type":"object","properties":{"execution_message":{"type":"string"},"execution_output_structured":{"type":"string"},"execution_output_raw":{"type":"string"},"execution_status":{"type":"string"},"execution_duration":{"type":"integer","format":"int32"},"execution_action":{"type":"string","enum":["prerequisite_check","prerequisite_execution","cleanup_execution","command_execution","dns_resolution","file_execution","file_drop","complete"]}}},"InjectReceptionInput":{"type":"object","properties":{"tracking_total_count":{"type":"integer","format":"int32"}}},"InjectorCreateInput":{"required":["injector_id","injector_name","injector_type"],"type":"object","properties":{"injector_id":{"type":"string"},"injector_name":{"type":"string"},"injector_type":{"type":"string"},"injector_contracts":{"type":"array","items":{"$ref":"#/components/schemas/InjectorContractInput"}},"injector_custom_contracts":{"type":"boolean"},"injector_category":{"type":"string"},"injector_executor_commands":{"type":"object","additionalProperties":{"type":"string"}},"injector_executor_clear_commands":{"type":"object","additionalProperties":{"type":"string"}},"injector_payloads":{"type":"boolean"}}},"InjectorConnection":{"type":"object","properties":{"host":{"type":"string"},"vhost":{"type":"string"},"use_ssl":{"type":"boolean"},"port":{"type":"integer","format":"int32"},"user":{"type":"string"},"pass":{"type":"string"}}},"InjectorRegistration":{"type":"object","properties":{"connection":{"$ref":"#/components/schemas/InjectorConnection"},"listen":{"type":"string"}}},"InjectorContractAddInput":{"required":["contract_content","contract_id","injector_id"],"type":"object","properties":{"atomicTesting":{"type":"boolean"},"contract_id":{"type":"string"},"injector_id":{"type":"string"},"contract_manual":{"type":"boolean"},"contract_labels":{"type":"object","additionalProperties":{"type":"string"}},"contract_attack_patterns_ids":{"type":"array","items":{"type":"string"}},"contract_attack_patterns_external_ids":{"type":"array","items":{"type":"string"}},"contract_content":{"type":"string"},"is_atomic_testing":{"type":"boolean"},"contract_platforms":{"type":"array","items":{"type":"string"}}}},"InjectorContractOutput":{"required":["injector_contract_content","injector_contract_id","injector_contract_updated_at"],"type":"object","properties":{"injector_contract_id":{"type":"string","description":"Injector contract Id"},"injector_contract_labels":{"type":"object","additionalProperties":{"type":"string","description":"Labels"},"description":"Labels"},"injector_contract_content":{"type":"string","description":"Content"},"injector_contract_platforms":{"type":"array","description":"Platforms","items":{"type":"string","description":"Platforms","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"injector_contract_payload_type":{"type":"string","description":"Payload type"},"injector_contract_injector_type":{"type":"string","description":"Injector type"},"injector_contract_injector_name":{"type":"string","description":"Injector name"},"injector_contract_attack_patterns":{"type":"array","description":"Attack pattern IDs","items":{"type":"string","description":"Attack pattern IDs"}},"injector_contract_updated_at":{"type":"string","description":"Timestamp when the injector contract was last updated","format":"date-time"},"injector_contract_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]}}},"PageInjectorContractOutput":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/InjectorContractOutput"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"OrganizationGrantInput":{"required":["organization_id"],"type":"object","properties":{"organization_id":{"type":"string"}}},"GroupGrantInput":{"type":"object","properties":{"grant_name":{"type":"string","enum":["OBSERVER","PLANNER"]},"grant_exercise":{"type":"string"},"grant_scenario":{"type":"string"}}},"PageGroup":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"SearchTerm":{"type":"object","properties":{"searchTerm":{"type":"string"}}},"FullTextSearchCountResult":{"required":["clazz","count"],"type":"object","properties":{"clazz":{"type":"string"},"count":{"type":"integer","format":"int64"}}},"FullTextSearchResult":{"required":["clazz","id","name"],"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"tags":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/Tag"}},"clazz":{"type":"string"}}},"PageFullTextSearchResult":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/FullTextSearchResult"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"ExerciseInput":{"required":["exercise_name"],"type":"object","properties":{"exercise_name":{"type":"string"},"exercise_subtitle":{"type":"string"},"exercise_category":{"type":"string"},"exercise_main_focus":{"type":"string"},"exercise_severity":{"type":"string"},"exercise_description":{"type":"string"},"exercise_start_date":{"type":"string","format":"date-time","nullable":true},"exercise_tags":{"type":"array","items":{"type":"string"}},"exercise_mail_from":{"type":"string"},"exercise_mails_reply_to":{"type":"array","items":{"type":"string"}},"exercise_message_header":{"type":"string"},"exercise_message_footer":{"type":"string"}}},"LessonsSendInput":{"type":"object","properties":{"subject":{"type":"string"},"body":{"type":"string"}}},"InjectUpdateStatusInput":{"type":"object","properties":{"status":{"type":"string"},"message":{"type":"string"}}},"InjectResultOutput":{"required":["inject_expectation_results","inject_id","inject_title","inject_updated_at"],"type":"object","properties":{"inject_id":{"type":"string","description":"Id of inject"},"inject_title":{"type":"string","description":"Title of inject"},"inject_updated_at":{"type":"string","description":"Timestamp when the inject was last updated","format":"date-time"},"inject_type":{"type":"string","description":"Type of inject"},"inject_injector_contract":{"$ref":"#/components/schemas/InjectorContractSimple"},"inject_status":{"$ref":"#/components/schemas/InjectStatusSimple"},"inject_expectation_results":{"type":"array","description":"Result of expectations","items":{"$ref":"#/components/schemas/ExpectationResultsByType"}},"inject_targets":{"type":"array","items":{"$ref":"#/components/schemas/TargetSimple"}}}},"InjectStatusSimple":{"required":["status_id"],"type":"object","properties":{"status_id":{"type":"string"},"status_name":{"type":"string"},"tracking_sent_date":{"type":"string","format":"date-time"}},"description":"Status"},"InjectorContractSimple":{"required":["injector_contract_content","injector_contract_id","injector_contract_labels"],"type":"object","properties":{"injector_contract_id":{"type":"string"},"injector_contract_content":{"type":"string"},"convertedContent":{"type":"object"},"injector_contract_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"injector_contract_payload":{"$ref":"#/components/schemas/PayloadSimple"},"injector_contract_labels":{"type":"object","additionalProperties":{"type":"string"}}},"description":"Injector contract"},"PageInjectResultOutput":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/InjectResultOutput"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"TargetSimple":{"required":["target_id"],"type":"object","properties":{"target_id":{"type":"string"},"target_name":{"type":"string"},"target_type":{"type":"string","enum":["AGENT","ASSETS","ASSETS_GROUPS","PLAYER","TEAMS"]}}},"DirectInjectInput":{"type":"object","properties":{"inject_title":{"type":"string"},"inject_description":{"type":"string"},"inject_injector_contract":{"type":"string"},"inject_content":{"type":"object"},"inject_users":{"type":"array","items":{"type":"string"}},"inject_documents":{"type":"array","items":{"$ref":"#/components/schemas/InjectDocumentInput"}}}},"ComcheckInput":{"required":["comcheck_name"],"type":"object","properties":{"comcheck_name":{"type":"string"},"comcheck_end_date":{"type":"string","format":"date-time"},"comcheck_subject":{"type":"string"},"comcheck_message":{"type":"string"},"comcheck_teams":{"type":"array","items":{"type":"string"}}}},"Comcheck":{"required":["comcheck_end_date","comcheck_id","comcheck_start_date"],"type":"object","properties":{"listened":{"type":"boolean"},"comcheck_id":{"type":"string"},"comcheck_name":{"type":"string"},"comcheck_start_date":{"type":"string","format":"date-time"},"comcheck_end_date":{"type":"string","format":"date-time"},"comcheck_state":{"type":"string","enum":["RUNNING","EXPIRED","FINISHED"]},"comcheck_subject":{"type":"string"},"comcheck_message":{"type":"string"},"comcheck_exercise":{"type":"string"},"comcheck_statuses":{"type":"array","items":{"type":"string"}},"comcheck_users_number":{"type":"integer","format":"int64"}}},"CheckExerciseRulesInput":{"type":"object","properties":{"new_tags":{"type":"array","description":"List of tag that will be applied to the simulation","items":{"type":"string","description":"List of tag that will be applied to the simulation"}}}},"CheckExerciseRulesOutput":{"required":["rules_found"],"type":"object","properties":{"rules_found":{"type":"boolean","description":"Are there rules that can be applied?"}}},"ExerciseSimple":{"required":["exercise_global_score","exercise_id","exercise_name"],"type":"object","properties":{"exercise_id":{"type":"string"},"exercise_name":{"type":"string"},"exercise_status":{"type":"string","enum":["SCHEDULED","CANCELED","RUNNING","PAUSED","FINISHED"]},"exercise_subtitle":{"type":"string"},"exercise_category":{"type":"string"},"exercise_start_date":{"type":"string","format":"date-time"},"exercise_updated_at":{"type":"string","format":"date-time"},"exercise_tags":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"exercise_global_score":{"type":"array","items":{"$ref":"#/components/schemas/ExpectationResultsByType"}},"exercise_targets":{"type":"array","items":{"$ref":"#/components/schemas/TargetSimple"}}}},"PageExerciseSimple":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ExerciseSimple"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"ExercisesGlobalScoresInput":{"required":["exercise_ids"],"type":"object","properties":{"exercise_ids":{"type":"array","items":{"type":"string"}}}},"ExercisesGlobalScoresOutput":{"required":["global_scores_by_exercise_ids"],"type":"object","properties":{"global_scores_by_exercise_ids":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/ExpectationResultsByType"}}}}},"ExecutorCreateInput":{"required":["executor_id","executor_name","executor_type"],"type":"object","properties":{"executor_id":{"type":"string"},"executor_name":{"type":"string"},"executor_type":{"type":"string"},"executor_platforms":{"type":"array","items":{"type":"string"}}}},"EndpointOutput":{"required":["asset_agents","asset_id","asset_name","endpoint_arch","endpoint_platform"],"type":"object","properties":{"asset_id":{"type":"string","description":"Asset Id"},"asset_name":{"type":"string","description":"Asset name"},"asset_type":{"type":"string","description":"Asset type"},"asset_agents":{"uniqueItems":true,"type":"array","description":"List of agents","items":{"$ref":"#/components/schemas/AgentOutput"}},"endpoint_platform":{"type":"string","description":"Platform","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]},"endpoint_arch":{"type":"string","description":"Architecture","enum":["x86_64","arm64","Unknown"]},"asset_tags":{"uniqueItems":true,"type":"array","description":"Tags","items":{"type":"string","description":"Tags"}}}},"PageEndpointOutput":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/EndpointOutput"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"EndpointRegisterInput":{"required":["asset_external_reference","asset_name","endpoint_arch","endpoint_ips","endpoint_platform"],"type":"object","properties":{"asset_name":{"type":"string"},"asset_description":{"type":"string"},"asset_tags":{"type":"array","items":{"type":"string"}},"endpoint_ips":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"type":"string"}},"endpoint_hostname":{"type":"string"},"endpoint_agent_version":{"type":"string"},"endpoint_platform":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]},"endpoint_arch":{"type":"string","enum":["x86_64","arm64","Unknown"]},"endpoint_mac_addresses":{"type":"array","items":{"type":"string"}},"asset_last_seen":{"type":"string","format":"date-time","nullable":true},"asset_external_reference":{"type":"string"},"agent_is_service":{"type":"boolean"},"agent_is_elevated":{"type":"boolean"},"agent_executed_by_user":{"type":"string"}}},"Agent":{"required":["agent_asset","agent_created_at","agent_deployment_mode","agent_executed_by_user","agent_id","agent_privilege","agent_updated_at"],"type":"object","properties":{"listened":{"type":"boolean"},"agent_id":{"type":"string"},"agent_asset":{"type":"string"},"agent_privilege":{"type":"string","enum":["admin","standard"]},"agent_deployment_mode":{"type":"string","enum":["service","session"]},"agent_executed_by_user":{"type":"string"},"agent_executor":{"type":"string"},"agent_version":{"type":"string"},"agent_parent":{"type":"string"},"agent_inject":{"type":"string"},"agent_process_name":{"type":"string"},"agent_external_reference":{"type":"string"},"agent_last_seen":{"type":"string","format":"date-time"},"agent_created_at":{"type":"string","format":"date-time"},"agent_updated_at":{"type":"string","format":"date-time"},"agent_cleared_at":{"type":"string","format":"date-time"},"agent_active":{"type":"boolean"}}},"Endpoint":{"required":["asset_created_at","asset_id","asset_name","asset_updated_at","endpoint_arch","endpoint_ips","endpoint_platform"],"type":"object","properties":{"listened":{"type":"boolean"},"asset_id":{"type":"string"},"asset_type":{"type":"string"},"asset_name":{"type":"string"},"asset_description":{"type":"string"},"asset_tags":{"type":"array","items":{"type":"string"}},"asset_created_at":{"type":"string","format":"date-time"},"asset_updated_at":{"type":"string","format":"date-time"},"endpoint_ips":{"type":"array","items":{"type":"string"}},"endpoint_hostname":{"type":"string"},"endpoint_platform":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]},"endpoint_arch":{"type":"string","enum":["x86_64","arm64","Unknown"]},"endpoint_mac_addresses":{"type":"array","items":{"type":"string"}},"asset_agents":{"type":"array","items":{"$ref":"#/components/schemas/Agent"}}}},"AssetAgentJob":{"required":["asset_agent_command","asset_agent_id"],"type":"object","properties":{"listened":{"type":"boolean"},"asset_agent_id":{"type":"string"},"asset_agent_inject":{"type":"string"},"asset_agent_agent":{"type":"string"},"asset_agent_command":{"type":"string"},"asset_agent_asset":{"type":"string","deprecated":true}}},"DocumentCreateInput":{"type":"object","properties":{"document_description":{"type":"string"},"document_tags":{"type":"array","items":{"type":"string"}},"document_exercises":{"type":"array","items":{"type":"string"}},"document_scenarios":{"type":"array","items":{"type":"string"}}}},"PageRawPaginationDocument":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/RawPaginationDocument"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"RawPaginationDocument":{"type":"object","properties":{"document_id":{"type":"string"},"document_name":{"type":"string"},"document_description":{"type":"string"},"document_exercises":{"type":"array","items":{"type":"string"}},"document_scenarios":{"type":"array","items":{"type":"string"}},"document_type":{"type":"string"},"document_tags":{"type":"array","items":{"type":"string"}},"document_can_be_deleted":{"type":"boolean"}}},"CollectorCreateInput":{"required":["collector_id","collector_name","collector_type"],"type":"object","properties":{"collector_id":{"type":"string"},"collector_name":{"type":"string"},"collector_type":{"type":"string"},"collector_period":{"type":"integer","format":"int32"},"collector_security_platform":{"type":"string"}}},"ChannelCreateInput":{"required":["channel_description","channel_name","channel_type"],"type":"object","properties":{"channel_type":{"type":"string"},"channel_name":{"type":"string"},"channel_description":{"type":"string"}}},"ChallengeResult":{"type":"object","properties":{"result":{"type":"boolean"}}},"AttackPatternCreateInput":{"required":["attack_pattern_external_id","attack_pattern_name"],"type":"object","properties":{"attack_pattern_stix_id":{"type":"string"},"attack_pattern_name":{"type":"string"},"attack_pattern_description":{"type":"string"},"attack_pattern_external_id":{"type":"string"},"attack_pattern_platforms":{"type":"array","items":{"type":"string"}},"attack_pattern_permissions_required":{"type":"array","items":{"type":"string"}},"attack_pattern_kill_chain_phases":{"type":"array","items":{"type":"string"}},"attack_pattern_parent":{"type":"string"}}},"AttackPatternUpsertInput":{"type":"object","properties":{"attack_patterns":{"type":"array","items":{"$ref":"#/components/schemas/AttackPatternCreateInput"}}}},"PageAttackPattern":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/AttackPattern"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"AssetGroupOutput":{"required":["asset_group_id","asset_group_name"],"type":"object","properties":{"asset_group_id":{"type":"string"},"asset_group_name":{"type":"string"},"asset_group_description":{"type":"string"},"asset_group_dynamic_filter":{"$ref":"#/components/schemas/FilterGroup"},"asset_group_assets":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"asset_group_tags":{"uniqueItems":true,"type":"array","items":{"type":"string"}}}},"PageAssetGroupOutput":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/AssetGroupOutput"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"numberOfElements":{"type":"integer","format":"int32"},"empty":{"type":"boolean"}}},"AiGenericTextInput":{"required":["ai_content"],"type":"object","properties":{"ai_content":{"type":"string"},"ai_format":{"type":"string"},"ai_tone":{"type":"string"}}},"AiResult":{"type":"object","properties":{"chunk_id":{"type":"string"},"chunk_content":{"type":"string"}}},"AiMessageInput":{"required":["ai_format","ai_input"],"type":"object","properties":{"ai_input":{"type":"string"},"ai_paragraphs":{"type":"integer","format":"int32"},"ai_context":{"type":"string"},"ai_tone":{"type":"string"},"ai_sender":{"type":"string"},"ai_recipient":{"type":"string"},"ai_format":{"type":"string"}}},"AiMediaInput":{"required":["ai_format","ai_input"],"type":"object","properties":{"ai_input":{"type":"string"},"ai_paragraphs":{"type":"integer","format":"int32"},"ai_context":{"type":"string"},"ai_tone":{"type":"string"},"ai_author":{"type":"string"},"ai_format":{"type":"string"}}},"RawUser":{"type":"object","properties":{"user_id":{"type":"string"},"user_email":{"type":"string"},"user_firstname":{"type":"string"},"user_lastname":{"type":"string"},"user_gravatar":{"type":"string"},"user_phone":{"type":"string"},"user_organization":{"type":"string"},"user_tags":{"type":"array","items":{"type":"string"}},"user_groups":{"type":"array","items":{"type":"string"}},"user_teams":{"type":"array","items":{"type":"string"}}}},"InjectExpectationResultsByAttackPattern":{"type":"object","properties":{"inject_expectation_results":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectationResultsByType"}},"inject_attack_pattern":{"type":"string"}}},"InjectExpectationResultsByType":{"type":"object","properties":{"inject_id":{"type":"string"},"inject_title":{"type":"string"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ExpectationResultsByType"}}}},"PlatformStatistic":{"type":"object","properties":{"platform_id":{"type":"string"},"scenarios_count":{"$ref":"#/components/schemas/StatisticElement"},"exercises_count":{"$ref":"#/components/schemas/StatisticElement"},"users_count":{"$ref":"#/components/schemas/StatisticElement"},"teams_count":{"$ref":"#/components/schemas/StatisticElement"},"assets_count":{"$ref":"#/components/schemas/StatisticElement"},"asset_groups_count":{"$ref":"#/components/schemas/StatisticElement"},"injects_count":{"$ref":"#/components/schemas/StatisticElement"},"expectation_results":{"type":"array","items":{"$ref":"#/components/schemas/ExpectationResultsByType"}},"inject_expectation_results":{"type":"array","items":{"$ref":"#/components/schemas/InjectExpectationResultsByAttackPattern"}},"exercises_count_by_category":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"exercises_count_by_week":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"injects_count_by_attack_pattern":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}}}},"StatisticElement":{"type":"object","properties":{"global_count":{"type":"integer","format":"int64"},"progression_count":{"type":"integer","format":"int64"}}},"ScenarioSimple":{"type":"object","properties":{"scenario_id":{"type":"string"},"scenario_name":{"type":"string"},"scenario_subtitle":{"type":"string"},"scenario_tags":{"type":"array","items":{"type":"string"}}}},"GlobalScoreBySimulationEndDate":{"required":["global_score_success_percentage","simulation_end_date"],"type":"object","properties":{"simulation_end_date":{"type":"string","format":"date-time"},"global_score_success_percentage":{"type":"number","format":"float"}}},"ScenarioStatistic":{"required":["simulations_results_latest"],"type":"object","properties":{"simulations_results_latest":{"$ref":"#/components/schemas/SimulationsResultsLatest"}}},"SimulationsResultsLatest":{"required":["global_scores_by_expectation_type"],"type":"object","properties":{"global_scores_by_expectation_type":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/GlobalScoreBySimulationEndDate"}}}}},"ChannelReader":{"type":"object","properties":{"channel_id":{"type":"string"},"channel_information":{"$ref":"#/components/schemas/Channel"},"channel_exercise":{"$ref":"#/components/schemas/Exercise"},"channel_scenario":{"$ref":"#/components/schemas/Scenario"},"channel_articles":{"type":"array","items":{"$ref":"#/components/schemas/Article"}}}},"JsonNode":{"type":"object"},"ComcheckStatus":{"type":"object","properties":{"listened":{"type":"boolean"},"comcheckstatus_id":{"type":"string"},"comcheckstatus_user":{"type":"string"},"comcheckstatus_comcheck":{"type":"string"},"comcheckstatus_sent_date":{"type":"string","format":"date-time"},"comcheckstatus_receive_date":{"type":"string","format":"date-time"},"comcheckstatus_sent_retry":{"type":"integer","format":"int32"},"comcheckstatus_state":{"type":"string","enum":["RUNNING","SUCCESS","FAILURE"]}}},"SimulationDetails":{"required":["exercise_id","exercise_mail_from","exercise_name","exercise_status"],"type":"object","properties":{"exercise_id":{"type":"string"},"exercise_name":{"type":"string"},"exercise_description":{"type":"string"},"exercise_status":{"type":"string","enum":["SCHEDULED","CANCELED","RUNNING","PAUSED","FINISHED"]},"exercise_subtitle":{"type":"string"},"exercise_category":{"type":"string"},"exercise_main_focus":{"type":"string"},"exercise_severity":{"type":"string","enum":["low","medium","high","critical"]},"exercise_start_date":{"type":"string","format":"date-time"},"exercise_end_date":{"type":"string","format":"date-time"},"exercise_message_header":{"type":"string"},"exercise_message_footer":{"type":"string"},"exercise_mail_from":{"type":"string"},"exercise_mails_reply_to":{"type":"array","items":{"type":"string"}},"exercise_lessons_anonymized":{"type":"boolean"},"exercise_scenario":{"type":"string"},"exercise_created_at":{"type":"string","format":"date-time"},"exercise_updated_at":{"type":"string","format":"date-time"},"exercise_teams_users":{"uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/ExerciseTeamUser"}},"exercise_tags":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"exercise_users":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"exercise_observers":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"exercise_lessons_answers_number":{"type":"integer","format":"int64"},"exercise_planners":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"exercise_all_users_number":{"type":"integer","format":"int64"},"exercise_users_number":{"type":"integer","format":"int64"},"exercise_logs_number":{"type":"integer","format":"int64"},"exercise_communications_number":{"type":"integer","format":"int64"},"exercise_platforms":{"type":"array","items":{"type":"string"}},"exercise_kill_chain_phases":{"type":"array","items":{"$ref":"#/components/schemas/KillChainPhase"}},"exercise_score":{"type":"number","format":"double"}}},"RawDocument":{"type":"object","properties":{"document_id":{"type":"string"},"document_name":{"type":"string"},"document_description":{"type":"string"},"document_type":{"type":"string"},"document_target":{"type":"string"},"document_tags":{"type":"array","items":{"type":"string"}},"document_exercises":{"type":"array","items":{"type":"string"}},"document_scenarios":{"type":"array","items":{"type":"string"}}}},"RawAttackPattern":{"type":"object","properties":{"attack_pattern_id":{"type":"string"},"attack_pattern_description":{"type":"string"},"attack_pattern_stix_id":{"type":"string"},"attack_pattern_name":{"type":"string"},"attack_pattern_external_id":{"type":"string"},"attack_pattern_platforms":{"type":"array","items":{"type":"string"}},"attack_pattern_permissions_required":{"type":"array","items":{"type":"string"}},"attack_pattern_created_at":{"type":"string"},"attack_pattern_updated_at":{"type":"string"},"attack_pattern_parent":{"type":"string"},"attack_pattern_kill_chain_phases":{"type":"array","items":{"type":"string"}}}},"StatusPayloadOutput":{"required":["network_traffic_ip_dst","network_traffic_ip_src","network_traffic_port_dst","network_traffic_port_src","network_traffic_protocol"],"type":"object","properties":{"payload_type":{"type":"string"},"payload_collector_type":{"type":"string"},"payload_name":{"type":"string"},"payload_description":{"type":"string"},"payload_platforms":{"type":"array","items":{"type":"string","enum":["Linux","Windows","MacOS","Container","Service","Generic","Internal","Unknown"]}},"payload_attack_patterns":{"type":"array","items":{"$ref":"#/components/schemas/AttackPatternSimple"}},"payload_cleanup_executor":{"type":"string"},"payload_command_blocks":{"type":"array","items":{"$ref":"#/components/schemas/PayloadCommandBlock"}},"payload_arguments":{"type":"array","items":{"$ref":"#/components/schemas/PayloadArgument"}},"payload_obfuscator":{"type":"string"},"payload_prerequisites":{"type":"array","items":{"$ref":"#/components/schemas/PayloadPrerequisite"}},"payload_external_id":{"type":"string"},"payload_tags":{"uniqueItems":true,"type":"array","items":{"type":"string"}},"executable_file":{"$ref":"#/components/schemas/StatusPayloadDocument"},"executable_arch":{"type":"string","enum":["x86_64","arm64","ALL_ARCHITECTURES"]},"file_drop_file":{"$ref":"#/components/schemas/StatusPayloadDocument"},"dns_resolution_hostname":{"type":"string"},"network_traffic_ip_src":{"type":"string"},"network_traffic_ip_dst":{"type":"string"},"network_traffic_port_src":{"type":"integer","format":"int32"},"network_traffic_port_dst":{"type":"integer","format":"int32"},"network_traffic_protocol":{"type":"string"}}}}}}
\ No newline at end of file
diff --git a/docs/development/api-reference/index.css b/docs/development/api-reference/index.css
new file mode 100644
index 00000000..f2376fda
--- /dev/null
+++ b/docs/development/api-reference/index.css
@@ -0,0 +1,16 @@
+html {
+ box-sizing: border-box;
+ overflow: -moz-scrollbars-vertical;
+ overflow-y: scroll;
+}
+
+*,
+*:before,
+*:after {
+ box-sizing: inherit;
+}
+
+body {
+ margin: 0;
+ background: #fafafa;
+}
diff --git a/docs/development/api-reference/index.md b/docs/development/api-reference/index.md
new file mode 100644
index 00000000..4e966aa1
--- /dev/null
+++ b/docs/development/api-reference/index.md
@@ -0,0 +1,24 @@
+---
+hide:
+- navigation
+- toc
+
+title: "REST API Reference"
+---
+
+
+
+