Skip to content

Conversation

sbcd90
Copy link
Collaborator

@sbcd90 sbcd90 commented Jul 23, 2025

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

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

…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()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

metadataForFindings -> contextFields? findingFields?

Copy link
Member

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()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

javadocs plz

Copy link
Member

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()
Copy link
Member

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()
Copy link
Member

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()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

java doc

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.

3 participants