{"modulePath":"github.com/nvidia/doca-platform/hack/tools/dpfdev","version":"v0.0.0-20261202020107-608af116a20f","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmd\n\n## Functions\n\n```go\nfunc Execute() error\n```\n\n## Types\n\n```go\ntype CheckovCheckResult struct {\n\tResult        string   `json:\"result\"`\n\tEvaluatedKeys []string `json:\"evaluated_keys\"`\n}\n```\n\n```go\ntype CheckovConfig struct {\n\t// Exclusions are checkov failures which should not lead to a failure.\n\tExclusions map[string]CheckovExclusions `json:\"exclusions\"`\n}\n```\nCheckovConfig represents the configuration for this tool to define exclusions.\n\n```go\ntype CheckovExclusion struct {\n\tCheckovFailure\n\t// contains filtered or unexported fields\n}\n```\nCheckovExclusion is a exclusion for a checkov finding with a found bool to help tracking if the exclusion has been found during analyzation.\n\n```go\ntype CheckovExclusions []*CheckovExclusion\n```\nCheckovExclusions is a list of exclusions for checkov reports.\n\n```go\ntype CheckovFailedCheck struct {\n\tCheckID     string             `json:\"check_id\"`\n\tCheckName   string             `json:\"check_name\"`\n\tCheckResult CheckovCheckResult `json:\"check_result\"`\n\tFilePath    string             `json:\"file_path\"`\n\tResource    string             `json:\"resource\"`\n\tGuideline   string             `json:\"guideline\"`\n}\n```\n\n```go\ntype CheckovFailure struct {\n\tCheckID       string   `json:\"check_id\"`\n\tResource      string   `json:\"resource\"`\n\tEvaluatedKeys []string `json:\"evaluated_keys\"`\n\t// contains filtered or unexported fields\n}\n```\nCheckovFailure is the data struct used in the reports created by running checkov.\n\n```go\nfunc (c CheckovFailure) String() string\n```\n\n```go\ntype CheckovReport struct {\n\tResults CheckovResults `json:\"results\"`\n}\n```\n\n```go\ntype CheckovResults struct {\n\tFailedChecks []CheckovFailedCheck `json:\"failed_checks\"`\n}\n```\n\n```go\ntype JUnitTestSuites struct {\n\tXMLName    xml.Name                `xml:\"testsuites\"`\n\tTestSuites []report.JUnitTestSuite `xml:\"testsuite\"`\n}\n```\nJUnitTestSuites represents the root element of the JUnit XML\n\n","path":"github.com/nvidia/doca-platform/hack/tools/dpfdev/cmd","name":"cmd","synopsis":"","isRedistributable":true}
