20 Commits

Author SHA256 Message Date
Dominique Leuenberger
a641f4c7d1 Accepting request 1088705 from devel:languages:go
- Update to version 2.16.0
* Update cosign to latest version in release Github action
* chore(deps): update all dependencies
* Update go version in build and release scripts
* chore(deps): update all dependencies
* Update Go version to 1.20.3
* chore(deps): update all dependencies
* Fix for Dockerfile smell DL3059
* README: upgrade GitHub action in examples
* enable ginkgolinter linter
* chore(deps): update all dependencies
* correct gci linter
* remove deprecated linters
* increase timeout to 5m
* chore(deps): update all dependencies
* Use the latest version
* Fix some linting warnings
* Fix lint warning
* Bump the go versions and golanci
* chore(deps): update all dependencies
* Check nil pointer when variable is declared in a different file
* fix dead link to issue.go in README.md
* Remove rule G307 which checks when an error is not handled when a file or socket connection is closed
* Fix rule index reference into sarif report
* Bump golang.org/x/net from 0.6.0 to 0.7.0
* Format file
* Use the gosec issue in the go analysers
* Fix file formatting
* Update Go version in CI builds
* Fix method name in the comment
* Extract the issue in its own package
* Add support for Go analysis framework and SSA code representation
* chore(deps): update all dependencies
* Remove the version form ci github action
* Pin github action to latest release version 2.15.0
* Revert the image tag in github action until a working solution is found
* Fix version interpolation in github action image
* Add gosec version as an input parameter to GitHub action
* Update release build script (forwarded request 1088575 from ph03nix)

OBS-URL: https://build.opensuse.org/request/show/1088705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gosec?expand=0&rev=9
2023-05-24 18:22:28 +00:00
Jeff Kowalczyk
826d609a07 Accepting request 1088575 from home:ph03nix
- Update to version 2.16.0
* Update cosign to latest version in release Github action
* chore(deps): update all dependencies
* Update go version in build and release scripts
* chore(deps): update all dependencies
* Update Go version to 1.20.3
* chore(deps): update all dependencies
* Fix for Dockerfile smell DL3059
* README: upgrade GitHub action in examples
* enable ginkgolinter linter
* chore(deps): update all dependencies
* correct gci linter
* remove deprecated linters
* increase timeout to 5m
* chore(deps): update all dependencies
* Use the latest version
* Fix some linting warnings
* Fix lint warning
* Bump the go versions and golanci
* chore(deps): update all dependencies
* Check nil pointer when variable is declared in a different file
* fix dead link to issue.go in README.md
* Remove rule G307 which checks when an error is not handled when a file or socket connection is closed
* Fix rule index reference into sarif report
* Bump golang.org/x/net from 0.6.0 to 0.7.0
* Format file
* Use the gosec issue in the go analysers
* Fix file formatting
* Update Go version in CI builds
* Fix method name in the comment
* Extract the issue in its own package
* Add support for Go analysis framework and SSA code representation
* chore(deps): update all dependencies
* Remove the version form ci github action
* Pin github action to latest release version 2.15.0
* Revert the image tag in github action until a working solution is found
* Fix version interpolation in github action image
* Add gosec version as an input parameter to GitHub action
* Update release build script

OBS-URL: https://build.opensuse.org/request/show/1088575
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=18
2023-05-23 15:11:06 +00:00
Dominique Leuenberger
b9fba275b9 Accepting request 1063471 from devel:languages:go
* Update to version 2.15.0
- Fix dependencies after renovate update
- chore(deps): update all dependencies (#922)
- Update to Go 1.20 and fix unit tests (#923)
- Update Go to latest version (#920)
- Update hardcoded_credentials.go fix: adaper equal expr which const value at left (#917)
- Fix github latest URL (#918)
- Fix github release url (#916)
- chore(deps): update module github.com/onsi/ginkgo/v2 to v2.7.0 (#914)
- Update Go version in CI script (#913)
- Track back when a file path was sanitized with filepath.Clean (#912)
- Fix the TLS config rule when parsing the settings from a variable (#911)
- Fix build after updating the dependencies (#910)
- chore(deps): update all dependencies (#909)
- Fix dependencies after renovate update (#907)
- chore(deps): update all dependencies (#906)
- Update slack badge and link (#905)
- Auto-detect TLS MinVersion integer base (#903)
- Adding s390x support (#902)
- chore(deps): update all dependencies (#904)
- chore(deps): update all dependencies (#898)
- Additional types for bad defer check (#897)
- chore(deps): update all dependencies (#894)
- chore(deps): update all dependencies (#892)
- Update Go version in CI scripts (#889)
- chore(deps): update all dependencies (#888)
- Allow to override build date with SOURCE_DATE_EPOCH (#887)
- chore(deps): update all dependencies (#886)
- chore(deps): update all dependencies (#884)
- fileperms: bitwise permission comparison (#883) (forwarded request 1063437 from ph03nix)

OBS-URL: https://build.opensuse.org/request/show/1063471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gosec?expand=0&rev=8
2023-02-07 17:48:54 +00:00
Jeff Kowalczyk
d85194afd4 Accepting request 1063437 from home:ph03nix
* Update to version 2.15.0
- Fix dependencies after renovate update
- chore(deps): update all dependencies (#922)
- Update to Go 1.20 and fix unit tests (#923)
- Update Go to latest version (#920)
- Update hardcoded_credentials.go fix: adaper equal expr which const value at left (#917)
- Fix github latest URL (#918)
- Fix github release url (#916)
- chore(deps): update module github.com/onsi/ginkgo/v2 to v2.7.0 (#914)
- Update Go version in CI script (#913)
- Track back when a file path was sanitized with filepath.Clean (#912)
- Fix the TLS config rule when parsing the settings from a variable (#911)
- Fix build after updating the dependencies (#910)
- chore(deps): update all dependencies (#909)
- Fix dependencies after renovate update (#907)
- chore(deps): update all dependencies (#906)
- Update slack badge and link (#905)
- Auto-detect TLS MinVersion integer base (#903)
- Adding s390x support (#902)
- chore(deps): update all dependencies (#904)
- chore(deps): update all dependencies (#898)
- Additional types for bad defer check (#897)
- chore(deps): update all dependencies (#894)
- chore(deps): update all dependencies (#892)
- Update Go version in CI scripts (#889)
- chore(deps): update all dependencies (#888)
- Allow to override build date with SOURCE_DATE_EPOCH (#887)
- chore(deps): update all dependencies (#886)
- chore(deps): update all dependencies (#884)
- fileperms: bitwise permission comparison (#883)

OBS-URL: https://build.opensuse.org/request/show/1063437
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=16
2023-02-06 16:13:51 +00:00
Dominique Leuenberger
11a6ca5834 Accepting request 1043867 from devel:languages:go
- Switch OBS source service from tar_scm to obs_scm.
  * Embed version info with go build arg GIT_TAG="v%{version}"
  * _service obs_scm switch from tar_scm
  * _service obs_scm switch param revision (branch) to version (tag)
  * _service tar set to buildtime
  * _service recompress set to buildtime
  * _service recompress change tar compression from gz to xz (forwarded request 1043862 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1043867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gosec?expand=0&rev=7
2022-12-20 19:20:53 +00:00
Jeff Kowalczyk
9a95cd3edd Accepting request 1043862 from home:jfkw:branches:devel:languages:go
- Switch OBS source service from tar_scm to obs_scm.
  * Embed version info with go build arg GIT_TAG="v%{version}"
  * _service obs_scm switch from tar_scm
  * _service obs_scm switch param revision (branch) to version (tag)
  * _service tar set to buildtime
  * _service recompress set to buildtime
  * _service recompress change tar compression from gz to xz

OBS-URL: https://build.opensuse.org/request/show/1043862
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=14
2022-12-20 07:32:00 +00:00
Dominique Leuenberger
66c1da04a3 Accepting request 1026508 from devel:languages:go
* Update to versin 2.14.0
- Pin release build to Go version 1.19.2 (#882)
- Refactor to support duplicate imports with different aliases (#865)
- chore(deps): update all dependencies (#881)
- go.mod: ginkgo/v2 v2.3.1, golang.org/x/text v0.3.8, update go versions (#880)
- Update Go version to 1.19 in the makefile (#876)
- chore(deps): update all dependencies (#875)
- Add CWE-676 to cwe mapping (#874)
- chore(deps): update all dependencies (#872)
- Add a way to use private repositories on GitHub (#869)
- chore(deps): update all dependencies (#868)
- Check go version when installing govulncheck
- Check go version when running govulncheck
- Add vulncheck to the test steps
- chore(deps): update all dependencies
- Fix false positives for G404 with aliased packages
- chore(deps): update all dependencies
- chore(deps): update all dependencies
- fix: add a CWE ID mapping to rule G114
- chore(deps): update golang.org/x/crypto digest to bc19a97

OBS-URL: https://build.opensuse.org/request/show/1026508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gosec?expand=0&rev=6
2022-10-18 10:45:07 +00:00
Jeff Kowalczyk
afd8f8285e Accepting request 1014614 from home:ph03nix
* Update to versin 2.14.0
- Pin release build to Go version 1.19.2 (#882)
- Refactor to support duplicate imports with different aliases (#865)
- chore(deps): update all dependencies (#881)
- go.mod: ginkgo/v2 v2.3.1, golang.org/x/text v0.3.8, update go versions (#880)
- Update Go version to 1.19 in the makefile (#876)
- chore(deps): update all dependencies (#875)
- Add CWE-676 to cwe mapping (#874)
- chore(deps): update all dependencies (#872)
- Add a way to use private repositories on GitHub (#869)
- chore(deps): update all dependencies (#868)
- Check go version when installing govulncheck
- Check go version when running govulncheck
- Add vulncheck to the test steps
- chore(deps): update all dependencies
- Fix false positives for G404 with aliased packages
- chore(deps): update all dependencies
- chore(deps): update all dependencies
- fix: add a CWE ID mapping to rule G114
- chore(deps): update golang.org/x/crypto digest to bc19a97

OBS-URL: https://build.opensuse.org/request/show/1014614
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=12
2022-10-17 14:17:43 +00:00
Dominique Leuenberger
3780ea13d3 Accepting request 998691 from devel:languages:go
Update to version 2.13.1 (forwarded request 998624 from ph03nix)

OBS-URL: https://build.opensuse.org/request/show/998691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gosec?expand=0&rev=5
2022-08-23 12:29:35 +00:00
Jeff Kowalczyk
64101d2629 Accepting request 998624 from home:ph03nix
Update to version 2.13.1

OBS-URL: https://build.opensuse.org/request/show/998624
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=10
2022-08-22 16:37:08 +00:00
Dominique Leuenberger
8f58c1a2f6 Accepting request 984265 from devel:languages:go
- Enable _service tar_scm changelog automation
- Commit _servicedata to support tar_scm changelog automation
- Update to version 2.12.0: (forwarded request 984075 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/984265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gosec?expand=0&rev=4
2022-06-23 08:23:40 +00:00
Jeff Kowalczyk
aec1c2704e Accepting request 984075 from home:jfkw:branches:devel:languages:go
- Enable _service tar_scm changelog automation
- Commit _servicedata to support tar_scm changelog automation
- Update to version 2.12.0:

OBS-URL: https://build.opensuse.org/request/show/984075
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=8
2022-06-21 22:37:53 +00:00
Jeff Kowalczyk
ff94bdca60 Accepting request 982726 from home:ph03nix
Update to version 2.12.0

OBS-URL: https://build.opensuse.org/request/show/982726
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=7
2022-06-15 15:15:16 +00:00
Dominique Leuenberger
7bad9ae65f Accepting request 974964 from devel:languages:go
* Use build-linux target on x86_64 to include git tag and version (for `gosec -version`)
* Add additional build check (forwarded request 974534 from ph03nix)

OBS-URL: https://build.opensuse.org/request/show/974964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gosec?expand=0&rev=3
2022-05-05 21:06:13 +00:00
Jeff Kowalczyk
d26a470ef6 Accepting request 974534 from home:ph03nix
* Use build-linux target on x86_64 to include git tag and version (for `gosec -version`)
* Add additional build check

OBS-URL: https://build.opensuse.org/request/show/974534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=5
2022-05-04 15:16:25 +00:00
Jeff Kowalczyk
66481f311e Accepting request 963855 from home:ph03nix
Update to v2.11.0

OBS-URL: https://build.opensuse.org/request/show/963855
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=4
2022-03-23 07:30:13 +00:00
Dominique Leuenberger
9a0c78dd09 Accepting request 958490 from devel:languages:go
Update to v2.10.0 (forwarded request 958397 from ph03nix)

OBS-URL: https://build.opensuse.org/request/show/958490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gosec?expand=0&rev=2
2022-03-02 17:22:36 +00:00
Jeff Kowalczyk
990659287e Accepting request 958397 from home:ph03nix
Update to v2.10.0

OBS-URL: https://build.opensuse.org/request/show/958397
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=3
2022-03-02 16:23:29 +00:00
Dominique Leuenberger
0d295e37d7 Accepting request 950920 from devel:languages:go
Add gosec package to Tumbleweed

OBS-URL: https://build.opensuse.org/request/show/950920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gosec?expand=0&rev=1
2022-02-07 22:37:55 +00:00
Jeff Kowalczyk
05290390fe Accepting request 947871 from home:ph03nix
Add gosec package (includes new released version)

OBS-URL: https://build.opensuse.org/request/show/947871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gosec?expand=0&rev=1
2022-02-01 21:12:11 +00:00