Skip to content

Add fields for detection of shadow AI authentication file events - #792

Open
fearful-symmetry wants to merge 3 commits into
mainfrom
add-ai-auth-fields
Open

Add fields for detection of shadow AI authentication file events#792
fearful-symmetry wants to merge 3 commits into
mainfrom
add-ai-auth-fields

Conversation

@fearful-symmetry

Copy link
Copy Markdown
Contributor

Change Summary

This adds two fields, file.ai_agent.email and file.ai_agent.api_key_auth to file events for detection of authentication flows (claude auth, etc) from endpoint. This also adds file modification events for platforms that don't already have them, as we'll need to report modification events for the given authentication stores.

Sample values


            "ai_agent": {
                "email": "test@example.com"
            }
            "ai_agent": {
                "api_key_auth": true
            }

Sample document:

        "file": {
            "path": "/tmp/genai_eaf_31io5qm3/.claude.json",
            "extension": "json",
            "size": 0,
            "name": ".claude.json",
            "ai_agent": {
                "email": "test@example.com"
            }
        },

Release Target

9.6.0

For mapping changes:

  • I ran make after making the schema changes, and committed all changes
  • If these field(s) are "exception"-able, I made a companion PR to Kibana adding it (see Readme)
  • If this is a metadata change, I also updated both transform destination schemas to match

@fearful-symmetry
fearful-symmetry requested review from a team as code owners August 20, 2026 21:13

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you pull in the latest main, does this change go away?

I attempted to fix this issue in #779

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that did work!

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