diff --git a/_service b/_service
index 4b25db4..0e08c50 100644
--- a/_service
+++ b/_service
@@ -2,10 +2,9 @@
https://github.com/securego/gosec.git
git
- .git
- v2.12.0
+ master
+ v2.13.1
@PARENT_TAG@
- enable
v(.*)
diff --git a/_servicedata b/_servicedata
deleted file mode 100644
index eacb29f..0000000
--- a/_servicedata
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- https://github.com/securego/gosec.git
- a9b0ef0a1136cc93caacd1ca281a8b6d883946e5
\ No newline at end of file
diff --git a/gosec-2.12.0.tar.gz b/gosec-2.12.0.tar.gz
deleted file mode 100644
index 4dbe8c1..0000000
--- a/gosec-2.12.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:71eede3bee1cf1876f4aca517d029f11af4d116c48791d5e90ecbe82ecea98b5
-size 140118
diff --git a/gosec-2.13.1.tar.gz b/gosec-2.13.1.tar.gz
new file mode 100644
index 0000000..5793cbe
--- /dev/null
+++ b/gosec-2.13.1.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ac9b0d56e6e6a95603f1105e958fdca57c68f6ead82825af7a74fee1eff71105
+size 140401
diff --git a/gosec.changes b/gosec.changes
index b80c0a0..134694f 100644
--- a/gosec.changes
+++ b/gosec.changes
@@ -1,28 +1,53 @@
-------------------------------------------------------------------
-Tue Jun 21 03:00:17 UTC 2022 - Jeff Kowalczyk
+Mon Aug 22 08:47:01 UTC 2022 - Felix Niederwanger
-- Enable _service tar_scm changelog automation
-- Commit _servicedata to support tar_scm changelog automation
+* Update to version 2.13.1
--------------------------------------------------------------------
-Wed Jun 15 06:40:28 UTC 2022 - Felix Niederwanger
+- fix: make sure that nil Cwe pointer is handled when getting the CWE ID
+- test: remove white spaces from template
+- fix: handle nil CWE pointer in text template
+
+* Update to version 2.13.0
+
+- chore(deps): update dependency babel-standalone to v7
+- chore: update module go to 1.19
+- chore: fix lint warnings
+- chore: add support for Go 1.19
+- fix: parsing of the Go version (#844)
+- Detect use of net/http functions that have no support for setting timeouts (#842)
+- Refactor SQL rules for better extensibility (#841)
+- chore(deps): update module golang.org/x/tools to v0.1.12 (#840)
+- Fix lint warning
+- Check the suppressed issues when generating the exit code
+- Fix for G402. Check package path instead of package name (#838)
+- fix G204 bugs (#835)
+- Phase out support for Go 1.16 since is not supported anymore by Go team (#837)
+- chore(deps): update all dependencies (#836)
+- chore(deps): update dependency highlight.js to v11.6.0 (#830)
+- fix: filepaths with git anywhere in them being erroneously excluded (#828)
+- Fix wrong location for G109 (#829)
+- chore(deps): update golang.org/x/crypto digest to 0559593 (#826)
+- fix ReadTimeout for G112 rule
+- Pin cosign-installer to v2 (#824)
+
+* Update to version 2.12.0
+
+- chore(deps): update all dependencies (#822)
+- Add check for usage of Rat.SetString in math/big with an overflow error (#819)
+- Remove additional --update for apk in Dockerfile (#818)
+- Update x/tools to pick up fix for golang/go#51629 (#817)
+- chore(deps): update all dependencies (#816)
+- chore(deps): update all dependencies (#812)
+- chore(deps): update all dependencies (#811)
+- Add new rule for Slowloris Attack
+- Fix the dependencies after renovate upate (#806)
+- chore(deps): update all dependencies (#805)
+- Update the description message of template rule (#803)
+- Fix typo in ReadMe (#802)
+- Fix build after renovate update (#800)
+- Fix use rule IDs to retrieve the rule config
+- chore(deps): update all dependencies (#796)
-- Update to version 2.12.0:
- * chore(deps): update all dependencies (#822)
- * Add check for usage of Rat.SetString in math/big with an overflow error (#819)
- * Remove additional `--update` for apk in Dockerfile (#818)
- * Update x/tools to pick up fix for golang/go#51629 (#817)
- * chore(deps): update all dependencies (#816)
- * chore(deps): update all dependencies (#812)
- * chore(deps): update all dependencies (#811)
- * Add new rule for Slowloris Attack
- * Fix the dependencies after renovate upate (#806)
- * chore(deps): update all dependencies (#805)
- * Update the description message of template rule (#803)
- * Fix typo in ReadMe (#802)
- * Fix build after renovate update (#800)
- * Fix use rule IDs to retrieve the rule config
- * chore(deps): update all dependencies (#796)
-------------------------------------------------------------------
Tue Mar 22 08:10:13 UTC 2022 - Felix Niederwanger
diff --git a/gosec.spec b/gosec.spec
index 227228d..82a2a97 100644
--- a/gosec.spec
+++ b/gosec.spec
@@ -17,15 +17,15 @@
Name: gosec
-Version: 2.12.0
+Version: 2.13.1
Release: 0
Summary: Golang security checker
License: Apache-2.0
URL: https://github.com/securego/gosec
Source: gosec-%{version}.tar.gz
Source1: vendor.tar.gz
-BuildRequires: go >= 1.16
BuildRequires: golang-packaging
+BuildRequires: go >= 1.16
%{go_nostrip}
%description
@@ -58,3 +58,4 @@ install -Dm 755 gosec %{buildroot}/%{_bindir}/gosec
%{_bindir}/gosec
%changelog
+
diff --git a/vendor.tar.gz b/vendor.tar.gz
index 83d5242..c9fdbcb 100644
--- a/vendor.tar.gz
+++ b/vendor.tar.gz
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:5a43af83c98cffdde2c040800025818090bfbe4ef34ecac73f7a0f1091d4e8c3
-size 3925987
+oid sha256:c49102731f62fc7dc3921fb496fe9d4bb22cd5690453b06f0f018728e597d907
+size 3869311