-
Notifications
You must be signed in to change notification settings - Fork 674
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(CIS): Logpush to cloud logs and generic destination #5872
Conversation
@@ -63,6 +73,57 @@ func ResourceIBMCISLogPushJob() *schema.Resource { | |||
}, | |||
Description: "Information to identify the LogDNA instance the data will be pushed.", | |||
}, | |||
cisLogPushCos: { | |||
Type: schema.TypeString, |
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.
why we defined the type as string json can't we define it as list similar cisLogPushIbmCl
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.
So the attributes inside the Cos are not fixed like they are in IBMCL. In the end we have to send the data as json string only just like in cisLogdna. So i thought it would be better to use the already working approach.
Community Note
Relates OR Closes #0000
Output from acceptance testing: