Skip to content

Change device actions to POST and add stale device cleanup standard #3356

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

Merged
merged 3 commits into from
Jan 19, 2025

Conversation

kris6673
Copy link
Contributor

@kris6673 kris6673 commented Jan 19, 2025

Update device action requests from GET to POST for consistency and introduce a new standard for cleaning up stale Entra devices with a configurable age threshold.
API PR: KelvinTegelaar/CIPP-API#1247

@KelvinTegelaar
Copy link
Owner

Breaks backward compatibility with API, so we can't accept this. Tip: Try PowerShells ternary operator to easily fix.

@kris6673
Copy link
Contributor Author

Breaks backward compatibility with API, so we can't accept this. Tip: Try PowerShells ternary operator to easily fix.

I think I've already done this in this commit here :)
KelvinTegelaar/CIPP-API@c8e3669

@kris6673
Copy link
Contributor Author

kris6673 commented Jan 19, 2025

ah no youre right, i forgot the tenant filter, ill fix that now
Edit: Fixed

@KelvinTegelaar
Copy link
Owner

Adding two comments inline

@KelvinTegelaar KelvinTegelaar merged commit 55a256f into KelvinTegelaar:dev Jan 19, 2025
3 checks passed
@kris6673 kris6673 deleted the devices branch January 19, 2025 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants