conjur-asset-ui 1.4.2 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +8 -3
- data/CHANGELOG.md +10 -0
- data/Makefile +19 -0
- data/README.md +0 -3
- data/Rakefile +22 -17
- data/TODO.md +0 -23
- data/app/.csscomb.json +304 -0
- data/app/.eslintignore +3 -0
- data/app/.eslintrc +265 -0
- data/app/config/preprocessor.js +19 -0
- data/app/config/webpack.js +124 -0
- data/app/gulpfile.js +96 -0
- data/app/package.json +86 -0
- data/app/src/actions.js +550 -0
- data/app/src/app.js +83 -0
- data/app/src/clients/audit.js +34 -0
- data/app/src/clients/auth.js +24 -0
- data/app/src/clients/generic.js +52 -0
- data/app/src/clients/graph.js +7 -0
- data/app/src/clients/layer_members.js +18 -0
- data/app/src/clients/list.js +31 -0
- data/app/src/clients/members.js +20 -0
- data/app/src/clients/request.js +531 -0
- data/app/src/clients/search.js +5 -0
- data/app/src/components/app/__tests__/app-test.js +22 -0
- data/app/src/components/app/app.js +36 -0
- data/app/src/components/app/wrapper.js +17 -0
- data/app/src/components/audit/__tests__/table_header-test.js +22 -0
- data/app/src/components/audit/box.js +9 -0
- data/app/src/components/audit/constants.js +5 -0
- data/app/src/components/audit/entry.js +105 -0
- data/app/src/components/audit/fields_mixin.js +11 -0
- data/app/src/components/audit/humanize_event.js +213 -0
- data/app/src/components/audit/table.js +64 -0
- data/app/src/components/audit/table_header.js +37 -0
- data/app/src/components/audit/timestamp.js +28 -0
- data/app/src/components/auth/login.js +177 -0
- data/app/src/components/auth/login.less +71 -0
- data/app/src/components/auth/logout.js +42 -0
- data/app/src/components/auth/logout.less +21 -0
- data/app/src/components/chart/chart.js +540 -0
- data/app/src/components/chart/chart_helper_mixin.js +78 -0
- data/app/src/components/custom/list.js +3 -0
- data/app/src/components/custom/view.js +81 -0
- data/app/src/components/dashboard/activity.js +144 -0
- data/app/src/components/dashboard/dashboard.js +46 -0
- data/app/src/components/flash/flash.js +98 -0
- data/app/src/components/flash/flash.less +3 -0
- data/app/src/components/generic/__tests__/time-test.js +42 -0
- data/app/src/components/generic/annotations.js +39 -0
- data/app/src/components/generic/breadcrumbs.js +57 -0
- data/app/src/components/generic/foldable_audit_section.js +204 -0
- data/app/src/components/generic/list.js +141 -0
- data/app/src/components/generic/list_factory.js +41 -0
- data/app/src/components/generic/resource_link.js +64 -0
- data/app/src/components/generic/role_link.js +66 -0
- data/app/src/components/generic/tab_mixin.js +146 -0
- data/app/src/components/generic/time.js +32 -0
- data/app/src/components/graph/__tests__/collapse-test.js +133 -0
- data/app/src/components/graph/__tests__/edges-from-vertices-test.js +48 -0
- data/app/src/components/graph/__tests__/new-vertex-set-test.js +16 -0
- data/app/src/components/graph/__tests__/next-id-test.js +27 -0
- data/app/src/components/graph/__tests__/role-kind-from-id-test.js +24 -0
- data/app/src/components/graph/__tests__/vertices-from-edges-test.js +72 -0
- data/app/src/components/graph/graph.js +449 -0
- data/app/src/components/graph/graph.less +39 -0
- data/app/src/components/graph/helpers.js +368 -0
- data/app/src/components/group/list.js +3 -0
- data/app/src/components/group/view.js +153 -0
- data/app/src/components/host/activity.js +111 -0
- data/app/src/components/host/details.js +28 -0
- data/app/src/components/host/executors.js +77 -0
- data/app/src/components/host/host_link.js +18 -0
- data/app/src/components/host/list.js +3 -0
- data/app/src/components/host/updaters.js +77 -0
- data/app/src/components/host/view.js +145 -0
- data/app/src/components/layer/list.js +3 -0
- data/app/src/components/layer/view.js +197 -0
- data/app/src/components/navbar/__tests__/navbar-test.js +21 -0
- data/app/src/components/navbar/nav_search_form.js +40 -0
- data/app/src/components/navbar/navbar.js +96 -0
- data/app/src/components/notfound/notfound.js +35 -0
- data/app/src/components/notfound/notfound.less +21 -0
- data/app/src/components/owned_resources/owned_resources.js +84 -0
- data/app/src/components/owned_resources/owned_resources_box.js +101 -0
- data/app/src/components/permissions/permissions.js +138 -0
- data/app/src/components/permissions/permissions_table.js +101 -0
- data/app/src/components/policy/list.js +3 -0
- data/app/src/components/policy/view.js +107 -0
- data/app/src/components/refresh/refresh.js +29 -0
- data/app/src/components/refresh/refresh.less +15 -0
- data/app/src/components/search/group.js +43 -0
- data/app/src/components/search/group_heading.js +50 -0
- data/app/src/components/search/group_title.js +37 -0
- data/app/src/components/search/result_item.js +55 -0
- data/app/src/components/search/search.js +118 -0
- data/app/src/components/user/activity.js +112 -0
- data/app/src/components/user/details.js +30 -0
- data/app/src/components/user/list.js +3 -0
- data/app/src/components/user/pubkeys.js +118 -0
- data/app/src/components/user/pubkeys.less +56 -0
- data/app/src/components/user/view.js +143 -0
- data/app/src/components/variable/activity.js +101 -0
- data/app/src/components/variable/details.js +46 -0
- data/app/src/components/variable/fetchers.js +77 -0
- data/app/src/components/variable/list.js +3 -0
- data/app/src/components/variable/updaters.js +77 -0
- data/app/src/components/variable/view.js +115 -0
- data/app/src/constants.js +36 -0
- data/{public → app/src}/images/conjur-logo.svg +0 -0
- data/{public → app/src}/images/icon-client-pc.svg +0 -0
- data/{public → app/src}/images/icon-environment.png +0 -0
- data/{public → app/src}/images/icon-person.svg +0 -0
- data/{public → app/src}/images/icon-policy.png +0 -0
- data/{public → app/src}/images/icon-resource.png +0 -0
- data/{public → app/src}/images/icon-service-dots.svg +0 -0
- data/{public → app/src}/images/icon-variable.png +0 -0
- data/app/src/pages/index.html +27 -0
- data/app/src/routes.js +64 -0
- data/app/src/stores/app_store.js +35 -0
- data/app/src/stores/audit_store.js +143 -0
- data/app/src/stores/graph_store.js +51 -0
- data/app/src/stores/group_store.js +104 -0
- data/app/src/stores/host_store.js +111 -0
- data/app/src/stores/layer_store.js +115 -0
- data/app/src/stores/policy_store.js +88 -0
- data/app/src/stores/resources_store.js +115 -0
- data/app/src/stores/route_store.js +21 -0
- data/app/src/stores/search_store.js +77 -0
- data/app/src/stores/user_store.js +109 -0
- data/app/src/stores/variable_store.js +93 -0
- data/app/src/styles/bootstrap.less +54 -0
- data/{public/css → app/src/styles}/styles.less +26 -82
- data/app/src/utils.js +38 -0
- data/app/src/vendor/pace.js +2 -0
- data/conjur-asset-ui.gemspec +3 -4
- data/docker/assets-build/Dockerfile +12 -0
- data/docker/conjur-ui/Dockerfile +33 -0
- data/docker/conjur-ui/README.md +38 -0
- data/docker/conjur-ui/mime.types +90 -0
- data/docker/conjur-ui/nginx.conf +110 -0
- data/docker/conjur-ui/start.py +72 -0
- data/docker/conjur-ui/start.sh +18 -0
- data/docker/conjur-ui/test.env +8 -0
- data/lib/conjur-asset-ui-version.rb +1 -1
- data/lib/conjur/command/ui.rb +10 -2
- data/lib/conjur/webserver/home.rb +3 -3
- data/lib/conjur/webserver/login.rb +1 -1
- data/lib/conjur/webserver/server.rb +16 -4
- data/public/js/views/roleGraph.js +91 -0
- metadata +167 -105
- data/.jshintrc +0 -41
- data/bower.json +0 -98
- data/gulpfile.js +0 -139
- data/package.json +0 -47
- data/preprocessor.js +0 -7
- data/public/_client_libs.html +0 -9
- data/public/index.html.erb +0 -63
- data/public/js/init.js +0 -196
- data/public/js/lib/pace.js +0 -2
- data/public/js/lib/sorted-set.no-require.js +0 -1145
- data/public/js/lib/sorted-set.no-require.js.txt +0 -6
- data/public/js/models/groupRecord.js +0 -72
- data/public/js/models/hostRecord.js +0 -60
- data/public/js/models/layerRecord.js +0 -79
- data/public/js/models/namespace.js +0 -12
- data/public/js/models/policyList.js +0 -16
- data/public/js/models/policyRecord.js +0 -54
- data/public/js/models/record.js +0 -117
- data/public/js/models/resourceList.js +0 -87
- data/public/js/models/userList.js +0 -25
- data/public/js/models/userRecord.js +0 -75
- data/public/js/models/variableList.js +0 -27
- data/public/js/models/variableRecord.js +0 -77
- data/public/js/routers.js +0 -242
- data/public/js/views/annotations.js +0 -47
- data/public/js/views/audit.js +0 -369
- data/public/js/views/breadcrumbs.js +0 -62
- data/public/js/views/chart.js +0 -617
- data/public/js/views/dashboard.js +0 -146
- data/public/js/views/generic.js +0 -122
- data/public/js/views/group.js +0 -109
- data/public/js/views/groups.js +0 -26
- data/public/js/views/host.js +0 -200
- data/public/js/views/hosts.js +0 -26
- data/public/js/views/layer.js +0 -146
- data/public/js/views/layers.js +0 -26
- data/public/js/views/mixins/search.js +0 -22
- data/public/js/views/mixins/tabs.js +0 -154
- data/public/js/views/namespaces.js +0 -40
- data/public/js/views/navSearch.js +0 -36
- data/public/js/views/owned.js +0 -184
- data/public/js/views/permissions.js +0 -254
- data/public/js/views/policies.js +0 -26
- data/public/js/views/policy.js +0 -70
- data/public/js/views/resource.js +0 -59
- data/public/js/views/role.js +0 -63
- data/public/js/views/searchResults.js +0 -212
- data/public/js/views/sections.js +0 -226
- data/public/js/views/time.js +0 -39
- data/public/js/views/user.js +0 -297
- data/public/js/views/users.js +0 -26
- data/public/js/views/variable.js +0 -310
- data/public/js/views/variables.js +0 -26
- data/spec/javascripts/helpers/.gitkeep +0 -0
- data/spec/javascripts/support/jasmine.yml +0 -112
- data/spec/javascripts/support/jasmine_helper.rb +0 -22
- data/spec/javascripts/support/run.html.erb +0 -23
- data/spec/javascripts/views/AuditSpec.js +0 -22
- data/spec/javascripts/views/AuditSpec.ls +0 -18
@@ -0,0 +1,110 @@
|
|
1
|
+
worker_processes 4;
|
2
|
+
|
3
|
+
error_log /var/log/nginx/error.log info;
|
4
|
+
pid /var/run/nginx.pid;
|
5
|
+
|
6
|
+
events {
|
7
|
+
worker_connections 4096;
|
8
|
+
}
|
9
|
+
|
10
|
+
http {
|
11
|
+
include mime.types;
|
12
|
+
default_type application/octet-stream;
|
13
|
+
|
14
|
+
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
15
|
+
'$status $body_bytes_sent "$http_referer" '
|
16
|
+
'"$http_user_agent" "$http_x_forwarded_for"';
|
17
|
+
|
18
|
+
access_log /var/log/nginx/access.log main;
|
19
|
+
|
20
|
+
sendfile on;
|
21
|
+
tcp_nopush on;
|
22
|
+
|
23
|
+
keepalive_timeout 65;
|
24
|
+
|
25
|
+
gzip on;
|
26
|
+
gzip_disable "msie6";
|
27
|
+
gzip_comp_level 6;
|
28
|
+
gzip_min_length 512;
|
29
|
+
gzip_buffers 16 8k;
|
30
|
+
gzip_proxied any;
|
31
|
+
gzip_types text/plain application/xml text/css text/js text/xml application/x-javascript text/javascript application/javascript application/json application/xml+rss;
|
32
|
+
|
33
|
+
server {
|
34
|
+
{% if server_ssl %}
|
35
|
+
listen 443 ssl;
|
36
|
+
listen [::]:443 ssl ipv6only=on;
|
37
|
+
{% else %}
|
38
|
+
listen 80;
|
39
|
+
listen [::]:80 ipv6only=on;
|
40
|
+
{% endif %}
|
41
|
+
|
42
|
+
server_name {{ server_hostname }};
|
43
|
+
|
44
|
+
resolver 8.8.4.4 8.8.8.8 valid=300s;
|
45
|
+
resolver_timeout 10s;
|
46
|
+
|
47
|
+
{% if appliance_ca %}
|
48
|
+
proxy_ssl_verify on;
|
49
|
+
proxy_ssl_trusted_certificate /etc/nginx/conjur.ca;
|
50
|
+
{% endif %}
|
51
|
+
|
52
|
+
{% if server_ssl %}
|
53
|
+
ssl on;
|
54
|
+
ssl_certificate_key /etc/nginx/ssl.key;
|
55
|
+
ssl_certificate /etc/nginx/ssl.crt;
|
56
|
+
|
57
|
+
ssl_ciphers 'AES128+EECDH:AES128+EDH:!aNULL';
|
58
|
+
|
59
|
+
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
60
|
+
ssl_session_cache shared:SSL:10m;
|
61
|
+
|
62
|
+
# We must understand it before we can use it
|
63
|
+
# nginx: [warn] "ssl_stapling" ignored, issuer certificate not found
|
64
|
+
# ssl_stapling on;
|
65
|
+
# ssl_stapling_verify on;
|
66
|
+
|
67
|
+
ssl_prefer_server_ciphers on;
|
68
|
+
ssl_dhparam /etc/ssl/certs/dhparam.pem;
|
69
|
+
|
70
|
+
add_header Strict-Transport-Security max-age=63072000;
|
71
|
+
add_header X-Frame-Options DENY;
|
72
|
+
add_header X-Content-Type-Options nosniff;
|
73
|
+
{% endif %}
|
74
|
+
|
75
|
+
root /usr/share/nginx/html/;
|
76
|
+
index index.html;
|
77
|
+
|
78
|
+
location ^~ /ui {
|
79
|
+
include cookies.conf;
|
80
|
+
try_files /index.html =404;
|
81
|
+
}
|
82
|
+
|
83
|
+
location /js {
|
84
|
+
alias /usr/share/nginx/html/js/ ;
|
85
|
+
}
|
86
|
+
|
87
|
+
location /images {
|
88
|
+
alias /usr/share/nginx/html/images/ ;
|
89
|
+
}
|
90
|
+
|
91
|
+
location /api/ {
|
92
|
+
proxy_pass {{ conjur_appliance_url }};
|
93
|
+
}
|
94
|
+
|
95
|
+
location / {
|
96
|
+
return 301 /ui ;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
{% if server_ssl %}
|
101
|
+
server {
|
102
|
+
listen 80;
|
103
|
+
listen [::]:80 ipv6only=on;
|
104
|
+
|
105
|
+
server_name {{ server_hostname }};
|
106
|
+
|
107
|
+
return 301 https://$server_name$request_uri;
|
108
|
+
}
|
109
|
+
{% endif %}
|
110
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
|
3
|
+
import os
|
4
|
+
|
5
|
+
from subprocess import call
|
6
|
+
from jinja2 import Template
|
7
|
+
|
8
|
+
cookie_file = "/etc/nginx/cookies.conf"
|
9
|
+
|
10
|
+
def print_to_file(content, filename):
|
11
|
+
with open(filename, 'a') as content_file:
|
12
|
+
content_file.write("\n".join(content.split('\\n')))
|
13
|
+
|
14
|
+
def render_nginx_config(env):
|
15
|
+
with open('./nginx.conf', 'r') as content_file:
|
16
|
+
content = content_file.read()
|
17
|
+
template = Template(content)
|
18
|
+
print_to_file(template.render(env), "/etc/nginx/nginx.conf")
|
19
|
+
|
20
|
+
def generate_dh_param():
|
21
|
+
call(["openssl", "dhparam", "-out", "/etc/ssl/certs/dhparam.pem", "4096"])
|
22
|
+
|
23
|
+
def set_cookie_value(name, value):
|
24
|
+
print_to_file("add_header Set-Cookie 'conjur_{0}={1}';".format(name, value), cookie_file)
|
25
|
+
|
26
|
+
def read_env():
|
27
|
+
conjur_username = os.environ.get('CONJUR_USERNAME')
|
28
|
+
conjur_password = os.environ.get('CONJUR_PASSWORD')
|
29
|
+
|
30
|
+
if conjur_username:
|
31
|
+
set_cookie_value('username', conjur_username)
|
32
|
+
|
33
|
+
if conjur_password:
|
34
|
+
set_cookie_value('password', conjur_password)
|
35
|
+
|
36
|
+
conjur_appliance_url = os.environ.get('CONJUR_APPLIANCE_URL')
|
37
|
+
conjur_appliance_ca = os.environ.get('CONJUR_APPLIANCE_CA')
|
38
|
+
server_hostname = os.environ.get('SERVER_HOSTNAME', 'localhost')
|
39
|
+
server_ssl_crt = os.environ.get('SERVER_SSL_CRT')
|
40
|
+
server_ssl_key = os.environ.get('SERVER_SSL_KEY')
|
41
|
+
dh_param = os.environ.get('DH_PARAM_PEM')
|
42
|
+
|
43
|
+
server_ssl = False
|
44
|
+
|
45
|
+
if server_ssl_crt and server_ssl_key:
|
46
|
+
server_ssl = True
|
47
|
+
print_to_file(server_ssl_key, "/etc/nginx/ssl.key")
|
48
|
+
print_to_file(server_ssl_crt, "/etc/nginx/ssl.crt")
|
49
|
+
|
50
|
+
if dh_param:
|
51
|
+
print_to_file(dh_param, "/etc/ssl/certs/dhparam.pem")
|
52
|
+
else:
|
53
|
+
generate_dh_param()
|
54
|
+
|
55
|
+
appliance_ca = False
|
56
|
+
|
57
|
+
if conjur_appliance_ca:
|
58
|
+
appliance_ca = True
|
59
|
+
print_to_file(conjur_appliance_ca, "/etc/nginx/conjur.ca")
|
60
|
+
|
61
|
+
env = {
|
62
|
+
"server_ssl": server_ssl,
|
63
|
+
"server_hostname": server_hostname,
|
64
|
+
"appliance_ca": appliance_ca,
|
65
|
+
"conjur_appliance_url": conjur_appliance_url
|
66
|
+
}
|
67
|
+
|
68
|
+
render_nginx_config(env)
|
69
|
+
|
70
|
+
read_env()
|
71
|
+
|
72
|
+
os.system('/usr/sbin/nginx -g "daemon off; error_log stderr info;"')
|
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
COOKIES_FILE=/etc/nginx/cookies.conf ;
|
4
|
+
#touch $COOKIES_FILE;
|
5
|
+
|
6
|
+
if [ ! -z "$CONJUR_USERNAME" ] ; then
|
7
|
+
echo "add_header Set-Cookie 'conjur_username=$CONJUR_USERNAME';" >> $COOKIES_FILE;
|
8
|
+
fi
|
9
|
+
|
10
|
+
if [ ! -z "$CONJUR_PASSWORD" ] ; then
|
11
|
+
echo "add_header Set-Cookie 'conjur_password=$CONJUR_PASSWORD';" >> $COOKIES_FILE;
|
12
|
+
fi
|
13
|
+
# generate some cookie-related stuff
|
14
|
+
|
15
|
+
|
16
|
+
dnsmasq -u root -a 127.0.0.1 && \
|
17
|
+
nginx -g "daemon off; error_log stderr info;"
|
18
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
CONJUR_USERNAME=asakura
|
2
|
+
CONJUR_PASSWORD=demo
|
3
|
+
CONJUR_APPLIANCE_URL=https://conjur-master.itp.conjur.net
|
4
|
+
CONJUR_APPLIANCE_CA=-----BEGIN CERTIFICATE-----\nMIIDUTCCAjmgAwIBAgIJAO4Lf1Rf2cciMA0GCSqGSIb3DQEBBQUAMDMxMTAvBgNV\nBAMTKGVjMi01NC05MS0yNDYtODQuY29tcHV0ZS0xLmFtYXpvbmF3cy5jb20wHhcN\nMTQxMDA4MjEwNTA5WhcNMjQxMDA1MjEwNTA5WjAzMTEwLwYDVQQDEyhlYzItNTQt\nOTEtMjQ2LTg0LmNvbXB1dGUtMS5hbWF6b25hd3MuY29tMIIBIjANBgkqhkiG9w0B\nAQEFAAOCAQ8AMIIBCgKCAQEAx+OFANXNEYNsMR3Uvg4/72VG3LZO8yxrYaYzc3FZ\nNN3NpIOCZvRTC5S+OawsdEljHwfhdVoXdWNKgVJakSxsAnnaj11fA6XpfN60o6Fk\ni4q/BqwqgeNJjKAlElFsNz2scWFWRe49NHlj9qaq/yWZ8Cn0IeHy8j8F+jMek4zt\ndCSxVEayVG/k8RFmYCcluQc/1LuCjPiFwJU43AGkO+yvmOuYGivsNKY+54yuEZqF\nVDsjAjMsYXxgLx9y1F7Rq3CfeqY6IajR7pmmRup8/D9NyyyQuIML83mjTSvo0UYu\nrkdXPObd/m6gumscvXMl6SoJ5IPItvTA42MZqTaNzimF0QIDAQABo2gwZjBkBgNV\nHREEXTBbgglsb2NhbGhvc3SCBmNvbmp1coIcY29uanVyLW1hc3Rlci5pdHAuY29u\nanVyLm5ldIIoZWMyLTU0LTkxLTI0Ni04NC5jb21wdXRlLTEuYW1hem9uYXdzLmNv\nbTANBgkqhkiG9w0BAQUFAAOCAQEANk7P3ZEZHLgiTrLG13VAkm33FAvFzRG6akx1\njgNeRDgSaxRtrfJq3mnhsmD6hdvv+e6prPCFOjeEDheyCZyQDESdVEJBwytHVjnH\ndbvgMRaPm6OO8CyRyNjg3YcC36T//oQKOdAXXEcrtd0QbelBDYlKA7smJtznfhAb\nXypVdeS/6I4qvJi3Ckp5sQ1GszYhVXAvEeWeY59WwsTWYHLkzss9QShnigPyo3LY\nZA5JVXofYi9DJ6VexP7sJNhCMrY2WnMpPcAOB9T7a6lcoXj6mWxvFys0xDIEOnc6\nNGb+d47blphUKRZMAUZgYgFfMfmlyu1IXj03J8AuKtIMEwkXAA==\n-----END CERTIFICATE-----
|
5
|
+
SERVER_HOSTNAME=192.168.59.103
|
6
|
+
SERVER_SSL_KEY=-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQC54L3q/hKYNDmtbMkGmLPB0EgvX5YzmrNmtPCJ+oL8mRBVjGXh\nupQbdDWC2pvEwo5qHsnQrKqDQgUkp98doDHImCRfEb1iwL23IQjJqCIGaprJ4ufV\nh19qrIWW9sHTYWU8pCWzFsB2SYNBhTUV2wKGsjRhnK85isDeUfj2RKLREQIDAQAB\nAoGAVOE6+J8zEIvwtrARkFCU7XFWNUPaDBCd0c3YdbmOrRica+Rj9dNEpNDJSsrX\nDN+nNvB+Sis+5hd0z8tUyGuJr3/++O5NOpO+aAPl8Jj9d2KF055NmspbowqQw82x\nXC5D/H24lGgBwg4Vy3bQOzknlTLgVY6f1Z3CUD2C4HcL0AECQQDeWNQHpA1O8hX7\niJH9Wmc3at+F3Gy1j8J0RBmuvKA5kDTnWf72JLDBh/zRzqDJ430m77Cl+pSKMcvq\nPIq84wsBAkEA1gLdCYQSztSa1ufdI5+piJB3BtnfH685lCM4vdgAM6TdKE278Nua\nJVhMb+S7urnbFR9XE7n9I5jmjuMpd50WEQJBALGS16NSjZ5jENNV+uIP9Sb5H5LU\nu601JuOcD7bRxlSyqs2pvknue4vUg0E8eIVEPYt/GeE1ArRrmKN1voej/AECQDzN\nu3dEqwNQrF16qv3AEy7VvLuZkycxZa6NA0YM5KHHqX4V99vKyNTrbWwtFJlMzM4H\nhXn5Uc6XVooqSFHPs8ECQHJuxIc8YTmB4VQJTYzqmC2Xaui21bgJtkI4fln5a5ZH\n18jvGTM8Js2NaaUTpwtepHAfdU/otkX9s4j5BO9jils=\n-----END RSA PRIVATE KEY-----
|
7
|
+
SERVER_SSL_CRT=-----BEGIN CERTIFICATE-----\nMIICATCCAWoCCQDorNw06YvodzANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQGEwJB\nVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0\ncyBQdHkgTHRkMB4XDTE1MDUwNzE5MjgzNFoXDTE2MDUwNjE5MjgzNFowRTELMAkG\nA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNVBAoTGEludGVybmV0\nIFdpZGdpdHMgUHR5IEx0ZDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAueC9\n6v4SmDQ5rWzJBpizwdBIL1+WM5qzZrTwifqC/JkQVYxl4bqUG3Q1gtqbxMKOah7J\n0Kyqg0IFJKffHaAxyJgkXxG9YsC9tyEIyagiBmqayeLn1YdfaqyFlvbB02FlPKQl\nsxbAdkmDQYU1FdsChrI0YZyvOYrA3lH49kSi0RECAwEAATANBgkqhkiG9w0BAQUF\nAAOBgQAPH0lGTrN+O2qucwJb+gqpBB1ZmNTIgGs86LXK++W8fmDIAva5JpJ8c3pk\n+Eq6Yix0INGd2xp93T3WBSfwIQA98wgzEtnKv8Zn4fO7sQsy9bHb9pPQi2wAaPj2\nJNhMvYcQjume33SbB5vGtWBG/qLW9joLjARD6SlLFag9+hK61Q==\n-----END CERTIFICATE-----
|
8
|
+
DH_PARAM_PEM=-----BEGIN DH PARAMETERS-----\nMIICCAKCAgEAkhKhzfvFfgw9DVHEn0zcXfQdCVSl8micXcZNbwwZyZ6CV7PX4+NH\njsQHJKVeaRV+Ub3YtwqQeootIB+M9MkFmwavxEduDYM8fYvzt5KcLvQ5lYiuWrA5\nm/xeX3QT9EnjucdLd5ezkwMYqEO1L+j3vuOFvR49vEpWHYe9C83eEAkBA/Xbo4iF\nMTOF518yB7UJAIfDhyj6dp1dT1L/QsdM+U6Jc9XjC1sJ0uxGRnijKeeys64vTHrn\nrWu1B96/2cMk/id42ea+/EqQcEXvOMFqve679gcka7mOBwOXalimRRPF6ZGO+8rh\nQVXPyPt5Fg9N6aFACRY1juFIteObLwgPz5I+QvHHhN04HhqD6I7YzWLsHMk69PXd\nVKfVifFmn28hZLCtlYRja/nNAd9fgQaXUDOQeULga1KDpISHh8Dm698Zw7OlFiJF\nP+T7DsaCe6dKSg3tDELTnvSmXUceeSD3NoeFaz/uDDLatp61rsREirWWzeBBHUdI\n8zPdjbJ4GlbkcXm7ACZ7pmF8Qh1SuaoCLBgILX96cFMTUc1OjO71BB4k+KPi5OON\n21kwAEzJ+sff5kND0vxFxz8hJMGx6OkPVL2LDgGSx6em6sSPMXgDh90WtUNa1/Nk\nnSL8K1Ej/0EeMmITc19YGJ3Gt9N/piMhYaIu0ptNa4Y+9icMNL72DfsCAQI=\n-----END DH PARAMETERS-----
|
data/lib/conjur/command/ui.rb
CHANGED
@@ -22,8 +22,15 @@ class Conjur::Command::UI < Conjur::Command
|
|
22
22
|
desc "Launch a UI"
|
23
23
|
arg_name "root-path"
|
24
24
|
Conjur::CLI.command :ui do |c|
|
25
|
+
c.desc "Port to run the webserver on."
|
26
|
+
c.flag ["p", "port"]
|
27
|
+
|
28
|
+
c.desc "Run on headless server (don't launch the browser)."
|
29
|
+
c.switch [:headless]
|
30
|
+
|
25
31
|
c.action do |global_options,options,args|
|
26
|
-
root = args.pop || File.expand_path('../../../
|
32
|
+
root = args.pop || File.expand_path('../../../app/build', File.dirname(__FILE__))
|
33
|
+
port = options[:port]
|
27
34
|
|
28
35
|
#TODO: login page
|
29
36
|
api # just initialize API so if user is not logged in it will be asked for credentials *before* server is launched
|
@@ -35,11 +42,12 @@ class Conjur::Command::UI < Conjur::Command
|
|
35
42
|
|
36
43
|
require 'conjur/webserver/server'
|
37
44
|
server = Conjur::WebServer::Server.new
|
45
|
+
server.set_port port if port
|
38
46
|
thread = Thread.new do
|
39
47
|
server.start(root)
|
40
48
|
end
|
41
49
|
sleep 0.5
|
42
|
-
server.open
|
50
|
+
server.open options[:headless]
|
43
51
|
thread.join
|
44
52
|
end
|
45
53
|
end
|
@@ -16,8 +16,8 @@ module Conjur
|
|
16
16
|
path = File.expand_path(INDEX, @root)
|
17
17
|
renderer = Renderer.new @root
|
18
18
|
|
19
|
-
page =
|
20
|
-
files =
|
19
|
+
page = File.read(path)
|
20
|
+
files = [path]
|
21
21
|
|
22
22
|
last_modified = files.map(&File.method(:mtime)).max.httpdate
|
23
23
|
|
@@ -36,7 +36,7 @@ module Conjur
|
|
36
36
|
|
37
37
|
private
|
38
38
|
|
39
|
-
INDEX = 'index.html
|
39
|
+
INDEX = 'index.html'.freeze
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
@@ -25,7 +25,7 @@ module Conjur
|
|
25
25
|
login: Conjur::Authn.get_credentials[0]
|
26
26
|
}
|
27
27
|
response.status = 302
|
28
|
-
response.set_cookie('conjur_configuration', value: JSON.
|
28
|
+
response.set_cookie('conjur_configuration', value: JSON.dump(configuration), path: '/')
|
29
29
|
response.set_cookie('conjur_userid', value: userid, path: '/')
|
30
30
|
response['Location'] = "/ui"
|
31
31
|
response.finish
|
@@ -58,7 +58,7 @@ module Conjur
|
|
58
58
|
api_stack.each{|args| use *args}
|
59
59
|
run Conjur::WebServer::APIProxy.new
|
60
60
|
end
|
61
|
-
%w(
|
61
|
+
%w(js css fonts images maps).each do |path|
|
62
62
|
map "/#{path}" do
|
63
63
|
run Rack::File.new(File.join(root, path), 'Cache-Control' => 'max-age=0')
|
64
64
|
end
|
@@ -84,12 +84,24 @@ module Conjur
|
|
84
84
|
Rack::Server.start(options)
|
85
85
|
end
|
86
86
|
|
87
|
-
def open
|
87
|
+
def open headless
|
88
88
|
require 'launchy'
|
89
89
|
url = "http://localhost:#{port}/login?sessionid=#{sessionid}"
|
90
90
|
# as launchy sometimes silently fails, we need human-friendly failover
|
91
|
-
|
92
|
-
|
91
|
+
if ENV['DONT_OPEN_IN_BROWSER'] or headless
|
92
|
+
puts "Running in headless mode."
|
93
|
+
puts "To reach this UI server via SSH tunnel, run the following command:"
|
94
|
+
puts "ssh -N -L #{port}:localhost:#{port} user@hostname"
|
95
|
+
puts "Then open your browser to the following URL:"
|
96
|
+
puts url
|
97
|
+
else
|
98
|
+
$stderr.puts "If your browser did not opened the UI automatically, point it to #{url}"
|
99
|
+
Launchy.open(url)
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
def set_port p
|
104
|
+
@port = p
|
93
105
|
end
|
94
106
|
|
95
107
|
protected
|
@@ -0,0 +1,91 @@
|
|
1
|
+
/** @jsx React.DOM */
|
2
|
+
/* global conjur, React, d3, _ */
|
3
|
+
|
4
|
+
(function(conjur, React, d3, _) {
|
5
|
+
// TODO move these somewhere common
|
6
|
+
function _translate(x,y){
|
7
|
+
return 'transate(' + x + ',' + y + ')';
|
8
|
+
}
|
9
|
+
|
10
|
+
this.RoleGraph = React.createClass({
|
11
|
+
/*
|
12
|
+
* React Lifecycle methods
|
13
|
+
*/
|
14
|
+
|
15
|
+
getInitialState: function(){
|
16
|
+
return { ready: false };
|
17
|
+
},
|
18
|
+
|
19
|
+
componentDidMount: function(){
|
20
|
+
this.ctx = {};
|
21
|
+
this.el = this.getDOMNode();
|
22
|
+
this._computeState(this.props);
|
23
|
+
},
|
24
|
+
|
25
|
+
componentWillReceiveProps: function(nextProps){
|
26
|
+
this._computeState(nextProps);
|
27
|
+
},
|
28
|
+
|
29
|
+
|
30
|
+
componentDidUpdate: function(){
|
31
|
+
if(this.state.ready === false){
|
32
|
+
return;
|
33
|
+
}
|
34
|
+
|
35
|
+
if(this.sgv === undefined){
|
36
|
+
this._create();
|
37
|
+
}
|
38
|
+
|
39
|
+
this._update();
|
40
|
+
},
|
41
|
+
|
42
|
+
/*
|
43
|
+
* Internal Methods
|
44
|
+
*/
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Create the non-data bound graph components.
|
48
|
+
* @private
|
49
|
+
*/
|
50
|
+
_create: function(){
|
51
|
+
var svg = this.ctx.svg = d3.select(this.el)
|
52
|
+
.append('svg')
|
53
|
+
.attr('class', 'd3-digraph') // XXX is this
|
54
|
+
.attr('width', this.state.fullWidth)
|
55
|
+
.attr('height', this.state.fullHeight)
|
56
|
+
.append('g')
|
57
|
+
.attr('class', 'd3-digraph__inner')
|
58
|
+
.attr('transform', _translate(this.state.margin.left, this.state.margin.top));
|
59
|
+
},
|
60
|
+
|
61
|
+
/**
|
62
|
+
* Bind graph components to this.state.data, which should be an object as returned by
|
63
|
+
* this.conjur.role.graph(...).
|
64
|
+
*
|
65
|
+
* @private
|
66
|
+
*/
|
67
|
+
_update: function(){
|
68
|
+
|
69
|
+
},
|
70
|
+
|
71
|
+
/**
|
72
|
+
* Given props, we try to decide how to do our geometric shit.
|
73
|
+
* @param props
|
74
|
+
* @private
|
75
|
+
*/
|
76
|
+
_computeState: function(props){
|
77
|
+
|
78
|
+
}
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
});
|
83
|
+
|
84
|
+
}).bind(conjur.views)
|
85
|
+
(
|
86
|
+
conjur,
|
87
|
+
React,
|
88
|
+
d3,
|
89
|
+
_
|
90
|
+
);
|
91
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjur-asset-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Mason
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2015-05-19 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: puma
|
@@ -34,14 +34,14 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 4.10
|
37
|
+
version: '4.10'
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
42
|
- - '>='
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 4.10
|
44
|
+
version: '4.10'
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: launchy
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|
@@ -90,14 +90,14 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - '>='
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
93
|
+
version: '4.20'
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - '>='
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: '
|
100
|
+
version: '4.20'
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: bundler
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,20 +182,6 @@ dependencies:
|
|
182
182
|
- - '>='
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '0'
|
185
|
-
- !ruby/object:Gem::Dependency
|
186
|
-
name: jasmine
|
187
|
-
requirement: !ruby/object:Gem::Requirement
|
188
|
-
requirements:
|
189
|
-
- - '>='
|
190
|
-
- !ruby/object:Gem::Version
|
191
|
-
version: '0'
|
192
|
-
type: :development
|
193
|
-
prerelease: false
|
194
|
-
version_requirements: !ruby/object:Gem::Requirement
|
195
|
-
requirements:
|
196
|
-
- - '>='
|
197
|
-
- !ruby/object:Gem::Version
|
198
|
-
version: '0'
|
199
185
|
description:
|
200
186
|
email:
|
201
187
|
- jon@conjur.net
|
@@ -209,22 +195,178 @@ extra_rdoc_files: []
|
|
209
195
|
files:
|
210
196
|
- .git-hooks/pre_commit/trailing_whitespace.rb
|
211
197
|
- .gitignore
|
212
|
-
- .jshintrc
|
213
198
|
- .project
|
214
199
|
- CHANGELOG.md
|
215
200
|
- Gemfile
|
216
201
|
- LICENSE.txt
|
202
|
+
- Makefile
|
217
203
|
- README.md
|
218
204
|
- Rakefile
|
219
205
|
- TODO.md
|
220
|
-
-
|
206
|
+
- app/.csscomb.json
|
207
|
+
- app/.eslintignore
|
208
|
+
- app/.eslintrc
|
209
|
+
- app/build/images/conjur-logo.svg
|
210
|
+
- app/build/images/icon-client-pc.svg
|
211
|
+
- app/build/images/icon-environment.png
|
212
|
+
- app/build/images/icon-person.svg
|
213
|
+
- app/build/images/icon-policy.png
|
214
|
+
- app/build/images/icon-resource.png
|
215
|
+
- app/build/images/icon-service-dots.svg
|
216
|
+
- app/build/images/icon-variable.png
|
217
|
+
- app/build/index.html
|
218
|
+
- app/build/js/448c34a56d699c29117adc64c43affeb.woff2
|
219
|
+
- app/build/js/89889688147bd7575d6327160d64e760.svg
|
220
|
+
- app/build/js/app.js
|
221
|
+
- app/build/js/app.js.map
|
222
|
+
- app/build/js/e18bbf611f2a2e43afc071aa2f4e1512.ttf
|
223
|
+
- app/build/js/f4769f9bdb7466be65088239c12046d1.eot
|
224
|
+
- app/build/js/fa2772327f55d8198301fdb8bcfc8158.woff
|
225
|
+
- app/build/js/pace.js
|
226
|
+
- app/build/js/styles.css
|
227
|
+
- app/build/js/styles.css.map
|
228
|
+
- app/build/js/vendor.bundle.js
|
229
|
+
- app/build/js/vendor.bundle.js.map
|
230
|
+
- app/config/preprocessor.js
|
231
|
+
- app/config/webpack.js
|
232
|
+
- app/gulpfile.js
|
233
|
+
- app/package.json
|
234
|
+
- app/src/actions.js
|
235
|
+
- app/src/app.js
|
236
|
+
- app/src/clients/audit.js
|
237
|
+
- app/src/clients/auth.js
|
238
|
+
- app/src/clients/generic.js
|
239
|
+
- app/src/clients/graph.js
|
240
|
+
- app/src/clients/layer_members.js
|
241
|
+
- app/src/clients/list.js
|
242
|
+
- app/src/clients/members.js
|
243
|
+
- app/src/clients/request.js
|
244
|
+
- app/src/clients/search.js
|
245
|
+
- app/src/components/app/__tests__/app-test.js
|
246
|
+
- app/src/components/app/app.js
|
247
|
+
- app/src/components/app/wrapper.js
|
248
|
+
- app/src/components/audit/__tests__/table_header-test.js
|
249
|
+
- app/src/components/audit/box.js
|
250
|
+
- app/src/components/audit/constants.js
|
251
|
+
- app/src/components/audit/entry.js
|
252
|
+
- app/src/components/audit/fields_mixin.js
|
253
|
+
- app/src/components/audit/humanize_event.js
|
254
|
+
- app/src/components/audit/table.js
|
255
|
+
- app/src/components/audit/table_header.js
|
256
|
+
- app/src/components/audit/timestamp.js
|
257
|
+
- app/src/components/auth/login.js
|
258
|
+
- app/src/components/auth/login.less
|
259
|
+
- app/src/components/auth/logout.js
|
260
|
+
- app/src/components/auth/logout.less
|
261
|
+
- app/src/components/chart/chart.js
|
262
|
+
- app/src/components/chart/chart_helper_mixin.js
|
263
|
+
- app/src/components/custom/list.js
|
264
|
+
- app/src/components/custom/view.js
|
265
|
+
- app/src/components/dashboard/activity.js
|
266
|
+
- app/src/components/dashboard/dashboard.js
|
267
|
+
- app/src/components/flash/flash.js
|
268
|
+
- app/src/components/flash/flash.less
|
269
|
+
- app/src/components/generic/__tests__/time-test.js
|
270
|
+
- app/src/components/generic/annotations.js
|
271
|
+
- app/src/components/generic/breadcrumbs.js
|
272
|
+
- app/src/components/generic/foldable_audit_section.js
|
273
|
+
- app/src/components/generic/list.js
|
274
|
+
- app/src/components/generic/list_factory.js
|
275
|
+
- app/src/components/generic/resource_link.js
|
276
|
+
- app/src/components/generic/role_link.js
|
277
|
+
- app/src/components/generic/tab_mixin.js
|
278
|
+
- app/src/components/generic/time.js
|
279
|
+
- app/src/components/graph/__tests__/collapse-test.js
|
280
|
+
- app/src/components/graph/__tests__/edges-from-vertices-test.js
|
281
|
+
- app/src/components/graph/__tests__/new-vertex-set-test.js
|
282
|
+
- app/src/components/graph/__tests__/next-id-test.js
|
283
|
+
- app/src/components/graph/__tests__/role-kind-from-id-test.js
|
284
|
+
- app/src/components/graph/__tests__/vertices-from-edges-test.js
|
285
|
+
- app/src/components/graph/graph.js
|
286
|
+
- app/src/components/graph/graph.less
|
287
|
+
- app/src/components/graph/helpers.js
|
288
|
+
- app/src/components/group/list.js
|
289
|
+
- app/src/components/group/view.js
|
290
|
+
- app/src/components/host/activity.js
|
291
|
+
- app/src/components/host/details.js
|
292
|
+
- app/src/components/host/executors.js
|
293
|
+
- app/src/components/host/host_link.js
|
294
|
+
- app/src/components/host/list.js
|
295
|
+
- app/src/components/host/updaters.js
|
296
|
+
- app/src/components/host/view.js
|
297
|
+
- app/src/components/layer/list.js
|
298
|
+
- app/src/components/layer/view.js
|
299
|
+
- app/src/components/navbar/__tests__/navbar-test.js
|
300
|
+
- app/src/components/navbar/nav_search_form.js
|
301
|
+
- app/src/components/navbar/navbar.js
|
302
|
+
- app/src/components/notfound/notfound.js
|
303
|
+
- app/src/components/notfound/notfound.less
|
304
|
+
- app/src/components/owned_resources/owned_resources.js
|
305
|
+
- app/src/components/owned_resources/owned_resources_box.js
|
306
|
+
- app/src/components/permissions/permissions.js
|
307
|
+
- app/src/components/permissions/permissions_table.js
|
308
|
+
- app/src/components/policy/list.js
|
309
|
+
- app/src/components/policy/view.js
|
310
|
+
- app/src/components/refresh/refresh.js
|
311
|
+
- app/src/components/refresh/refresh.less
|
312
|
+
- app/src/components/search/group.js
|
313
|
+
- app/src/components/search/group_heading.js
|
314
|
+
- app/src/components/search/group_title.js
|
315
|
+
- app/src/components/search/result_item.js
|
316
|
+
- app/src/components/search/search.js
|
317
|
+
- app/src/components/user/activity.js
|
318
|
+
- app/src/components/user/details.js
|
319
|
+
- app/src/components/user/list.js
|
320
|
+
- app/src/components/user/pubkeys.js
|
321
|
+
- app/src/components/user/pubkeys.less
|
322
|
+
- app/src/components/user/view.js
|
323
|
+
- app/src/components/variable/activity.js
|
324
|
+
- app/src/components/variable/details.js
|
325
|
+
- app/src/components/variable/fetchers.js
|
326
|
+
- app/src/components/variable/list.js
|
327
|
+
- app/src/components/variable/updaters.js
|
328
|
+
- app/src/components/variable/view.js
|
329
|
+
- app/src/constants.js
|
330
|
+
- app/src/images/conjur-logo.svg
|
331
|
+
- app/src/images/icon-client-pc.svg
|
332
|
+
- app/src/images/icon-environment.png
|
333
|
+
- app/src/images/icon-person.svg
|
334
|
+
- app/src/images/icon-policy.png
|
335
|
+
- app/src/images/icon-resource.png
|
336
|
+
- app/src/images/icon-service-dots.svg
|
337
|
+
- app/src/images/icon-variable.png
|
338
|
+
- app/src/pages/index.html
|
339
|
+
- app/src/routes.js
|
340
|
+
- app/src/stores/app_store.js
|
341
|
+
- app/src/stores/audit_store.js
|
342
|
+
- app/src/stores/graph_store.js
|
343
|
+
- app/src/stores/group_store.js
|
344
|
+
- app/src/stores/host_store.js
|
345
|
+
- app/src/stores/layer_store.js
|
346
|
+
- app/src/stores/policy_store.js
|
347
|
+
- app/src/stores/resources_store.js
|
348
|
+
- app/src/stores/route_store.js
|
349
|
+
- app/src/stores/search_store.js
|
350
|
+
- app/src/stores/user_store.js
|
351
|
+
- app/src/stores/variable_store.js
|
352
|
+
- app/src/styles/bootstrap.less
|
353
|
+
- app/src/styles/styles.less
|
354
|
+
- app/src/utils.js
|
355
|
+
- app/src/vendor/pace.js
|
221
356
|
- conjur-asset-ui.gemspec
|
357
|
+
- docker/assets-build/Dockerfile
|
358
|
+
- docker/conjur-ui/Dockerfile
|
359
|
+
- docker/conjur-ui/README.md
|
360
|
+
- docker/conjur-ui/mime.types
|
361
|
+
- docker/conjur-ui/nginx.conf
|
362
|
+
- docker/conjur-ui/start.py
|
363
|
+
- docker/conjur-ui/start.sh
|
364
|
+
- docker/conjur-ui/test.env
|
222
365
|
- features/navigation_bar.feature
|
223
366
|
- features/step_definitions/custom_step.rb
|
224
367
|
- features/support/env.rb
|
225
368
|
- features/support/hooks.rb
|
226
369
|
- features/support/world.rb
|
227
|
-
- gulpfile.js
|
228
370
|
- lib/conjur-asset-ui-version.rb
|
229
371
|
- lib/conjur-asset-ui.rb
|
230
372
|
- lib/conjur/command/ui.rb
|
@@ -235,81 +377,7 @@ files:
|
|
235
377
|
- lib/conjur/webserver/login.rb
|
236
378
|
- lib/conjur/webserver/renderer.rb
|
237
379
|
- lib/conjur/webserver/server.rb
|
238
|
-
-
|
239
|
-
- preprocessor.js
|
240
|
-
- public/_client_libs.html
|
241
|
-
- public/build/css/styles.css
|
242
|
-
- public/build/css/vendor.css
|
243
|
-
- public/build/fonts/glyphicons-halflings-regular.eot
|
244
|
-
- public/build/fonts/glyphicons-halflings-regular.svg
|
245
|
-
- public/build/fonts/glyphicons-halflings-regular.ttf
|
246
|
-
- public/build/fonts/glyphicons-halflings-regular.woff
|
247
|
-
- public/build/js/app.min.js
|
248
|
-
- public/build/js/vendor.min.js
|
249
|
-
- public/build/maps/app.min.js.map
|
250
|
-
- public/build/maps/vendor.min.js.map
|
251
|
-
- public/css/styles.less
|
252
|
-
- public/images/conjur-logo.svg
|
253
|
-
- public/images/icon-client-pc.svg
|
254
|
-
- public/images/icon-environment.png
|
255
|
-
- public/images/icon-person.svg
|
256
|
-
- public/images/icon-policy.png
|
257
|
-
- public/images/icon-resource.png
|
258
|
-
- public/images/icon-service-dots.svg
|
259
|
-
- public/images/icon-variable.png
|
260
|
-
- public/index.html.erb
|
261
|
-
- public/js/init.js
|
262
|
-
- public/js/lib/pace.js
|
263
|
-
- public/js/lib/sorted-set.no-require.js
|
264
|
-
- public/js/lib/sorted-set.no-require.js.txt
|
265
|
-
- public/js/models/groupRecord.js
|
266
|
-
- public/js/models/hostRecord.js
|
267
|
-
- public/js/models/layerRecord.js
|
268
|
-
- public/js/models/namespace.js
|
269
|
-
- public/js/models/policyList.js
|
270
|
-
- public/js/models/policyRecord.js
|
271
|
-
- public/js/models/record.js
|
272
|
-
- public/js/models/resourceList.js
|
273
|
-
- public/js/models/userList.js
|
274
|
-
- public/js/models/userRecord.js
|
275
|
-
- public/js/models/variableList.js
|
276
|
-
- public/js/models/variableRecord.js
|
277
|
-
- public/js/routers.js
|
278
|
-
- public/js/views/annotations.js
|
279
|
-
- public/js/views/audit.js
|
280
|
-
- public/js/views/breadcrumbs.js
|
281
|
-
- public/js/views/chart.js
|
282
|
-
- public/js/views/dashboard.js
|
283
|
-
- public/js/views/generic.js
|
284
|
-
- public/js/views/group.js
|
285
|
-
- public/js/views/groups.js
|
286
|
-
- public/js/views/host.js
|
287
|
-
- public/js/views/hosts.js
|
288
|
-
- public/js/views/layer.js
|
289
|
-
- public/js/views/layers.js
|
290
|
-
- public/js/views/mixins/search.js
|
291
|
-
- public/js/views/mixins/tabs.js
|
292
|
-
- public/js/views/namespaces.js
|
293
|
-
- public/js/views/navSearch.js
|
294
|
-
- public/js/views/owned.js
|
295
|
-
- public/js/views/permissions.js
|
296
|
-
- public/js/views/policies.js
|
297
|
-
- public/js/views/policy.js
|
298
|
-
- public/js/views/resource.js
|
299
|
-
- public/js/views/role.js
|
300
|
-
- public/js/views/searchResults.js
|
301
|
-
- public/js/views/sections.js
|
302
|
-
- public/js/views/time.js
|
303
|
-
- public/js/views/user.js
|
304
|
-
- public/js/views/users.js
|
305
|
-
- public/js/views/variable.js
|
306
|
-
- public/js/views/variables.js
|
307
|
-
- spec/javascripts/helpers/.gitkeep
|
308
|
-
- spec/javascripts/support/jasmine.yml
|
309
|
-
- spec/javascripts/support/jasmine_helper.rb
|
310
|
-
- spec/javascripts/support/run.html.erb
|
311
|
-
- spec/javascripts/views/AuditSpec.js
|
312
|
-
- spec/javascripts/views/AuditSpec.ls
|
380
|
+
- public/js/views/roleGraph.js
|
313
381
|
homepage: ''
|
314
382
|
licenses:
|
315
383
|
- MIT
|
@@ -330,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
330
398
|
version: '0'
|
331
399
|
requirements: []
|
332
400
|
rubyforge_project:
|
333
|
-
rubygems_version: 2.
|
401
|
+
rubygems_version: 2.4.7
|
334
402
|
signing_key:
|
335
403
|
specification_version: 4
|
336
404
|
summary: Conjur User Interface Plugin
|
@@ -340,9 +408,3 @@ test_files:
|
|
340
408
|
- features/support/env.rb
|
341
409
|
- features/support/hooks.rb
|
342
410
|
- features/support/world.rb
|
343
|
-
- spec/javascripts/helpers/.gitkeep
|
344
|
-
- spec/javascripts/support/jasmine.yml
|
345
|
-
- spec/javascripts/support/jasmine_helper.rb
|
346
|
-
- spec/javascripts/support/run.html.erb
|
347
|
-
- spec/javascripts/views/AuditSpec.js
|
348
|
-
- spec/javascripts/views/AuditSpec.ls
|