Skip to content

Allow / in Entity UIDs without a warning #621

@aaronjeline

Description

@aaronjeline

Category

Cedar validation features/changes

Describe the feature you'd like to request

Currently, the validator issues a warning if an Entity UID contains a / as that falls outside of the Unicode General Security Profile for Identifiers.

The spec says:

That specification also permits other protocols to use that method as a base, and to define a profile that adds or removes characters. For example, identifiers for specific programming languages typically add some characters like "$", and remove others

/ is used in some reasonable entity names like networks (Network::"192.168.0.1/16") and Windows usernames (MyDomain/user)

Describe alternatives you've considered

The alternative is leaving the current string warnings at the default General Security Profile. This is a non-blocking problem as it's merely a warning. However, excessive false positive warnings are annoying for users.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestThis issue requets a substantial new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions