Azure / Azure/azure-sdk-for-rust

Programmatically change SafeDebug visibility of parameters and model fields

Open
#2,751 0 comments 0 reactions 0 assignees View on GitHub
Azure.Core Client
Dominant language
Rust
Stars
884
Forks
365
Avg merge
2d 14h
Merged PRs (30d)
111

Description

Related to #1707, we should programmatically add `#[safe(true|false)]` as appropriate based, perhaps, on the [`@secret` decorator](https://typespec.io/docs/standard-library/built-in-decorators/#@secret).

Contributor guide

Open the contributing guide

Research direction

Read related issue #1707 and the TypeSpec @secret decorator documentation first. Use those references to determine where SafeDebug visibility is generated and what parameter and model-field cases are required; the work is done when appropriate #[safe(true|false)] attributes are emitted consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.