- Home
- API Enriched
- Service Mesh
- ml
- GET Status of Suspicious users.
GET Status of Suspicious users.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/ml/data/namespaces/example/app_settings/example/suspicious_users';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/ml/data/namespaces/example/app_settings/example/suspicious_users \ --header 'Authorization: <Authorization>'GET status of suspicious users.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Namespace
fetch suspicious users for a given namespace.
Name fetch suspicious users based on a given app setting.
Query Parameters
Section titled “Query Parameters”Blogging_app”}”
query is used to specify the list of matchers
syntax for query := {[
Optional: If not specified, all the security events matching the given tenant and namespace will be returned in the response.
Fetch suspicious users during timestamp >= start_time format: unix_timestamp|RFC 3339
Optional: If not specified, then the start_time will be evaluated to end_time-10m
If end_time is not specified, then the start_time will be evaluated to
Fetch suspicious users during timestamp <= end_time format: unix_timestamp|RFC 3339
Optional: If not specified, then the end_time will be evaluated to start_time+10m
If start_time is not specified, then the end_time will be evaluated to
X-example: 10 fetch top 10 suspicious users
Number of top field values to be returned in the response. Optional: If not specified, top 5 values will be returned in the response.
Responses
Section titled “Responses”A successful response.
Response message for SuspiciousUserStatusReq.
object
List of suspicious users.
Message containing suspicious user data.
object
List of security events that matched the query. Contains no more than 100 messages.
Total number of security events that matched the query.
String representing the user (ex: Source IP)
Examplegenerated
{ "suspicious_users": [ { "logs": [ "example" ], "suspicion_score": 1, "user_id": "example" } ]}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example