yixingj
f63588855f
Make Clair DB configurable
...
Make the HOST,PORT,USERNAME,DB configurable for
Clair
2017-12-20 18:29:50 +08:00
Tan Jiang
2ffc58a5d4
Refactor the configuraiton of UAA
...
Remove the attribute "uaa_ca_root" from harbor.cfg and introduce
"uaa_verify_cert". Similar to LDAP settings, this allow user to
explicitly turn of the cert verification against UAA server, such that
the code will work with self-signed certificate.
2017-12-19 14:42:07 +08:00
stonezdj
9393d26fdc
Fix ldap ping issue #3653
2017-12-15 14:47:54 +08:00
yixingj
9b03c93afd
Add database driver for Harbor configurations
...
1>Add a new database driver for configurations
2> change the current default driver from json
to database
2017-12-06 13:06:54 +08:00
stonezdj
16243cfbbc
Add LDAP remote certifcate validation
...
push test
Add unit test for ldap verify cert
remove common.VerifyRemoteCert
Update code with PR review comments
Add change ldaps config and add UT testcase for TLS feature
add ldap verfiy cert checkbox about #3513
Draft harbor ova install guide
Search and import ldap user when add project members
Add unit test case for SearchAndImportUser
ova guide
Add ova install guide
Add ova install guide 2
Add ova install guide 3
Call ValidateLdapConf before search ldap
trim space in username
Remove leading space in openLdap username
Remove doc change in this branch
Update unit test for ldap search and import user
Add test case about ldap verify cert checkbox
Modify ldap testcase
2017-11-24 12:41:51 +08:00
Wenkai Yin
5293a9287b
Fail earlier when found database schema dismatch
2017-11-07 13:07:56 +08:00
Wenkai Yin
0ddca31355
Add column id to table project_metadagta as the primary key
2017-10-30 17:37:25 +08:00
Wenkai Yin
2156750b04
Move certificate verification to target level
...
The certificate verification is on system level before this commit. Moving it
to target level makes the configuration more flexible for different targets.
2017-10-20 15:36:56 +08:00
Wenkai Yin
66b2d0d3f3
Apply project level policies to standalone Harbor
...
The following features are only enabled in integration mode, this commit moves
these to standalone Harbor:
- Content trust policy: only signed images can be pulled
- Vulnerability policy: only images whose severity is below the threshold can be pulled
- Automatic scan policy: automatic scan pushed images
2017-10-19 17:33:28 +08:00
Tan Jiang
eab6b43d99
Make the root CA certificate of UAA should be configurable
2017-10-16 17:40:29 +08:00
Tan Jiang
51286d9baa
Provide UAA authenticator for password based authentication.
2017-10-07 00:16:53 +08:00
Wenkai Yin
e495357d98
implement the default project metadata manager
2017-09-28 16:17:51 +08:00
Wenkai Yin
e79334a445
Add interfaces to implement project level policy ( #3271 )
...
* add interfaces to implement project level policy
2017-09-26 16:41:08 +08:00
Wenkai Yin
923a8d65b1
expose insecure flag in api
2017-09-04 15:10:07 +08:00
Tan Jiang
5846d7d28d
add cve link in Harbor API
2017-08-10 15:27:30 +08:00
wangyan
657d3c322f
fix issue 2975
...
udpate
update
update
update
update
update
2017-08-07 18:01:37 +08:00
Yan
274f764622
update interceptor error code ( #2836 )
...
* update interceptor error code
* update
* update error string
* update interceptor error code
update
update error string
2017-07-23 18:34:44 -07:00
Tan Jiang
72b3a020e3
provide default timestamp for all distros in system info api
2017-07-13 18:48:05 +08:00
Tan Jiang
543cf62e14
read last update from clair db, return in system info
2017-07-11 21:26:31 +08:00
Tan Jiang
e1e975096c
add int id for scan overview and revoke the change in beego
2017-07-09 12:37:08 +08:00
Tan Jiang
ca805759d9
update scan overview in notification handler, and return clair vuln timestamp in system info
2017-07-07 17:47:52 +08:00
Tan Jiang
8b31715b34
provide Clair notification handler
...
update the timestamp in DB, when handling the notification
2017-07-05 15:35:53 +08:00
Tan Jiang
af0e8c85bb
configuration api can handle scan all policy
2017-06-29 15:14:11 +08:00
Wenkai Yin
c50e2a5606
Merge pull request #2607 from ywk253100/170622_project
...
Fix bug: can't show the role of member
2017-06-26 10:17:36 +08:00
Wenkai Yin
419cf8dfc3
fix bug: can't show the role of member
2017-06-23 17:23:00 +08:00
Wenkai Yin
0b55ce6e80
add GetAll support in PMS project manager
2017-06-23 16:53:59 +08:00
Tan Jiang
a1a08ebed0
provide API to get vulnerability details
2017-06-20 12:10:55 +08:00
Tan Jiang
41346fe8c0
provide POST api/repostitores/xxx/tags/xxx/scan to trigger image scan
2017-06-15 20:23:55 +08:00
Daniel Jiang
6a85012dbd
Merge pull request #2525 from reasonerjt/clair-integration
...
GET tags api includes scan overview
2017-06-15 15:34:05 +08:00
Wenkai Yin
7d595c10c5
Merge pull request #2485 from ywk253100/170608_project
...
Refactor GET /projects API
2017-06-14 21:03:28 +08:00
Tan Jiang
f016dd113c
GET tags api includes scan overview
2017-06-14 21:02:59 +08:00
Wenkai Yin
d6c084485b
Merge pull request #2497 from ywk253100/170612_user
...
Support pagination in GET /users API
2017-06-14 20:49:59 +08:00
Wenkai Yin
aecfcef51a
Merge remote-tracking branch 'upstream/master' into 170608_project
2017-06-14 20:46:23 +08:00
Tan Jiang
ae2d868fd4
handlers for image scan, store results overview in DB
2017-06-13 23:37:54 +08:00
Wenkai Yin
f0c47b990b
Merge pull request #2495 from ywk253100/170605_pm
...
Implement project manager based on PMS
2017-06-13 15:46:48 +08:00
Wenkai Yin
539c0375a1
support pagination
2017-06-12 18:36:10 +08:00
Wenkai Yin
0925fd35f1
implement project manager based on PMS
2017-06-12 14:43:26 +08:00
Wenkai Yin
20cf8de0f7
Merge remote-tracking branch 'upstream/master' into 170608_project
2017-06-09 16:41:13 +08:00
Wenkai Yin
e97d7dab85
refactor GET /projects
2017-06-09 16:41:02 +08:00
Tan Jiang
58c4993974
add handlers in statemachine
2017-06-09 14:55:15 +08:00
Wenkai Yin
b2380818fd
support query logs according to conditions
2017-06-08 14:44:08 +08:00
Wenkai Yin
1b83c0b076
support pagination in GET recent logs API
2017-05-26 17:51:20 +08:00
Daniel Jiang
1c441b17be
refactor job service ( #2348 )
2017-05-22 22:33:20 -07:00
Wenkai Yin
7df2be19de
update
2017-05-19 13:24:31 +08:00
Wenkai Yin
e1c1b8ec34
refactor project api
2017-05-16 15:02:37 +08:00
Daniel Jiang
5892ef29c2
Merge pull request #2291 from reasonerjt/vulscan-job-refactory
...
add scan job table and dao functions
2017-05-12 02:45:55 -04:00
Tan Jiang
dcbfb4d309
add scan job table and dao functions
2017-05-11 21:41:57 +08:00
Wenkai Yin
06ba7e0de0
update
2017-05-11 12:34:14 +08:00
Wenkai Yin
8f396b44f3
Merge remote-tracking branch 'upstream/master' into 170509_repo_api
...
Conflicts:
src/ui/api/repository.go
2017-05-10 15:53:24 +08:00
Wenkai Yin
b02bbc0adf
refactor repository API
2017-05-10 15:43:45 +08:00