Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codeql : Fix to remove exception details from the response #10671

Merged
merged 4 commits into from
Jan 15, 2025

Conversation

namanimsft
Copy link
Contributor

@namanimsft namanimsft commented Dec 4, 2024

Issue describing the changes in this PR

resolves - Link

Pull request checklist

IMPORTANT: Currently, changes must be backported to the in-proc branch to be included in Core Tools and non-Flex deployments.

  • Backporting to the in-proc branch is not required
    • Otherwise: Link to backporting PR -- ToDo
  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • My changes do not require diagnostic events changes
    • Otherwise: I have added/updated all related diagnostic events and their documentation (Documentation issue linked to PR)
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Additional PR information

@namanimsft namanimsft requested a review from a team as a code owner December 4, 2024 21:32
@fabiocav fabiocav changed the title Codeql : Fixed the bug to not to expose the sensitive exception details in the response Codeql : Fix to remove exception details from the response Dec 4, 2024
@surgupta-msft
Copy link
Contributor

Looks like on fork PRs, the tests pipelines are not running. I took changes to my branch and ran tests. All are passing.
https://azfunc.visualstudio.com/public/_build/results?buildId=193606&view=results
https://azfunc.visualstudio.com/internal/_build/results?buildId=193607&view=results

Copy link
Contributor

@jviau jviau left a comment

Choose a reason for hiding this comment

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

Blocking this PR for now. I am not too concerned about changing the error format for these APIs, but what we change it to is something worth discussing. I will talk to my team offline about this and get back to you.

@namanimsft
Copy link
Contributor Author

namanimsft commented Dec 16, 2024 via email

@namanimsft
Copy link
Contributor Author

namanimsft commented Dec 16, 2024 via email

@namanimsft
Copy link
Contributor Author

namanimsft commented Dec 16, 2024 via email

Copy link
Contributor

@jviau jviau left a comment

Choose a reason for hiding this comment

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

@namanimsft I am going to block this PR for now. I want to have a discussion with my team in the new year about error response schema.

Will update my review after the discussion.

Copy link
Contributor

@jviau jviau left a comment

Choose a reason for hiding this comment

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

Our team discussed this, and we will worry about error schema later and not hold this PR on it. Thank you for the contribution!

@surgupta-msft
Copy link
Contributor

@namanimsft
Copy link
Contributor Author

namanimsft commented Jan 15, 2025 via email

@jviau
Copy link
Contributor

jviau commented Jan 15, 2025

/azp run host.public

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@namanimsft namanimsft closed this Jan 15, 2025
@namanimsft namanimsft reopened this Jan 15, 2025
@surgupta-msft surgupta-msft merged commit 239f8fc into Azure:dev Jan 15, 2025
6 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.

4 participants