ShellSentryConfig

@JsonClass(generateAdapter = true)
data class ShellSentryConfig(val version: Int = CURRENT_VERSION, @Json(name = "gradle_enterprise_server") val gradleEnterpriseServer: String? = null, @Json(name = "known_issues") val knownIssues: List<Issue> = KnownIssues::class.declaredMemberProperties.map { it.get(KnownIssues) as Issue }, @Json(name = "min_confidence") val minConfidence: Int = 75)(source)

Represents a configuration for ShellSentryCli.

Constructors

Link copied to clipboard
constructor(version: Int = CURRENT_VERSION, @Json(name = "gradle_enterprise_server") gradleEnterpriseServer: String? = null, @Json(name = "known_issues") knownIssues: List<Issue> = KnownIssues::class.declaredMemberProperties.map { it.get(KnownIssues) as Issue }, @Json(name = "min_confidence") minConfidence: Int = 75)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val minConfidence: Int = 75

A minimum confidence level on a scale of 0-100 to accept. AnalysisResults from ShellSentryExtensions with lower confidence than this will be discarded.

Link copied to clipboard