@xliic/cicd-core-node
Advanced tools
Comparing version 5.33.1 to 5.36.0
@@ -32,3 +32,8 @@ /* | ||
} | ||
return { files: files, failures, jsonReport }; | ||
return { | ||
files: files, | ||
failures, | ||
jsonReport, | ||
ignoreFailures: options.config.ignore_failures, | ||
}; | ||
} | ||
@@ -35,0 +40,0 @@ catch (err) { |
@@ -28,2 +28,3 @@ /* | ||
failureConditions: readFailureConditions(minScore, undefined), | ||
ignore_failures: false, | ||
}; | ||
@@ -37,2 +38,3 @@ } | ||
api_tags: audit.api_tags, | ||
ignore_failures: !!audit.ignore_failures, | ||
}; | ||
@@ -47,2 +49,3 @@ } | ||
mappedFiles: {}, | ||
ignore_failures: false, | ||
}; | ||
@@ -54,2 +57,3 @@ } | ||
mappedFiles: readMapped(rootDir, scan.mapping), | ||
ignore_failures: !!scan.ignore_failures, | ||
}; | ||
@@ -56,0 +60,0 @@ } |
@@ -63,2 +63,5 @@ { | ||
} | ||
}, | ||
"ignore_failures": { | ||
"type": "boolean" | ||
} | ||
@@ -65,0 +68,0 @@ } |
@@ -78,2 +78,3 @@ export type Result<R, E> = [R, undefined] | [undefined, E]; | ||
jsonReport: JsonReport; | ||
ignoreFailures: boolean; | ||
} | ||
@@ -111,2 +112,3 @@ export interface ScanApi extends Api { | ||
api_tags?: string[]; | ||
ignore_failures: boolean; | ||
} | ||
@@ -123,2 +125,3 @@ export interface AuditConfig extends TaskConfig { | ||
api_tags?: string[]; | ||
ignore_failures?: boolean; | ||
} | ||
@@ -125,0 +128,0 @@ export interface YamlFailureConditions { |
{ | ||
"name": "@xliic/cicd-core-node", | ||
"version": "5.33.1", | ||
"version": "5.36.0", | ||
"description": "Performs API contract security audit to get a detailed analysis of the possible vulnerabilities and other issues in the API contract.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -64,3 +64,8 @@ /* | ||
return { files: files, failures, jsonReport }; | ||
return { | ||
files: files, | ||
failures, | ||
jsonReport, | ||
ignoreFailures: options.config.ignore_failures, | ||
}; | ||
} catch (err) { | ||
@@ -67,0 +72,0 @@ handleTaskError(err, options); |
@@ -50,2 +50,3 @@ /* | ||
failureConditions: readFailureConditions(minScore, undefined), | ||
ignore_failures: false, | ||
}; | ||
@@ -61,2 +62,3 @@ } | ||
api_tags: audit.api_tags, | ||
ignore_failures: !!audit.ignore_failures, | ||
}; | ||
@@ -76,2 +78,3 @@ } | ||
mappedFiles: {}, | ||
ignore_failures: false, | ||
}; | ||
@@ -85,2 +88,3 @@ } | ||
mappedFiles: readMapped(rootDir, scan.mapping), | ||
ignore_failures: !!scan.ignore_failures, | ||
}; | ||
@@ -87,0 +91,0 @@ } |
@@ -63,2 +63,5 @@ { | ||
} | ||
}, | ||
"ignore_failures": { | ||
"type": "boolean" | ||
} | ||
@@ -65,0 +68,0 @@ } |
@@ -100,2 +100,3 @@ /* | ||
jsonReport: JsonReport; | ||
ignoreFailures: boolean; | ||
} | ||
@@ -143,2 +144,3 @@ | ||
api_tags?: string[]; | ||
ignore_failures: boolean; | ||
} | ||
@@ -157,2 +159,3 @@ | ||
api_tags?: string[]; | ||
ignore_failures?: boolean; | ||
} | ||
@@ -159,0 +162,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
284414
6238