feat(semconv-ai): standardize gen_ai.security.threat.* event and attribute names (#4096) - #4491
FinalSunFlower wants to merge 2 commits into
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughThe semantic conventions package adds a GenAI security threat event, six threat attributes, severity and action enums, and tests for their serialized values and naming format. ChangesGenAI security threat conventions
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Merge Risk: ⚪ Minimal · up to This change adds standardized threat event and attribute names without altering detection or runtime behavior, so it is mergeable with normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
gen_ai.security.threat.detectedevent constantTesting
python -m pytest packages/opentelemetry-semantic-conventions-ai/tests -qpython -m ruff check packages/opentelemetry-semantic-conventions-ai/opentelemetry packages/opentelemetry-semantic-conventions-ai/testsCloses #4096
Summary by CodeRabbit
New Features
Tests