Merge Boundary UI OSS branch 'main' at commit 73be8268

This commit is contained in:
github-team-secure-boundary committed 2023-01-09 18:41:55 +00:00
commit 3d32811cbe
4 files changed
+13

No files matched your search

@@ -60,4 +60,10 @@ export default class GeneratedTargetModel extends BaseModel {
description: 'Current version number of this resource.',
})
version;
@attr('string', {
description:
'An IP address or DNS name for the session to connect to. Cannot be used in conjunction with host sources.',
})
address;
}
+1
View File
@@ -94,6 +94,7 @@ export default function (server) {
server.createList('host-catalog', 8, { scope }, 'withChildren');
server.createList('credential-store', 3, { scope }, 'withAssociations');
server.createList('target', 2, { scope }, 'withAssociations');
server.create('target', { scope, address: '0.0.0.0' });
// Sessions have target data. Create it after targets.
server.createList('session', 4, { scope }, 'withAssociations');
// Create IAM resources for project
@@ -28,6 +28,7 @@ module('Unit | Serializer | target', function (hooks) {
default_port: 1234,
version: 1,
type: TYPE_TARGET_TCP,
address: '0.0.0.0',
});
const snapshot = record._createSnapshot();
snapshot.adapterOptions = {};
@@ -44,6 +45,7 @@ module('Unit | Serializer | target', function (hooks) {
attributes: {
default_port: 1234,
},
address: '0.0.0.0',
});
});
@@ -146,6 +148,7 @@ module('Unit | Serializer | target', function (hooks) {
attributes: {
default_port: 1234,
},
address: null,
});
});
+3
View File
@@ -16,6 +16,7 @@ const featureEditions = {
'target-worker-filters-v2': false,
'target-worker-filters-v2-ingress': false,
'target-worker-filters-v2-hcp': false,
'target-network-address': false,
},
};
featureEditions.enterprise = {
@@ -147,6 +148,7 @@ module.exports = function (environment) {
ENV.featureFlags['ssh-target'] = true;
ENV.featureFlags['vault-worker-filter'] = true;
ENV.featureFlags['target-worker-filters-v2'] = true;
ENV.featureFlags['target-network-address'] = true;
}
if (environment === 'test') {
@@ -171,6 +173,7 @@ module.exports = function (environment) {
ENV.featureFlags['ssh-target'] = true;
ENV.featureFlags['vault-worker-filter'] = true;
ENV.featureFlags['target-worker-filters-v2'] = true;
ENV.featureFlags['target-network-address'] = true;
}
if (environment === 'production') {