Skip to content

feat: Add Okta generator, security log patterns, and PII improvements#70

Merged
joe-armstrong merged 7 commits intomainfrom
joearmstrong/ai-253-k8s-run-telemetry-generator-security
Feb 13, 2026
Merged

feat: Add Okta generator, security log patterns, and PII improvements#70
joe-armstrong merged 7 commits intomainfrom
joearmstrong/ai-253-k8s-run-telemetry-generator-security

Conversation

@joe-armstrong
Copy link
Contributor

@joe-armstrong joe-armstrong commented Feb 12, 2026

Proposed Change

This PR adds a few things after using Blitz some more for testing:

New Okta System Log Generator

Added a full Okta generator (generator/okta/) that produces realistic Okta System Log events — authentication (login, SSO, MFA), security threats (brute force, credential stuffing, impossible travel), user lifecycle, password ops, app/group membership, policy changes, and admin actions. Follows the same worker/rate/backoff pattern as the other generators. Includes tests and docs.

Security-Focused Log Patterns

The Apache, NGINX, Kubernetes, and PostgreSQL generators now include security event patterns mixed into their output (~20% of web server requests are attack patterns). This gives us realistic data for testing security detection rules:

  • Apache/NGINX: Directory traversal, SQL injection, XSS, command injection, SSRF, Log4j/JNDI, scanner reconnaissance, auth bypass attempts
  • PostgreSQL: Auth brute force, SQL injection, privilege escalation, data exfiltration, suspicious admin actions
  • Kubernetes: RBAC violations, pod security policy failures, container escape attempts, network policy violations, secret access, cryptomining detection

The attack paths for Apache and NGINX are shared via internal/generator/security/paths.go to avoid duplication.

PII Generator Improvements

  • Each PII log now includes a random selection of 1-5 PII fields instead of dumping all 37 every time — more realistic
  • Restored secret_ as an API key prefix for better PII detection testing

Docker Compose Cleanup

Consolidated back to a single docker-compose.telemetry-generator.yml with all generators. Removed the split pipeline configs that were from internal testing. All generators default to 1 worker. Updated README with vendor-agnostic OpAMP examples.

Checklist
  • Changes are tested
  • CI has passed

@joe-armstrong joe-armstrong changed the title feature: Add additional PII, Security & Okta log types feat: Add Okta generator, security log patterns, and PII improvements Feb 12, 2026
joe-armstrong and others added 2 commits February 12, 2026 12:58
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Restore original Bindplane references in docker-compose and README
to keep the diff focused on actual feature additions (Okta generator,
collector volume, PII worker defaults, security descriptions).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@joe-armstrong joe-armstrong marked this pull request as ready for review February 12, 2026 20:26
@joe-armstrong joe-armstrong requested a review from a team as a code owner February 12, 2026 20:26
@joe-armstrong
Copy link
Contributor Author

@iris cr

@jsirianni jsirianni self-assigned this Feb 12, 2026
@joe-armstrong joe-armstrong added this pull request to the merge queue Feb 13, 2026
Merged via the queue into main with commit 030d5d1 Feb 13, 2026
16 checks passed
@joe-armstrong joe-armstrong deleted the joearmstrong/ai-253-k8s-run-telemetry-generator-security branch February 13, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants