generated from codacy/codacy-public-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add test for
vulnerability_minor
pattern [TAROT-2791]
- Loading branch information
Showing
21 changed files
with
692 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module name="root"> | ||
<module name="vulnerability_minor" /> | ||
</module> |
113 changes: 113 additions & 0 deletions
113
docs/multiple-tests/pattern-vulnerability-minor/results.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<checkstyle version="1.5"> | ||
<file name="golang/go.mod"> | ||
<error | ||
source="vulnerability_medium" | ||
line="7" | ||
message="Insecure dependency github.com/hwameistor/[email protected]" | ||
severity="warning" | ||
/> | ||
</file> | ||
|
||
<file name="gradle/gradle.lockfile"> | ||
<error | ||
source="vulnerability_medium" | ||
line="1" | ||
message="Insecure dependency org.silverpeas.core:silverpeas-core:6.4.2" | ||
severity="warning" | ||
/> | ||
</file> | ||
|
||
<file name="java/pom.xml"> | ||
<error | ||
source="vulnerability_medium" | ||
line="14" | ||
message="Insecure dependency org.silverpeas.core:silverpeas-core:6.4.2" | ||
severity="warning" | ||
/> | ||
</file> | ||
|
||
<file name="javascript/package-lock.json"> | ||
<error | ||
source="vulnerability_medium" | ||
line="14" | ||
message="Insecure dependency [email protected]" | ||
severity="warning" | ||
/> | ||
</file> | ||
|
||
<file name="javascript/yarn.lock"> | ||
<error | ||
source="vulnerability_medium" | ||
line="5" | ||
message="Insecure dependency [email protected]" | ||
severity="warning" | ||
/> | ||
</file> | ||
|
||
<file name="python/Pipfile.lock"> | ||
<error | ||
source="vulnerability_medium" | ||
line="131" | ||
message="Insecure dependency [email protected]" | ||
severity="warning" | ||
/> | ||
<error | ||
source="vulnerability_medium" | ||
line="131" | ||
message="Insecure dependency [email protected]" | ||
severity="warning" | ||
/> | ||
</file> | ||
|
||
<file name="python/requirements.txt"> | ||
<error | ||
source="vulnerability_medium" | ||
line="131" | ||
message="Insecure dependency [email protected]" | ||
severity="warning" | ||
/> | ||
<error | ||
source="vulnerability_medium" | ||
line="131" | ||
message="Insecure dependency [email protected]" | ||
severity="warning" | ||
/> | ||
</file> | ||
|
||
<file name="ruby/Gemfile.lock"> | ||
<error | ||
source="vulnerability_medium" | ||
line="4" | ||
message="Insecure dependency [email protected]" | ||
severity="warning" | ||
/> | ||
</file> | ||
|
||
<file name="rust/Cargo.lock"> | ||
<error | ||
source="vulnerability_medium" | ||
line="1" | ||
message="Insecure dependency [email protected]" | ||
severity="warning" | ||
/> | ||
</file> | ||
|
||
<file name="scala/build.sbt.lock"> | ||
<error | ||
source="vulnerability_medium" | ||
line="13" | ||
message="Insecure dependency org.silverpeas.core:silverpeas-core:6.4.2" | ||
severity="warning" | ||
/> | ||
</file> | ||
|
||
<file name="swift/Package.resolved"> | ||
<error | ||
source="vulnerability_medium" | ||
line="67" | ||
message="Insecure dependency github.com/vapor/[email protected]" | ||
severity="warning" | ||
/> | ||
</file> | ||
</checkstyle> |
Empty file.
Empty file.
Empty file.
Empty file.
7 changes: 7 additions & 0 deletions
7
docs/multiple-tests/pattern-vulnerability-minor/src/golang/go.mod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module example | ||
|
||
go 1.21.0 | ||
|
||
toolchain go1.21.4 | ||
|
||
require github.com/hwameistor/hwameistor v0.14.5 |
1 change: 1 addition & 0 deletions
1
docs/multiple-tests/pattern-vulnerability-minor/src/gradle/gradle.lockfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.silverpeas.core:silverpeas-core:6.4.2 |
20 changes: 20 additions & 0 deletions
20
docs/multiple-tests/pattern-vulnerability-minor/src/java/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.example</groupId> | ||
<artifactId>happy</artifactId> | ||
<version>1.0.0</version> | ||
|
||
<name>happy</name> | ||
<description>Example</description> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.silverpeas.core</groupId> | ||
<artifactId>silverpeas-core</artifactId> | ||
<version>6.4.2</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
81 changes: 81 additions & 0 deletions
81
docs/multiple-tests/pattern-vulnerability-minor/src/javascript/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
docs/multiple-tests/pattern-vulnerability-minor/src/javascript/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "node-js-sample", | ||
"version": "0.2.0", | ||
"main": "index.js", | ||
"dependencies": { | ||
"elliptic": "6.5.6" | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
docs/multiple-tests/pattern-vulnerability-minor/src/javascript/yarn.lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
|
||
bn.js@^4.11.9: | ||
version "4.12.0" | ||
resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz" | ||
integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== | ||
|
||
brorand@^1.1.0: | ||
version "1.1.0" | ||
resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz" | ||
integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== | ||
|
||
[email protected]: | ||
version "6.5.6" | ||
resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.6.tgz" | ||
integrity sha512-mpzdtpeCLuS3BmE3pO3Cpp5bbjlOPY2Q0PgoF+Od1XZrHLYI28Xe3ossCmYCQt11FQKEYd9+PF8jymTvtWJSHQ== | ||
dependencies: | ||
bn.js "^4.11.9" | ||
brorand "^1.1.0" | ||
hash.js "^1.0.0" | ||
hmac-drbg "^1.0.1" | ||
inherits "^2.0.4" | ||
minimalistic-assert "^1.0.1" | ||
minimalistic-crypto-utils "^1.0.1" | ||
|
||
hash.js@^1.0.0, hash.js@^1.0.3: | ||
version "1.1.7" | ||
resolved "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz" | ||
integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== | ||
dependencies: | ||
inherits "^2.0.3" | ||
minimalistic-assert "^1.0.1" | ||
|
||
hmac-drbg@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz" | ||
integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== | ||
dependencies: | ||
hash.js "^1.0.3" | ||
minimalistic-assert "^1.0.0" | ||
minimalistic-crypto-utils "^1.0.1" | ||
|
||
inherits@^2.0.3, inherits@^2.0.4: | ||
version "2.0.4" | ||
resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" | ||
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== | ||
|
||
minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz" | ||
integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== | ||
|
||
minimalistic-crypto-utils@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz" | ||
integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== |
Empty file.
12 changes: 12 additions & 0 deletions
12
docs/multiple-tests/pattern-vulnerability-minor/src/python/Pipfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
anki = "==v23.12.1" | ||
|
||
[dev-packages] | ||
|
||
[requires] | ||
python_version = "3.11" |
Oops, something went wrong.