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

CID Command Line Option for MSSP Auth Backend #147

Merged
merged 6 commits into from
Jul 8, 2024
Merged

Conversation

ChristopherHammond13
Copy link
Member

@ChristopherHammond13 ChristopherHammond13 commented Jul 8, 2024

The status quo is that you have to search for the CID you are working with every time you launch the Toolkit if you are an MSSP customer. This change allows you to specify the CID in either an environment variable or as a command line option (--cid).

This change is also available generically to other auth backends should they be available in the future.

Additionally, by passing the Click Context through to the authenticate() function, we pave the way for other parameters to be passed through to authentication backends in the future if required.

Note that we have a breaking change here. The only supported environment variable to set the CID for an auth backend that supports it (like the MSSP one) will be FALCON_TOOLKIT_CID. The other (FALCON_MSSP_CHILD_CID) has been removed, since it wasn't consistent and the new one is simpler and generalised. Apologies for any inconvenience caused.

@ChristopherHammond13 ChristopherHammond13 added the 🙌 enhancement New feature or request label Jul 8, 2024
@ChristopherHammond13 ChristopherHammond13 self-assigned this Jul 8, 2024
@ChristopherHammond13 ChristopherHammond13 merged commit 4588551 into main Jul 8, 2024
4 checks passed
@ChristopherHammond13 ChristopherHammond13 deleted the cid-option branch July 8, 2024 19:36
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

Successfully merging this pull request may close these issues.

1 participant