Skip to content

Commit

Permalink
Add setting.json to FOSSLight Scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
soimkim authored Jul 8, 2024
1 parent 357716a commit b2e8117
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scanner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ fosslight all -o test_result_wget -w "https://github.com/LGE-OSS/example.git"
fosslight compare -p FOSSLight_before_proj.yaml FOSSLight_after_proj.yaml -o test_result
```

### How to call execution parameters as json
1. Write and save the values ​​for each execution parameter as a json file in [setting.json](https://github.com/fosslight/fosslight_scanner/blob/main/tests/setting.json) format.
2. When running, call setting.json with -s.
```
fosslight -s setting.json
```
🛈 The value called during execution takes precedence over the parameters written in the json file.
ex. When called with '-f yaml -s setting.json', the output file is in yaml format.


## 📁 Result
### Result for the mode that analyze the open source (all, source, dependency, binary)
```
Expand Down

0 comments on commit b2e8117

Please sign in to comment.