Skip to content

Commit 9810f5e

Browse files
isasmendiagussschuberth
authored andcommitted
fix(scanoss)!: Set SCANOSS readFromStorage property to false
This change follows the same approach implemented for other snippet scanners like FossId (see commit 40fa386), where snippet scanner results should never come from scan storage. Signed-off-by: Agustin Isasmendi <agustin.isasmendi@scanoss.com>
1 parent 8f0c2c0 commit 9810f5e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

plugins/scanners/scanoss/src/main/kotlin/ScanOss.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ScanOss(
6969

7070
override val matcher: ScannerMatcher? = null
7171

72-
override val readFromStorage = config.readFromStorage
72+
override val readFromStorage = false
7373

7474
override val writeToStorage = config.writeToStorage
7575

plugins/scanners/scanoss/src/main/kotlin/ScanOssConfig.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ data class ScanOssConfig(
4848
*/
4949
val maxVersion: String?,
5050

51-
/**
52-
* Whether to read scan results from the storage.
53-
*/
54-
@OrtPluginOption(defaultValue = "true")
55-
val readFromStorage: Boolean,
56-
5751
/**
5852
* Whether to write scan results to the storage.
5953
*/

0 commit comments

Comments
 (0)