Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce licenseScan scan type #1153

Closed
de-jcup opened this issue Mar 23, 2022 · 0 comments · Fixed by #1275
Closed

Introduce licenseScan scan type #1153

de-jcup opened this issue Mar 23, 2022 · 0 comments · Fixed by #1275
Assignees

Comments

@de-jcup
Copy link
Member

de-jcup commented Mar 23, 2022

Situation

This is a kind of sub issue of #1152

Wanted

We want a new scan type: licenseScan

Solution

Format inside sechub configuration model JSON (as fictional suggested by #1098):

{
  "apiVersion" : "1.0",
  "server" : "https://sechub.example.org",
  "project" : "gamechanger",
  "data" : {
    "sources" : [ {
      "name" : "android-sources",
      "fileSystem" : {
        "folders" : [ "gamechanger-android/src/main/java", "gamechanger-server/src/main/java" ]
      }
    }],
    "binaries" : [ {
      "name" : "android-libraries",
      "fileSystem" : {
        "folders" : [ "gamechanger-android/lib/dlls", "gamechanger-server/lib/so" ]
      }
    }]
  "licenseScan" : {
    "use" : [ "android-sources","android-libraries" ]
  }
}
@Jeeppler Jeeppler self-assigned this Apr 25, 2022
Jeeppler added a commit that referenced this issue Apr 27, 2022
Added new scan type licenseScan #1153
Added new spdx importer #1157
Jeeppler added a commit that referenced this issue Apr 27, 2022
- Implemented SPDX JSON importer #1157
- Added license information to JSON #1157
- Introduced licenseScan type on server and SPDX side #1153
- Extend REST interface for getting reports in SPDX JSON format #1156
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants