Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Add support for Custom Security Attributes #281

Merged

Conversation

BrendanThompson
Copy link
Contributor

This PR will add:

  • attribute sets
  • custom security attribute definitions

Signed-off-by: Brendan Thompson <github@blt.is>
Signed-off-by: Brendan Thompson <github@blt.is>
Copy link
Owner

@manicminer manicminer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @BrendanThompson! As discussed in private, for the attribute sets if we can name them predictably and only create when absent, this will avoid running the tenant-wide limit. For attributes, we should deactivate them at the end of the test as these don't contribute towards the limit. Other than that, this LGTM and should be good to go with those changes 👍

Signed-off-by: Brendan Thompson <github@blt.is>
Signed-off-by: Brendan Thompson <github@blt.is>
Signed-off-by: Brendan Thompson <github@blt.is>
Signed-off-by: Brendan Thompson <github@blt.is>
- `AttributeSet` cannot have a digit as the first character in the name, this change ensures that never happens

Signed-off-by: Brendan Thompson <github@blt.is>
- Creation of new `AttributeSet` will only occur when environment variable is set
- Added to the `Test` struct

Signed-off-by: Brendan Thompson <github@blt.is>
- If not set `hamilton` is the default

Signed-off-by: Brendan Thompson <github@blt.is>
@manicminer manicminer added enhancement New feature or request package/msgraph labels May 17, 2024
Copy link
Owner

@manicminer manicminer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making the updates @BrendanThompson, this LGTM 🚀

@manicminer manicminer added this to the v0.69.0 milestone May 17, 2024
@manicminer
Copy link
Owner

Test failure is unrelated

@manicminer manicminer merged commit baf3912 into manicminer:main May 17, 2024
1 of 2 checks passed
manicminer added a commit that referenced this pull request May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request package/msgraph
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants