Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions internal/difc/evaluator.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,9 @@ func (e *Evaluator) evaluateWrite(
logEvaluator.Printf("Write denied: secrecy check failed, extraTags=%v", extraTags)
result.Decision = AccessDeny
result.SecrecyToAdd = extraTags
result.Reason = fmt.Sprintf("Agent has secrecy tags %v that cannot flow to '%s'. "+
"The agent carries sensitive data that the target resource is not authorized to receive.",
extraTags, resource.Description)
result.Reason = fmt.Sprintf("Agent carries %s-scoped data that cannot be written to '%s' due to secrecy constraints. "+
"The target resource is not authorized to receive this sensitive data.",
formatSecrecyLevel(extraTags), resource.Description)
return result
}

Expand Down
Loading