With the API-first approach of building software products becoming prominent and APIs now making up the most common communication channel for internet traffic, API security becomes paramount.
API logging and monitoring is a key component in securing APIs, amongst others that include discovery, vulnerability management and compliance. APIs should have an inbuilt mechanism to collect access and transaction activities which can aid in their monitoring to identify potentially malicious activity.
Golang being one of the most popular frameworks for developing APIs due to its performance and support for concurrency, I have created a guide to aid developers collect API logs through the Go LogRus library and forward such to AWS CloudWatch from a microservice deployed in AWS EKS.
Top comments (0)