Log Forwarding (API)
Exporting Authentication Logs Directly to your SIEM tool
Retrieving Logs
CURL
curl -X GET \
"https://api.validia.ai/siem-verifications?start_time={EPOCH_START_TIME}&end_time={EPOCH_END_TIME}&limit=1000" \
-H "Authorization: Bearer {YOUR_ACCESS_TOKEN}"Python
import requests
url = "https://api.validia.ai/siem-verifications"
headers = {
"Authorization": "Bearer {YOUR_ACCESS_TOKEN}"
}
params = {
"start_time": "{EPOCH_START_TIME}",
"end_time": "{EPOCH_END_TIME}",
"limit" : "1000"
}
response = requests.get(url, headers=headers, params=params)
# Print the response
print(response.json())
# Optional: Handle errors
if response.status_code != 200:
print(f"Error: {response.status_code}")
print(response.text)Working with the logs
Recommended Practices
Normalize Confidence Scores
Create Correlation Rules
Last updated
Was this helpful?