Loading the rest of this comparison.

ThreatLocker API Spec

Created Diff never expires
55 removals
845 lines
49 additions
817 lines
{
{
"openapi": "3.0.1",
"openapi": "3.0.1",
"info": {
"info": {
"title": "PortalAPI",
"title": "ThreatLocker",
"description": "ThreatLocker API",
"version": "v1.0.0"
"version": "v1.0.0"
},
},
"paths": {
"paths": {
"/portalapi/ActionLog/ActionLogGetByParametersV2": {
"/portalapi/ActionLog/ActionLogGetByParametersV2": {
"post": {
"post": {
"tags": [
"tags": [
"ActionLog"
"ActionLog"
],
],
"summary": "Get Action Logs By Parameters.",
"summary": "Get Action Logs By Parameters.",
"description": "Parameters Values:\r\n \r\n {\r\n \"ActionType\": \"None = 0 | BaseLine = 1 | Configuration = 2 | Delete = 3 | Elevation = 4 | Execute = 5 |\r\n Install = 6 | Move = 7 | Network = 8 | NewProcess = 9 | Powershell = 10 | Read = 11 | \r\n Registry = 12 | Uninstall = 13 | Write = 14 | OSEventLog = 15\",\r\n \"SourceTableId\": \"ActionLog = 1 | DenyActionLog = 2 | BaselineActionLog = 3 | EventLogActionLog = 4\",\r\n \"ActionId\": \"Permit = 1 | Deny = 2 | DenyOptionToRequest = 3 | InstallMode = 4 | MissingCoreFiles = 5 | Ringfenced = 6 | AnyDeny = 7\",\r\n \"GroupBy\": \"FullPath = path | Hash = hash | SourceIp = sourceip | Cert = cert | Hostname = hostname | Username = username | ProcessPath = process\"\r\n }",
"description": "Parameters Values:\r\n \r\n {\r\n \"ActionType\": \"None = 0 | BaseLine = 1 | Configuration = 2 | Delete = 3 | Elevation = 4 | Execute = 5 |\r\n Install = 6 | Move = 7 | Network = 8 | NewProcess = 9 | Powershell = 10 | Read = 11 | \r\n Registry = 12 | Uninstall = 13 | Write = 14 | OSEventLog = 15\",\r\n \"SourceTableId\": \"ActionLog = 1 | DenyActionLog = 2 | BaselineActionLog = 3 | EventLogActionLog = 4\",\r\n \"ActionId\": \"Permit = 1 | Deny = 2 | DenyOptionToRequest = 3 | InstallMode = 4 | MissingCoreFiles = 5 | Ringfenced = 6 | AnyDeny = 7\",\r\n \"GroupBy\": \"FullPath = path | Hash = hash | SourceIp = sourceip | Cert = cert | Hostname = hostname | Username = username | ProcessPath = process\"\r\n }",
"parameters": [
"parameters": [
{
{
"name": "usenewsearch",
"name": "usenewsearch",
"in": "header",
"in": "header",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
}
}
],
],
"requestBody": {
"requestBody": {
"description": "",
"description": "",
"content": {
"content": {
"application/json": {
"application/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/ActionLogParamsDto"
"$ref": "#/components/schemas/ActionLogParamsDto"
}
}
},
},
"text/json": {
"text/json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/ActionLogParamsDto"
"$ref": "#/components/schemas/ActionLogParamsDto"
}
}
},
},
"application/*+json": {
"application/*+json": {
"schema": {
"schema": {
"$ref": "#/components/schemas/ActionLogParamsDto"
"$ref": "#/components/schemas/ActionLogParamsDto"
}
}
}
}
}
}
},
},
"responses": {
"responses": {
"200": {
"200": {
"description": "Success"
"description": "Success"
}
}
}
},
"operationId": "post__portalapi_ActionLog_ActionLogGetByParametersV2"
}
}
},
},
"/portalapi/ActionLog/ActionLogGetAllForFileHistory": {
"/portalapi/ActionLog/ActionLogGetAllForFileHistory": {
"get": {
"get": {
"tags": [
"tags": [
"ActionLog"
"ActionLog"
],
],
"summary": "Get All File History by hostname and fullpath",
"summary": "Get All File History by hostname and fullpath",
"description": "Parameters Values:\r\n \r\n {\r\n \"sourceTableId\": \"ActionLog = 1 | DenyActionLog = 2 | BaselineActionLog = 3 | EventLogActionLog = 4\"\r\n }",
"description": "Parameters Values:\r\n \r\n {\r\n \"sourceTableId\": \"ActionLog = 1 | DenyActionLog = 2 | BaselineActionLog = 3 | EventLogActionLog = 4\"\r\n }",
"parameters": [
"parameters": [
{
{
"name": "sourceTableId",
"name": "sourceTableId",
"in": "query",
"in": "query",
"description": "",
"description": "",
"schema": {
"schema": {
"type": "integer",
"type": "integer",
"format": "int32"
"format": "int32"
}
}
},
},
{
{
"name": "hostname",
"name": "hostname",
"in": "query",
"in": "query",
"description": "",
"description": "",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "fullPath",
"name": "fullPath",
"in": "query",
"in": "query",
"description": "",
"description": "",
"schema": {
"schema": {
"type": "string"
"type": "string"
}
}
},
},
{
{
"name": "pageNumber",
"name": "pageNumber",
"in": "query",
"in": "query",
"description": "",
"description": "",
"schema": {
"schema": {
"type": "integer",
"type": "integer",
"format": "int32",
"format": "int32",
"default": 1
"default": 1
}
}
},
},
{
{
"name": "pageSize",
"name": "pageSize",
"in": "query",
"in": "query",
"description": "",
"description": "",
"schema": {
"schema": {