Commit Graph

399 Commits

Author SHA1 Message Date
Steve Springett
9f9e2d12c4 Fixed minor issue with xsd so the xml report would validate. Added unit test for xml report generation. Adding DependencyCheck.xsd to jar.
Former-commit-id: 5dc93c191f001e92b92a1eb1b02e10e33719ca08
2013-09-23 17:51:22 -05:00
Jeremy Long
03f504cadc seperated functionality to make the update procedure easier to understand
Former-commit-id: a39a0cc6adfd5e3856df3700b698e1ea5e7969a9
2013-09-22 21:52:31 -04:00
Jeremy Long
182c7e827b added additional checks for false positives (apache maven and cvs:cvs)
Former-commit-id: 3a5d19ebd8d432883b5edd7ae552c47f6a16ca68
2013-09-17 10:42:54 -04:00
Jeremy Long
fc5b8ca1e5 changed html encoding to xml encoding
Former-commit-id: 33b719b306ee10da411dea91705b03cfcec73261
2013-09-14 10:20:40 -04:00
Jeremy Long
5d67b2f9dc corrected a typo in the report
Former-commit-id: 24c2b1787cc76e1d051091f4527a7e2162a4875a
2013-09-14 10:20:15 -04:00
Jeremy Long
13997cd282 updated logic to make specification-version lower quality evidence
Former-commit-id: 7f29adc8590243ac6a8719a391318fa3818e27eb
2013-09-05 21:34:33 -04:00
Jeremy Long
d0fb41e582 fixed git merge problem
Former-commit-id: b1d18d5ce568d266837ddf06174b15d7462b8fcd
2013-09-02 16:19:47 -04:00
Jeremy Long
f7a83d5a60 fixed merge issues
Former-commit-id: fe669abc52c1cbcdec9de8bc1693cea12d9abe0c
2013-09-02 15:54:35 -04:00
Jeremy Long
fc52462df4 resolved merge conflicts
Former-commit-id: d0ce45a374336184101179b73b6019fb1240b9b3
2013-09-02 15:42:24 -04:00
Jeremy Long
4e4b7a1c39 ensured the properties file was closed after being read
Former-commit-id: bee36a9892968a5455508e2275fdb1787e04c1c2
2013-09-02 12:48:17 -04:00
Jeremy Long
94e1a4f793 minor checkstyle updates
Former-commit-id: dc9c50f0627222169eceb94a44b8b4b4fa1af267
2013-09-01 15:11:49 -04:00
Jeremy Long
fc30aeea61 updated Settigns to get the temp directory
Former-commit-id: d9a1e89ce829ab06e5aa1cd454184966d1e4b115
2013-09-01 07:46:43 -04:00
Jeremy Long
01d6e1f14d updated tests to utilize temp directory
Former-commit-id: 984f69e2528d37586a2d7d981d17671e17e7ca0d
2013-09-01 07:27:13 -04:00
Jeremy Long
eac470e081 updates to batch update mode to allow batch updates without a modified URL
Former-commit-id: 5e8ff7c0d9c880f2421f020f2891a6f7a794570a
2013-08-31 06:48:10 -04:00
Jeremy Long
34ce50b7b5 removed duplicate code by adding a public getPropertiesFile method to obtain the File
Former-commit-id: cd3c7fdad8907eb28704e1e8342dfe41e08d9da3
2013-08-31 06:46:26 -04:00
Jeremy Long
23a47a6f63 added ability to remove a property (for test cases)
Former-commit-id: b2388ddb516b2f5b32f54398c11fc0c00990c9c8
2013-08-29 16:56:00 -04:00
Jeremy Long
7495392aa2 fixed bug due caused by moving properties from cve to data directory
Former-commit-id: 508894a061b40bb80fb294835021e3ba8f34037b
2013-08-29 16:49:09 -04:00
Jeremy Long
2bd03dada4 code reorganization, moved files around to better seperate functionality
Former-commit-id: da6b75d818d67b0c1c695860504aacc00991effa
2013-08-29 06:42:16 -04:00
Jeremy Long
db22159a89 added to externalize the meta info about the data used
Former-commit-id: 1fb0bf0594245fc7095c085faf18a000bf76d7f8
2013-08-29 06:15:20 -04:00
Jeremy Long
8009794cca Updated to externalize the data properties file
Former-commit-id: 729b2181f3cfcb7aa2862c1874b8aaacb154d46b
2013-08-29 06:12:55 -04:00
Jeremy Long
12ce96d802 updated getFile to correctly get the main data directory
Former-commit-id: 4c175b6c218c264c8255614858545224c0c597f7
2013-08-28 06:15:24 -04:00
Jeremy Long
0731ed2c7a updated database schema version so the fix to the lucene index is enforced on clients
Former-commit-id: b743deca9949b67ce5e94c52fff6125e65bf340b
2013-08-24 19:56:13 -04:00
Jeremy Long
19ecb67f2d updates as the CPEAnalyzer was moved
Former-commit-id: d3c21f1c0187a94e56aeff55fd0874273cc65faf
2013-08-24 17:02:27 -04:00
Jeremy Long
d16123c276 updates to ensure backward compatability with 1.6
Former-commit-id: b98e3caf316ea880b6c0adb25f62338e8d16f40e
2013-08-24 17:01:39 -04:00
Jeremy Long
f90b168fdd commiting deletions and no-ops
Former-commit-id: 920f16fc7fb20d5536c62e1ccc180fa248f76802
2013-08-24 16:23:57 -04:00
Jeremy Long
09f416efdf modified CPE Index to seperate writer/reader in prep for adding locking
Former-commit-id: baa48c8e70b36b9b14591d581bc1180b6d30d686
2013-08-24 16:21:32 -04:00
Jeremy Long
d81206fe2e Added an implementation of a spin lock that can be used to lock a directory.
Former-commit-id: 121a3d5d026f524698762b377c3582fbc9303bf2
2013-08-18 05:54:11 -04:00
Jeremy Long
f166ef9313 made non-vulnerable jars hidden by default
Former-commit-id: 61cd10a3844a73ac8ee2aadabfe5f1b51998033d
2013-08-16 14:49:48 -04:00
Jeremy Long
8381daeeb7 Merge pull request #13 from eoftedal/master
Styling and toggling on HTML-report

Former-commit-id: 99ac0d70c3f94f8245e94e62eca6863faa687898
2013-08-16 11:22:13 -07:00
Jeremy Long
1f7c64e279 corrected minor issue with path to zipped test data
Former-commit-id: 9d4d5d6aa5d56028a8fcb871498f20a7cf2febc9
2013-08-16 14:13:01 -04:00
Jeremy Long
e50d7f7b95 increased the ignore list for parts of the domain that will not be used as evidence
Former-commit-id: 1f7d410c1d8c6b9548412b151763fda6e7323d7d
2013-08-16 12:48:22 -04:00
Jeremy Long
45b1327c58 added WAR files so that they will be analyzed
Former-commit-id: 2aa266d40d5d3c1b3511db642e8b23331abf4b29
2013-08-16 12:47:30 -04:00
Jeremy Long
c4cde366e8 fixed bug with short words at the end of a CPE were being ignored in verifyEntry. Also, added a min score of 0.08 for documents retrieved from lucene in order to prune bad matches earlier
Former-commit-id: b1720b2fba627507c601dc1e5b08a5b540095271
2013-08-16 07:15:10 -04:00
Jeremy Long
1fd633a23b upgraded to use apache commons compress instead of core java zip api to accomodate UTF-8
Former-commit-id: 9a681b87ad8f53a909939360733f04b1e552f481
2013-08-14 20:06:26 -04:00
Erlend Oftedal
9a65e26e71 Styling and toggling on HTML-report
Former-commit-id: bfb745138b5bfbf1206135bd1d53ca463b46fcf0
2013-08-13 16:08:25 +02:00
Jeremy Long
ffb3243bb6 reverting back to v1.0.1
Former-commit-id: 1000c0503272c412520a2b7f63c2f90dbcae9b5b
2013-08-07 22:37:35 -04:00
Jeremy Long
09f07902ef updated batch update functionality
Former-commit-id: f62347bd25b61f048f18fb8cb23b8de7c053659e
2013-08-06 19:34:11 -04:00
Jeremy Long
672e59e657 commiting initial (and likely broken) version including batch updates - commiting as I need tests done with more OSes
Former-commit-id: 38f07a64633e0762623cdb5a00478a5bafd159b3
2013-08-04 14:47:54 -04:00
Jeremy Long
882e11f558 attempting fix for Windows file:/// URI
Former-commit-id: 38a26b41aa2ebed8e043ec4dd5a0096a353b650d
2013-08-04 14:44:53 -04:00
Jeremy Long
464a6efd28 removed some un-needed functions relating to downloading files
Former-commit-id: 95735c796df1ae95be5273c66722a5cbfbc81c36
2013-08-04 10:46:06 -04:00
Jeremy Long
18c3c1f475 added new exception
Former-commit-id: 919a3a7beaf09c6bd98c48c94d7712f51cd7624a
2013-08-04 10:34:20 -04:00
Jeremy Long
52de46aeb3 moved unzip functionality to FileUtils
Former-commit-id: 3f791cb94b5ec94d17118d25cb08598c1769edda
2013-08-04 10:33:28 -04:00
Jeremy Long
b80d088254 added a file.delete that will delete the file on JVM exit if the original delete fails
Former-commit-id: 6007a325a0796b8ad881df6c8f3568fe131a764b
2013-08-04 10:32:53 -04:00
Jeremy Long
7d0d85aeb7 removed unused properties and added BATCH_UPDATE_URL
Former-commit-id: ef80d9a274071342026a619b88183bfca4988074
2013-08-03 12:12:59 -04:00
Jeremy Long
840b4d7619 updated comments
Former-commit-id: 93c3f238c44a604e25ac8706f0efbc70d6158c9b
2013-08-03 12:10:50 -04:00
Jeremy Long
e4a36545d7 updated getLastModified() to support the file:// protocol
Former-commit-id: e23b72db0070c2ecf22a725cc936451440ad530f
2013-08-03 12:09:44 -04:00
Jeremy Long
31fbc7389b made getDataDirectory static
Former-commit-id: b347a95eb968ae49fb7a904c4a8ed5d7a00e85dd
2013-08-03 12:07:05 -04:00
Jeremy Long
a42c586bb2 fixed issue with data directory and made a few other minor changes
Former-commit-id: 46f89f4deb6b0b55f34ee61c61424f87bf0334d8
2013-08-01 10:57:44 -04:00
Jeremy Long
db46b03d0c releasing updates from private repo
Former-commit-id: 745279b1fbbfe1e331adbf52ca4ccd9e75a18178
2013-07-31 10:21:31 -04:00