---
title: "How Datadog’s IT team automated monitoring third-party accounts"
description: "Clarity is an internal tool that audits accounts in SaaS apps like Slack, GitHub, Zoom and Google Workspace against Workday, the HR source of truth, and flags any account that doesn't match an active employee."
url: "https://swe.quest/articles/how-datadog-s-it-team-automated-monitoring-third-party-accounts-a539b0212702c295"
canonical: "https://www.datadoghq.com/blog/engineering/how-datadogs-it-team-automated-monitoring-third-party-accounts/"
source: "Datadog Engineering"
published: "2021-04-30"
difficulty: "medium"
kind: "Case study"
reading_minutes: 10
tags: ["identity-auth","observability","serverless","security"]
---

# How Datadog’s IT team automated monitoring third-party accounts

A post on [Datadog Engineering](https://swe.quest/sources/datadog.md), published 2021-04-30, 10 min read, Case study. Original: [https://www.datadoghq.com/blog/engineering/how-datadogs-it-team-automated-monitoring-third-party-accounts/](https://www.datadoghq.com/blog/engineering/how-datadogs-it-team-automated-monitoring-third-party-accounts/)

## Summary

Clarity is an internal tool that audits accounts in SaaS apps like Slack, GitHub, Zoom and Google Workspace against Workday, the HR source of truth, and flags any account that doesn't match an active employee. A scheduled CloudWatch rule triggers an AWS Lambda each weekday morning. It compares user email lists across apps and emits tagged Datadog gauge and count metrics plus faceted logs per account. It then opens Freshservice tickets and posts Slack Block Kit summaries that link to prefiltered logs. DynamoDB stores state between runs so flagged accounts keep a history and get re-ticketed if they remain unresolved past the SLA.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Security](https://swe.quest/tags/security.md) (Security)

## Prerequisites

- AWS Lambda basics ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- identity providers and SaaS account management ([easy posts on Engineering management](https://swe.quest/tags/engineering-management.md?difficulty=easy))

## Keywords

Clarity, Datadog, Workday, AWS Lambda, DynamoDB, Freshservice, Slack Block Kit, CloudWatch Events

## Related posts

- [How Datadog’s IT team automated account inactivity and SaaS spend management](https://swe.quest/articles/how-datadog-s-it-team-automated-account-inactivity-and-saas-spend-management-ab71bc7240eb358a.md): Datadog Engineering · 2022-05-12 · Medium · 11 min read · Identity & auth, Cost optimization, Serverless, Python, Microservices
  Datadog extended its Clarity tool into Clarity License Manager, a set of Python AWS Lambda microservices backed by Postgres on RDS.
- [Using ChatOps to help Actions on-call engineers](https://swe.quest/articles/using-chatops-to-help-actions-on-call-engineers-a5ab9f63f48bb50a.md): GitHub Engineering · 2021-12-01 · Easy · 6 min read · Incidents & postmortems, SRE, Developer tools, Observability
  GitHub's Actions on-call engineers use Hubot-driven ChatOps commands in Slack to turn repetitive diagnosis steps into shared, auditable commands.
- [Slack Audit Logs and Anomalies](https://swe.quest/articles/slack-audit-logs-and-anomalies-9433e81574c3d83d.md): Slack Engineering · 2024-12-09 · Medium · 8 min read · Threat detection, Observability, Security
  Slack Enterprise Grid audit logs record platform actions and include anomaly events that flag unusual behaviour such as new user agents, excessive downloads, unexpected scraping, IP address changes and session fingerprint mismatches.
- [When an AI agent came knocking: Catching malicious contributions in Datadog’s open source repos](https://swe.quest/articles/when-an-ai-agent-came-knocking-catching-malicious-contributions-in-datadog-s-efd5d1e84be0c443.md): Datadog Engineering · 2026-03-09 · Medium · 16 min read · Supply chain security, CI/CD, Threat detection, AI agents, Open source
  An AI agent called hackerbot-claw targeted Datadog's public repositories in late February 2026.
- [Lessons on UX, security, and scale when building an enterprise-grade Slack agent](https://swe.quest/articles/lessons-on-ux-security-and-scale-when-building-an-enterprise-grade-slack-agent-718cb96cab6bcc78.md): Sourcegraph · 2026-05-04 · Medium · 5 min read · AI agents, Product engineering, Identity & auth, Resilience, Communications
  Sourcegraph's Deep Search Slack agent fits into enterprise workflows through staged status messages (emoji acknowledgement, escalation links for long searches), TL;DR answers with threaded follow-ups, and rich link unfurling via Slack's link\_shared events, SHA256-based entity IDs, chat.unfurl work objects and flexpane details.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
