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

Add metadata parsing for assigning/removing a script/profile to a blueprint #3

Open
moojomoore opened this issue Aug 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@moojomoore
Copy link
Owner

Once we have metadata parsing for library item name/configuration finalize, I'd like to add to the metadata to be able to assign the library item to a blueprint from within the script or profiles metadata comments.

For the metadata format, we can either only allow the blueprint UUID or we could consider parsing the List Blueprints endpoint for the name of the blueprint and return the UUID that way. This works for classic blueprints and also assignment map blueprints, however, with assignment maps we also need the assignment node UUID, which doesn't have a name and would need to be retrieved from within Kandji and put into the metadata.

We also would need to consider how the removal of a library item from a blueprint process would work if a script or profile was assigned to a blueprint via metadata and then later that metadata for the blueprint was removed since the blueprint id would no longer be available within the metadata which is required for removal.

@moojomoore moojomoore added the enhancement New feature or request label Aug 21, 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
Projects
None yet
Development

No branches or pull requests

1 participant