revoke_masking_exemption
Remove one member's masking exemption in a Bytebase project after client confirmation; other members and exemptions stay unchanged.
Instructions
Remove one member's masking exemption in a Bytebase project. The user confirms in this client first.
Parameter | Required | Description |
project | Yes | Project name, e.g. "projects/hr" |
member | Yes | The member as the policy lists it, e.g. "user:bob@example.com" |
condition | Yes | The exemption's condition expression, exactly as OrgPolicyService/GetPolicy returns it for "{project}/policies/masking_exemption"; "" for an exemption with no condition |
The member is removed from every exemption whose condition matches exactly; an exemption left with no member is removed. Other members and other exemptions stay as they are. The tool asks the user to confirm in a form, and writes only when they accept. A client that cannot show the form gets the project's masking exemption page.
The same permissions apply as in the console.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"member": "<member>",
"condition": "<condition>"
},
"name": "revoke_masking_exemption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member | Yes | ||
| project | Yes | ||
| condition | Yes |