-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat(cli): CLI guided config support for creating Azure AD integration #1628
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great! One small change and please resolve the test/lint failures. Thx!
} | ||
|
||
// Ensure all combinations of inputs are valid for supported spec | ||
func (args *GenerateAzureTfConfigurationArgs) validate() error { | ||
// Validate one of config or activity log was enabled; otherwise error out | ||
if !args.ActivityLog && !args.Config { | ||
if !args.ActivityLog && !args.Config && !args.EntraIdActivityLog { | ||
return errors.New("audit log or config integration must be enabled") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add entra to this list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EntraID is still audit log so I didn't change the error message, because right now the users have the option to create audit log with either option, but I did add it to the if-condition check.
…N-93116-cli-guided-config-azure-ad
Summary
This PR adds support to create an Azure Entra ID (formerly Active Directory) activity log integration with LW. Support is added for both, manual and guided config.
How did you test this change?
Screenshots [CLI]:
Issue
RAIN-93116