de.fraunhofer.iem.spha.model.adapter.trufflehog.TrufflehogDto.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spha-model Show documentation
Show all versions of spha-model Show documentation
SPHA is a collection of libraries to work with hierarchical KPI models.
The newest version!
/*
* Copyright (c) 2024 Fraunhofer IEM. All rights reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*
* SPDX-License-Identifier: MIT
* License-Filename: LICENSE
*/
package de.fraunhofer.iem.spha.model.adapter.trufflehog
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonObject
@Serializable data class TrufflehogDto(val results: List)
@Serializable
data class TrufflehogReportDto(
val level: String?,
val ts: String?,
val logger: String?,
val msg: String?,
val chunks: Int?,
val bytes: Int?,
@SerialName("verified_secrets") val verifiedSecrets: Int,
@SerialName("unverified_secrets") val unverifiedSecrets: Int,
@SerialName("scan_duration") val scanDuration: String?,
@SerialName("trufflehog_version") val trufflehogVersion: String?,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy