Commit graph

4658 commits

Author SHA1 Message Date
Jake Moshenko
941d13ea3e Fix an off by one error in the common backfill code 2015-11-10 16:14:44 -05:00
Joseph Schorr
ca7d736db2 Only send vulnerability events if the minimum priority is gte to that specified
Fixes #770
2015-11-10 16:05:55 -05:00
Matt Jibson
a9d6aa4adc Reduce z-index of landing to below search
Also remove unneeded second block.

fixes #844
2015-11-10 16:03:37 -05:00
josephschorr
8e92e9be54 Merge pull request #850 from coreos-inc/anonallowed
Recover by email needs to allow anon access to its endpoints
2015-11-10 15:45:26 -05:00
Joseph Schorr
888ec17538 Recover by email needs to allow anon access to its endpoints 2015-11-10 15:41:19 -05:00
Jimmy Zelinskie
5926501e08 Merge pull request #842 from jzelinskie/goodhumor
add queue and worker for clair notifications
2015-11-10 15:23:41 -05:00
Jimmy Zelinskie
5655c08467 fix security worker service permissions 2015-11-10 15:22:36 -05:00
Jimmy Zelinskie
8e2868737b rename secscan_endpoint and move db close to API 2015-11-10 15:22:31 -05:00
Jimmy Zelinskie
270010105d add security notification worker to init 2015-11-10 15:22:30 -05:00
Jimmy Zelinskie
da31714fb5 specify securityworker skip message 2015-11-10 15:22:30 -05:00
Jimmy Zelinskie
52962b3732 close db connections when calling out to clair 2015-11-10 15:22:30 -05:00
Jimmy Zelinskie
954d988452 pylint: ignore constant names and too many locals 2015-11-10 15:22:30 -05:00
Jimmy Zelinskie
d651ea4b48 initial security notification worker 2015-11-10 15:22:30 -05:00
Jimmy Zelinskie
dc476470fe add secscan notification queue 2015-11-10 15:22:30 -05:00
Jake Moshenko
ca8e9d89c8 Merge pull request #847 from jakedt/forwardport
Forward port changes: We must fill in the parent_id on linking
2015-11-10 14:33:38 -05:00
Jake Moshenko
1c6919dd93 We must fill in the parent_id on linking 2015-11-10 14:31:46 -05:00
Jimmy Zelinskie
f80c8fb772 Merge pull request #846 from jzelinskie/fixv1backfill
fix bug where v1 backfill never completed
2015-11-10 14:04:49 -05:00
Jimmy Zelinskie
da72b6a38a cut 1.13.3 2015-11-10 14:04:21 -05:00
Jimmy Zelinskie
112bef8f8c fix bug where v1 backfill never completed 2015-11-10 14:04:20 -05:00
Jake Moshenko
ab4dbb74b0 Merge pull request #841 from jakedt/fasterbackfill
Optimistically update backfill items, reducing RTs
2015-11-10 11:39:40 -05:00
Jake Moshenko
a33077b978 Optimistically update backfill items, reducing RTs 2015-11-10 11:10:09 -05:00
Jake Moshenko
493d077f62 Merge pull request #839 from jakedt/migratelogs
Backfill migrations in batches with tracked ids
2015-11-09 22:29:54 -05:00
Jake Moshenko
5fc7884e93 Print the time when logging from migrations 2015-11-09 22:29:17 -05:00
Jake Moshenko
dc24e8b1a1 Backfill by allocating and selecting ids in random blocks
Fixes #826
2015-11-09 22:29:17 -05:00
josephschorr
189762694f Merge pull request #837 from coreos-inc/vulnerability-tool-fixquery
Update quay sec code to fix problems identified in previous review
2015-11-09 18:29:23 -05:00
Silas Sewell
e826b14ca4 Merge pull request #725 from coreos-inc/setup-tool-georeplication
superuser: add storage replication config
2015-11-09 17:43:38 -05:00
Silas Sewell
5000b1621c superuser: add storage replication config 2015-11-09 17:34:22 -05:00
Joseph Schorr
a69c9e12fd Update quay sec code to fix problems identified in previous review
- Change get_repository_images_recursive to operate over a single docker image and storage uuid
- Move endpoints/sec to endpoints/secscan
- Change notification system to work with new Quay-sec format

Fixes #768
2015-11-09 17:14:35 -05:00
Silas Sewell
c739c453da Merge pull request #807 from coreos-inc/storage-preference
Enable storage preference
2015-11-09 16:30:47 -05:00
Matt Jibson
7e8981a38a Merge pull request #835 from mjibson/shared-tags-lines
Add page offset to track line tag index
2015-11-09 16:23:16 -05:00
Matt Jibson
7a503d678b Add page offset to track line tag index
fixes #755
2015-11-09 16:21:43 -05:00
Quentin Machu
16c364a90c Rename secscan_endpoint where required, fix index and indentation 2015-11-09 15:18:42 -05:00
Matt Jibson
b0ec7074d0 Pass down page size from the scope
Instead of duplicating it here and in repo-panel-tags.js.
2015-11-09 15:17:34 -05:00
Quentin Machu
fa0897faae Merge pull request #831 from Quentin-M/vulnerability-tool
Remove checksum from Clair's worker and adjust line length
2015-11-09 14:55:46 -05:00
Matt Jibson
5d9999d1f7 Merge pull request #791 from mjibson/clear-repo-notifications
Remove error notification when user deletes repos
2015-11-09 14:46:51 -05:00
josephschorr
eb2e42dce9 Merge pull request #830 from coreos-inc/fix_parent_id
Fix deleting repos and images under MySQL
2015-11-09 14:43:01 -05:00
josephschorr
a5f4cc19ed Merge pull request #789 from coreos-inc/dfsbug
Show an error if the gunzip returns an empty buffer
2015-11-09 14:42:35 -05:00
Joseph Schorr
2d2662f53f Fix deleting repos and images under MySQL
MySQL doesn't handle constraints at the end of transactions, so deleting images currently fails. This removes the constraint and just leaves parent_id as an int
2015-11-09 14:42:05 -05:00
Joseph Schorr
daa74b5132 Fix test issue with initdb
Non-sqlite DBs don't like maxvalue for Integer
2015-11-09 14:41:53 -05:00
Matt Jibson
e5282a216f Merge pull request #818 from mjibson/redis-socket-timeout
Set timeout for redis commands
2015-11-09 14:39:00 -05:00
Quentin Machu
7dbe15e339 Remove checksum from Clair's worker and adjust line length 2015-11-09 14:31:24 -05:00
Joseph Schorr
02e2bef943 Fix hardcoded priority 2015-11-09 12:51:05 -05:00
Joseph Schorr
b408cfd2cc Ready for demo 2015-11-09 12:51:05 -05:00
Joseph Schorr
75173d5573 Base DB with notification 2015-11-09 12:51:05 -05:00
Joseph Schorr
136ab28f17 Base demo DB 2015-11-09 12:51:05 -05:00
Joseph Schorr
8c144397e9 WIP: UI for QuaySec 2015-11-09 12:50:39 -05:00
Joseph Schorr
75dfec7875 Fix endpoint 2015-11-09 12:50:39 -05:00
Joseph Schorr
7fa4fe08e7 Fix worker 2015-11-09 12:50:39 -05:00
Joseph Schorr
407eaae137 WIP: Towards sec demo 2015-11-09 12:50:39 -05:00
Joseph Schorr
fb3d0fa27d Add a SecEndpoint class and move all the cert and config handling in there 2015-11-09 12:49:19 -05:00