Python script to get the last 5 minutes of accepted traffic logs via the trendmicro email security API and send them to a syslog server

Script Python para obtener los ultimos 5 minutos de logs de trafico aceptado por medio de la API de trendmicro email security y enviarlos a un servidor de syslog

Crontab
*/5 * * * * /usr/local/bin/python3.9 /home/user/tmes-syslog_0.02.py 2>&1 > /home/user/errores.txt

------------
# API documentation
# Getting Started with Trend Micro Email Security APIs
# https://docs.trendmicro.com/en-us/enterprise/trend-micro-email-security-rest-api-online-help/getting-started-with.aspx
# Obtaining the API Key
# https://docs.trendmicro.com/en-us/enterprise/trend-micro-email-security-rest-api-online-help/getting-started-with/obtaining-the-api-ke.aspx
# List Mail Tracking Logs
# https://docs.trendmicro.com/en-us/enterprise/trend-micro-email-security-rest-api-online-help/supported-apis/logs/list-mail-tracking-l.aspx

Features

  • Connect to TMES API - Conectar a la API de TMES
  • Get last 5 minits of accepted traffic - Obtener los últimos 5 mins de logs de trafico aceptado
  • Send to syslog server - Enviar a servidor syslog

Project Activity

See All Activity >

License

MIT License, GNU General Public License version 3.0 (GPLv3)

Follow API - TMES logs to syslog

API - TMES logs to syslog Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of API - TMES logs to syslog!

Additional Project Details

Programming Language

Python

Related Categories

Python Logging Software, Python SIEM Tool, Python API Gateways

Registered

2023-03-03