Skip to content

Commit

Permalink
Security considerations: ids are strings, not integers
Browse files Browse the repository at this point in the history
Fix doc regarding using assertion on IDs rather than names

Signed-off-by: Joachim Jablon <[email protected]>
  • Loading branch information
ewjoachim authored Mar 12, 2024
1 parent 55bd3a7 commit 81b0330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/SECURITY_CONSIDERATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ curl -sfL -H "Accept: application/json" "https://api.github.com/repos/${REPO}" |
These can be used in an Attribute Condition:

```cel
assertion.repository_owner_id == 1342004 && assertion.repository_id == 260064828
assertion.repository_owner_id == '1342004' && assertion.repository_id == '260064828'
```

[cybersquatting]: https://en.wikipedia.org/wiki/Cybersquatting
Expand Down

0 comments on commit 81b0330

Please sign in to comment.