Skip to content

Conversation

posaninagendra
Copy link
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@Copilot Copilot AI review requested due to automatic review settings August 26, 2025 22:26
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive Red Team testing functionality to the Azure AI Projects SDK, implementing both synchronous and asynchronous test cases for security vulnerability scanning. The changes include new test files with complete test coverage for Red Team operations and updated test recordings.

  • Adds Red Team security testing capabilities with create, get, and list operations
  • Implements both sync and async test variants for comprehensive coverage
  • Includes robust validation logic for Azure ML properties and Red Team response structure

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
test_redteams_async.py New async test file implementing Red Team scan operations with proper async/await patterns
test_redteams.py New sync test file implementing Red Team scan operations for synchronous client usage
test_base.py Enhanced base test class with Red Team validation methods and test parameters
assets.json Updated test recording assets tag to include new Red Team test recordings

@posaninagendra posaninagendra enabled auto-merge (squash) August 26, 2025 23:04
@posaninagendra posaninagendra merged commit f4d351c into Azure:main Aug 28, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants