-
Notifications
You must be signed in to change notification settings - Fork 105
enhance monitor to store only relevant fields for docs linked to findings #855
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
base: main
Are you sure you want to change the base?
Conversation
…ings Signed-off-by: Subhobrata Dey <[email protected]> fix it Signed-off-by: Subhobrata Dey <[email protected]>
val shouldCreateSingleAlertForFindings: Boolean? = false, | ||
val owner: String? = "alerting" | ||
val owner: String? = "alerting", | ||
val metadataForFindings: List<String>? = listOf() |
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.
metadataForFindings -> contextFields? findingFields?
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.
java doc
*/ | ||
val executionId: String? = null | ||
val executionId: String? = null, | ||
val additionalFields: Map<String, Any>? = mapOf() |
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.
javadocs plz
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.
plz add version awareness to avoid serde issues
*/ | ||
val executionId: String? = null | ||
val executionId: String? = null, | ||
val additionalFields: Map<String, Any>? = mapOf() |
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.
plz add version awareness to avoid serde issues
}, | ||
owner = sin.readOptionalString() | ||
owner = sin.readOptionalString(), | ||
metadataForFindings = sin.readOptionalStringList() |
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.
plz add version awareness to avoid serde issues
val shouldCreateSingleAlertForFindings: Boolean? = false, | ||
val owner: String? = "alerting" | ||
val owner: String? = "alerting", | ||
val metadataForFindings: List<String>? = listOf() |
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.
java doc
Description
enhance monitor to store only relevant fields for docs linked to findings
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.