Skip to content

junsulee/fossid-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 

Repository files navigation

fossid-git

FossID GIT Integration Script v0.9.4 (Beta)

A lightweight script that helps to integrate the FossID with various git-based CI/CD environments.

Prerequisites

#(debian/ubuntu)
sudo apt-get install jq
#(redhat/centos)
yum install jq

Usage

./fossid-git.sh --fossid.scheme=https --fossid.host=fossid.mycompany.com --fossid.username=myuser \
--fossid.apikey=abcdefgh --fossid.project.name=myproject --fossid.scan.name=myscan \
--fossid.git.url=https://github.com/mycompany/myproject --fossid.git.branch=master

Properties

--fossid.scheme				: (Required) protocol (http or https)
--fossid.host				: (Required) hostname of FossID webserver
--fossid.username			: (Required) FossID username
--fossid.apikey				: (Required) FossID apikey
--fossid.project.name			: (Required) name for the FossID project
--fossid.scan.name			: (Required) name for the FossID scan
--fossid.git.url 			: git repository url
--fossid.git.branch 			: branch name of git repository
--fossid.filesystem.path 		: (Optional) target path in the FossID server's file system
(Advanced)
--fossid.trust.cert 			: Trust self-signed certificates (true/false)
--fossid.timeout 			: set operation timeout (default:0 - unlimited)
--fossid.proxy.scheme 			: set proxy protocol (http or https)"
--fossid.proxy.host 			: set proxy host for connnection"
--fossid.proxy.port 			: set proxy port"
--fossid.proxy.username 		: set proxy username"
--fossid.proxy.password 		: set proxy password"

Release Note

v0.9.4

  • support for proxy connection, minor bug fixed

v0.9.3

  • support for trust certificate option, help menu added

v0.9.2

  • structural improvement and bug fixed

v0.9.1

  • output message handling improvement and bug fixed

v0.9

  • bug fixed / added feature: print scan info when finished

v0.8

  • added feature: check scan progress

v0.7

  • added support for git repository scanning

v0.6

  • create child scan if project already exists

v0.5

  • structural improvement

v0.4

  • structural improvement

v0.3

  • improvement using jq

v0.2

  • structural improvement

v0.1

  • initial release

License

This project is licensed under the terms of the GNU General Public License v2.0 or later alike below.

Copyright (c) 2020 OSBC / junsulee jslee@osbc.co.kr

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.