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

BED-5268: Tiering create selector #1211

Merged
merged 37 commits into from
Mar 20, 2025
Merged

Conversation

AD7ZJ
Copy link
Member

@AD7ZJ AD7ZJ commented Mar 12, 2025

Description

Implement the api/v2/asset-group-labels/{%s}/selectors endpoint.

Motivation and Context

This PR addresses: https://specterops.atlassian.net/browse/BED-5268

How Has This Been Tested?

Added unit tests for resource and database methods. Tested that the endpoint works using bruno.

Screenshots (optional):

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

AD7ZJ added 4 commits March 11, 2025 16:03
allowed cypher query complexity. All previously existing calls to it have been
updated to use MaxQueryComplexityWeightAllowed so the overall behavior is
unchanged.
Fixed unit test of CreateAssetGroupLabel()
Copy link
Contributor

@mistahj67 mistahj67 left a comment

Choose a reason for hiding this comment

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

I think this is nearly there, mostly naming nits but blocked for migration change and a few missing considerations

@AD7ZJ AD7ZJ force-pushed the BED-5268-Tiering-Create-Selector branch from b2ff321 to 860d6db Compare March 14, 2025 17:27
@AD7ZJ AD7ZJ requested a review from mistahj67 March 14, 2025 17:32
Copy link
Contributor

@mistahj67 mistahj67 left a comment

Choose a reason for hiding this comment

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

Appreciate the patience with the feedback, code LGTM

Copy link
Member

@computator computator left a comment

Choose a reason for hiding this comment

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

I think this all looks good!

@AD7ZJ AD7ZJ merged commit 61a0a0f into main Mar 20, 2025
8 checks passed
@AD7ZJ AD7ZJ deleted the BED-5268-Tiering-Create-Selector branch March 20, 2025 16:58
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants