From fc506b0e3b2ceed00e49f7d8f8186d80325cefec Mon Sep 17 00:00:00 2001
From: Nicolas Chaulet
Date: Fri, 18 Oct 2019 09:04:30 -0400
Subject: [PATCH] [Fleet] Expose policy change method from fleet plugins
(#48562)
---
.../plugins/fleet/common/types/domain_data.ts | 16 +
.../fleet/public/pages/error/no_access.tsx | 1 -
.../adapters/framework/adapter_types.ts | 1 +
.../server/adapters/framework/default.ts | 4 +
.../server/adapters/framework/memorize.ts | 6 +-
.../plugins/fleet/server/kibana.index.ts | 17 +-
.../plugins/fleet/server/libs/agent.test.ts | 36 +
.../legacy/plugins/fleet/server/libs/agent.ts | 16 +
.../fleet/server/libs/compose/kibana.ts | 1 +
.../plugins/fleet/server/libs/framework.ts | 4 +
.../legacy/plugins/fleet/server/libs/types.ts | 2 +
.../default.contract.test.slap_snap | 2437 ++++++++---------
.../agents/default.contract.test.ts | 93 +-
.../server/repositories/agents/default.ts | 21 +-
.../server/repositories/agents/in_memory.ts | 17 +-
.../fleet/server/repositories/agents/types.ts | 6 +-
16 files changed, 1359 insertions(+), 1319 deletions(-)
diff --git a/x-pack/legacy/plugins/fleet/common/types/domain_data.ts b/x-pack/legacy/plugins/fleet/common/types/domain_data.ts
index f623d72bea2be..cddff3516077a 100644
--- a/x-pack/legacy/plugins/fleet/common/types/domain_data.ts
+++ b/x-pack/legacy/plugins/fleet/common/types/domain_data.ts
@@ -34,3 +34,19 @@ export interface ConfigurationBlock
export type Agent = t.TypeOf;
export type AgentAction = t.TypeOf;
export type AgentEvent = t.TypeOf;
+
+export type PolicyUpdatedEvent =
+ | {
+ type: 'created';
+ policyId: string;
+ payload: any;
+ }
+ | {
+ type: 'updated';
+ policyId: string;
+ payload: any;
+ }
+ | {
+ type: 'deleted';
+ policyId: string;
+ };
diff --git a/x-pack/legacy/plugins/fleet/public/pages/error/no_access.tsx b/x-pack/legacy/plugins/fleet/public/pages/error/no_access.tsx
index 3b18032059b85..9115532d5cfd3 100644
--- a/x-pack/legacy/plugins/fleet/public/pages/error/no_access.tsx
+++ b/x-pack/legacy/plugins/fleet/public/pages/error/no_access.tsx
@@ -21,7 +21,6 @@ export const NoAccessPage = injectI18n(({ intl }) => (
id="xpack.fleet.noAccess.accessDeniedDescription"
defaultMessage="You are not authorized to access Elastic Fleet. To use Elastic Fleet,
you need a user role that contains read or all permissions for this application."
- values={{ elasticFleetRole: '`elastic_admin`' }}
/>
diff --git a/x-pack/legacy/plugins/fleet/server/adapters/framework/adapter_types.ts b/x-pack/legacy/plugins/fleet/server/adapters/framework/adapter_types.ts
index 8a23771267935..1f69534cbe387 100644
--- a/x-pack/legacy/plugins/fleet/server/adapters/framework/adapter_types.ts
+++ b/x-pack/legacy/plugins/fleet/server/adapters/framework/adapter_types.ts
@@ -15,6 +15,7 @@ export interface FrameworkAdapter {
getServerInfo(): {
protocol: string;
};
+ expose(name: string, thing: any): void;
}
export interface FrameworkRequest = any> {
diff --git a/x-pack/legacy/plugins/fleet/server/adapters/framework/default.ts b/x-pack/legacy/plugins/fleet/server/adapters/framework/default.ts
index 8d1492b090bd5..9650689804e69 100644
--- a/x-pack/legacy/plugins/fleet/server/adapters/framework/default.ts
+++ b/x-pack/legacy/plugins/fleet/server/adapters/framework/default.ts
@@ -16,4 +16,8 @@ export class FrameworkAdapter implements FrameworkAdapterType {
public getServerInfo() {
return this.server.info;
}
+
+ public expose(name: string, thing: any) {
+ this.server.expose(name, thing);
+ }
}
diff --git a/x-pack/legacy/plugins/fleet/server/adapters/framework/memorize.ts b/x-pack/legacy/plugins/fleet/server/adapters/framework/memorize.ts
index 4caab244b6e0c..e8a6e7fb70cb9 100644
--- a/x-pack/legacy/plugins/fleet/server/adapters/framework/memorize.ts
+++ b/x-pack/legacy/plugins/fleet/server/adapters/framework/memorize.ts
@@ -10,7 +10,7 @@ import { FrameworkAdapter } from './adapter_types';
export class MemorizeFrameworkAdapter implements FrameworkAdapter {
constructor(private readonly adapter?: FrameworkAdapter) {}
- getSetting(settingPath: string): string {
+ public getSetting(settingPath: string): string {
return Slapshot.memorize('getSetting', () => {
if (!this.adapter) {
throw new Error('an adapter must be provided to run online');
@@ -19,9 +19,11 @@ export class MemorizeFrameworkAdapter implements FrameworkAdapter {
}) as string;
}
- getServerInfo() {
+ public getServerInfo() {
return {
protocol: 'http://',
};
}
+
+ public expose(name: string, thing: any) {}
}
diff --git a/x-pack/legacy/plugins/fleet/server/kibana.index.ts b/x-pack/legacy/plugins/fleet/server/kibana.index.ts
index 23ac7546e90cc..92acae45cff87 100644
--- a/x-pack/legacy/plugins/fleet/server/kibana.index.ts
+++ b/x-pack/legacy/plugins/fleet/server/kibana.index.ts
@@ -6,8 +6,21 @@
import { compose } from './libs/compose/kibana';
import { initRestApi } from './routes/init_api';
+import { FrameworkUser } from './adapters/framework/adapter_types';
+import { PolicyUpdatedEvent } from '../common/types/domain_data';
export const initServerWithKibana = (hapiServer: any) => {
- const libsRequestFactory = compose(hapiServer);
- initRestApi(hapiServer, libsRequestFactory);
+ const libs = compose(hapiServer);
+ initRestApi(hapiServer, libs);
+ // expose methods
+ libs.framework.expose('policyUpdated', async function handlePolicyUpdate(
+ event: PolicyUpdatedEvent,
+ user: FrameworkUser = {
+ kind: 'internal',
+ }
+ ) {
+ if (event.type === 'deleted') {
+ await libs.agents.unenrollForPolicy(user, event.policyId);
+ }
+ });
};
diff --git a/x-pack/legacy/plugins/fleet/server/libs/agent.test.ts b/x-pack/legacy/plugins/fleet/server/libs/agent.test.ts
index 96f9e17e7c611..2594bb00db321 100644
--- a/x-pack/legacy/plugins/fleet/server/libs/agent.test.ts
+++ b/x-pack/legacy/plugins/fleet/server/libs/agent.test.ts
@@ -422,6 +422,42 @@ describe('Agent lib', () => {
});
});
+ describe('unenrollForPolicy', () => {
+ it('should set all the of agents for this policy as inactive', async () => {
+ const token = new TokenLib({} as TokensRepository, {} as FrameworkLib);
+ const agentsRepository = new InMemoryAgentsRepository();
+ const agentEventsRepository = new InMemoryAgentEventsRepository();
+ agentsRepository.agents['agent:1'] = ({
+ id: 'agent:1',
+ local_metadata: { key: 'local1' },
+ user_provided_metadata: { key: 'user1' },
+ actions: [],
+ events: [],
+ active: true,
+ policy_id: 'policy:1',
+ } as unknown) as Agent;
+ agentsRepository.agents['agent:2'] = ({
+ id: 'agent:2',
+ local_metadata: { key: 'local1' },
+ user_provided_metadata: { key: 'user1' },
+ actions: [],
+ events: [],
+ active: true,
+ policy_id: 'policy:1',
+ } as unknown) as Agent;
+ const policy = new PolicyLib({} as PoliciesRepository);
+ const agentLib = new AgentLib(agentsRepository, agentEventsRepository, token, policy);
+
+ await agentLib.unenrollForPolicy(getUser(), 'policy:1');
+
+ const refreshAgent1 = (await agentsRepository.getById(getUser(), 'agent:1')) as Agent;
+ const refreshAgent2 = (await agentsRepository.getById(getUser(), 'agent:2')) as Agent;
+
+ expect(refreshAgent1.active).toBeFalsy();
+ expect(refreshAgent2.active).toBeFalsy();
+ });
+ });
+
describe('addAction', () => {
it('should throw if the agent do not exists', async () => {
const token = new TokenLib({} as TokensRepository, {} as FrameworkLib);
diff --git a/x-pack/legacy/plugins/fleet/server/libs/agent.ts b/x-pack/legacy/plugins/fleet/server/libs/agent.ts
index 38954b101d59e..c8af35a4726c2 100644
--- a/x-pack/legacy/plugins/fleet/server/libs/agent.ts
+++ b/x-pack/legacy/plugins/fleet/server/libs/agent.ts
@@ -86,6 +86,22 @@ export class AgentLib {
return { ...agent, access_token: accessToken };
}
+ public async unenrollForPolicy(user: FrameworkUser, policyId: string) {
+ let hasMore = true;
+ let page = 1;
+ while (hasMore) {
+ const { agents } = await this.agentsRepository.listForPolicy(user, policyId, {
+ page: page++,
+ perPage: 100,
+ });
+
+ if (agents.length === 0) {
+ hasMore = false;
+ }
+ await this.unenroll(user, agents.map(a => a.id));
+ }
+ }
+
public async unenroll(
user: FrameworkUser,
ids: string[]
diff --git a/x-pack/legacy/plugins/fleet/server/libs/compose/kibana.ts b/x-pack/legacy/plugins/fleet/server/libs/compose/kibana.ts
index 890e215889097..503b846c09541 100644
--- a/x-pack/legacy/plugins/fleet/server/libs/compose/kibana.ts
+++ b/x-pack/legacy/plugins/fleet/server/libs/compose/kibana.ts
@@ -51,5 +51,6 @@ export function compose(server: any): FleetServerLib {
policies,
artifacts,
install,
+ framework,
};
}
diff --git a/x-pack/legacy/plugins/fleet/server/libs/framework.ts b/x-pack/legacy/plugins/fleet/server/libs/framework.ts
index b625776d68aca..e270496dcbf9f 100644
--- a/x-pack/legacy/plugins/fleet/server/libs/framework.ts
+++ b/x-pack/legacy/plugins/fleet/server/libs/framework.ts
@@ -13,6 +13,10 @@ export class FrameworkLib {
return this.adapter.getSetting(`xpack.fleet.${setting}`);
}
+ public expose(key: string, method: any) {
+ this.adapter.expose(key, method);
+ }
+
public getServerConfig() {
return {
host: this.adapter.getSetting('server.host'),
diff --git a/x-pack/legacy/plugins/fleet/server/libs/types.ts b/x-pack/legacy/plugins/fleet/server/libs/types.ts
index 5242f1c1444de..f06e0e38d539c 100644
--- a/x-pack/legacy/plugins/fleet/server/libs/types.ts
+++ b/x-pack/legacy/plugins/fleet/server/libs/types.ts
@@ -9,6 +9,7 @@ import { TokenLib } from './token';
import { PolicyLib } from './policy';
import { ArtifactLib } from './artifact';
import { InstallLib } from './install';
+import { FrameworkLib } from './framework';
export interface FleetServerLib {
agents: AgentLib;
@@ -16,4 +17,5 @@ export interface FleetServerLib {
policies: PolicyLib;
artifacts: ArtifactLib;
install: InstallLib;
+ framework: FrameworkLib;
}
diff --git a/x-pack/legacy/plugins/fleet/server/repositories/agents/__memorize_snapshots__/default.contract.test.slap_snap b/x-pack/legacy/plugins/fleet/server/repositories/agents/__memorize_snapshots__/default.contract.test.slap_snap
index 1c56984947caf..94a5e80207481 100644
--- a/x-pack/legacy/plugins/fleet/server/repositories/agents/__memorize_snapshots__/default.contract.test.slap_snap
+++ b/x-pack/legacy/plugins/fleet/server/repositories/agents/__memorize_snapshots__/default.contract.test.slap_snap
@@ -2,7 +2,7 @@
exports['AgentsRepository create should create a new agent - create:agents (1)'] = {
"results": {
"type": "agents",
- "id": "4c27c600-f06c-11e9-bc41-371a72358a1e",
+ "id": "97294be0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": false,
@@ -16,8 +16,8 @@ exports['AgentsRepository create should create a new agent - create:agents (1)']
"actions": []
},
"references": [],
- "updated_at": "2019-10-16T23:25:53.632Z",
- "version": "WzMxMjUsMV0="
+ "updated_at": "2019-10-17T17:36:02.974Z",
+ "version": "WzIsMV0="
}
}
@@ -25,101 +25,11 @@ exports['AgentsRepository create should create a new agent - find:"agents" (2)']
"results": {
"page": 1,
"per_page": 1000,
- "total": 6,
+ "total": 1,
"saved_objects": [
{
"type": "agents",
- "id": "fc9e9910-f06b-11e9-b493-53df2b5ceeb9",
- "attributes": {
- "shared_id": "agent0",
- "active": true,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "PERMANENT",
- "version": "1",
- "local_metadata": "{\"host\":\"test.fr\"}",
- "user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-07T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:23:40.193Z",
- "version": "WzMwNTgsMV0="
- },
- {
- "type": "agents",
- "id": "fdd2ac40-f06b-11e9-b493-53df2b5ceeb9",
- "attributes": {
- "shared_id": "agent2",
- "active": true,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "PERMANENT",
- "version": "1",
- "local_metadata": "{\"host\":\"test.fr\"}",
- "user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-09T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:23:42.212Z",
- "version": "WzMwNjAsMV0="
- },
- {
- "type": "agents",
- "id": "fd3b9c60-f06b-11e9-b493-53df2b5ceeb9",
- "attributes": {
- "shared_id": "agent1",
- "active": true,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "PERMANENT",
- "version": "1",
- "local_metadata": "{\"host\":\"test.fr\"}",
- "user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-08T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:23:41.222Z",
- "version": "WzMwNTksMV0="
- },
- {
- "type": "agents",
- "id": "fe6af4a0-f06b-11e9-b493-53df2b5ceeb9",
- "attributes": {
- "shared_id": "agent3",
- "active": true,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "PERMANENT",
- "version": "1",
- "local_metadata": "{\"host\":\"test.fr\"}",
- "user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-10T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:23:43.210Z",
- "version": "WzMwNjEsMV0="
- },
- {
- "type": "agents",
- "id": "ff084610-f06b-11e9-b493-53df2b5ceeb9",
- "attributes": {
- "shared_id": "agent4",
- "active": true,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "PERMANENT",
- "version": "1",
- "local_metadata": "{\"host\":\"test.fr\"}",
- "user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-11T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:23:44.241Z",
- "version": "WzMwNjIsMV0="
- },
- {
- "type": "agents",
- "id": "4c27c600-f06c-11e9-bc41-371a72358a1e",
+ "id": "97294be0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": false,
@@ -133,34 +43,14 @@ exports['AgentsRepository create should create a new agent - find:"agents" (2)']
"actions": []
},
"references": [],
- "updated_at": "2019-10-16T23:25:53.632Z",
- "version": "WzMxMjUsMV0="
+ "updated_at": "2019-10-17T17:36:02.974Z",
+ "version": "WzIsMV0="
}
]
}
}
-exports['AgentsRepository create should create a new agent - delete:agents:fc9e9910-f06b-11e9-b493-53df2b5ceeb9:{} (3)'] = {
- "results": {}
-}
-
-exports['AgentsRepository create should create a new agent - delete:agents:fdd2ac40-f06b-11e9-b493-53df2b5ceeb9:{} (4)'] = {
- "results": {}
-}
-
-exports['AgentsRepository create should create a new agent - delete:agents:fd3b9c60-f06b-11e9-b493-53df2b5ceeb9:{} (5)'] = {
- "results": {}
-}
-
-exports['AgentsRepository create should create a new agent - delete:agents:fe6af4a0-f06b-11e9-b493-53df2b5ceeb9:{} (6)'] = {
- "results": {}
-}
-
-exports['AgentsRepository create should create a new agent - delete:agents:ff084610-f06b-11e9-b493-53df2b5ceeb9:{} (7)'] = {
- "results": {}
-}
-
-exports['AgentsRepository create should create a new agent - delete:agents:4c27c600-f06c-11e9-bc41-371a72358a1e:{} (8)'] = {
+exports['AgentsRepository create should create a new agent - delete:agents:97294be0-f104-11e9-9e96-810494679327:{} (3)'] = {
"results": {}
}
@@ -181,8 +71,8 @@ exports['AgentsRepository create should create a new agent with the specified id
"actions": []
},
"references": [],
- "updated_at": "2019-10-16T23:26:00.254Z",
- "version": "WzMxMzIsMV0="
+ "updated_at": "2019-10-17T17:36:04.735Z",
+ "version": "WzUsMV0="
}
}
@@ -208,8 +98,8 @@ exports['AgentsRepository create should create a new agent with the specified id
"actions": []
},
"references": [],
- "updated_at": "2019-10-16T23:26:00.254Z",
- "version": "WzMxMzIsMV0="
+ "updated_at": "2019-10-17T17:36:04.735Z",
+ "version": "WzUsMV0="
}
]
}
@@ -236,8 +126,8 @@ exports['AgentsRepository create should allow to create a new agent with the sam
"actions": []
},
"references": [],
- "updated_at": "2019-10-16T23:26:02.280Z",
- "version": "WzMxMzQsMV0="
+ "updated_at": "2019-10-17T17:36:06.773Z",
+ "version": "WzcsMV0="
}
}
@@ -258,8 +148,8 @@ exports['AgentsRepository create should allow to create a new agent with the sam
"actions": []
},
"references": [],
- "updated_at": "2019-10-16T23:26:03.297Z",
- "version": "WzMxMzUsMV0="
+ "updated_at": "2019-10-17T17:36:07.793Z",
+ "version": "WzgsMV0="
}
}
@@ -285,8 +175,8 @@ exports['AgentsRepository create should allow to create a new agent with the sam
"actions": []
},
"references": [],
- "updated_at": "2019-10-16T23:26:03.297Z",
- "version": "WzMxMzUsMV0="
+ "updated_at": "2019-10-17T17:36:07.793Z",
+ "version": "WzgsMV0="
}
]
}
@@ -299,7 +189,7 @@ exports['AgentsRepository create should allow to create a new agent with the sam
exports['AgentsRepository create should allow to create a new agent with the same id two time if override is true - create:agents (5)'] = {
"results": {
"type": "agents",
- "id": "531f5f90-f06c-11e9-bc41-371a72358a1e",
+ "id": "9b3e37e0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": false,
@@ -312,29 +202,29 @@ exports['AgentsRepository create should allow to create a new agent with the sam
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:05.321Z",
- "version": "WzMxMzcsMV0="
+ "updated_at": "2019-10-17T17:36:09.822Z",
+ "version": "WzEwLDFd"
}
}
-exports['AgentsRepository update should allow to update an agent - get:agents:531f5f90-f06c-11e9-bc41-371a72358a1e:{"active":true}:{} (1)'] = {
+exports['AgentsRepository update should allow to update an agent - get:agents:9b3e37e0-f104-11e9-9e96-810494679327:{"active":true}:{} (1)'] = {
"results": {
- "id": "531f5f90-f06c-11e9-bc41-371a72358a1e",
+ "id": "9b3e37e0-f104-11e9-9e96-810494679327",
"type": "agents",
- "updated_at": "2019-10-16T23:26:06.350Z",
- "version": "WzMxMzgsMV0=",
+ "updated_at": "2019-10-17T17:36:10.843Z",
+ "version": "WzExLDFd",
"attributes": {
"active": true
}
}
}
-exports['AgentsRepository update should allow to update an agent - get:agents:531f5f90-f06c-11e9-bc41-371a72358a1e:{} (2)'] = {
+exports['AgentsRepository update should allow to update an agent - get:agents:9b3e37e0-f104-11e9-9e96-810494679327:{} (2)'] = {
"results": {
- "id": "531f5f90-f06c-11e9-bc41-371a72358a1e",
+ "id": "9b3e37e0-f104-11e9-9e96-810494679327",
"type": "agents",
- "updated_at": "2019-10-16T23:26:06.350Z",
- "version": "WzMxMzgsMV0=",
+ "updated_at": "2019-10-17T17:36:10.843Z",
+ "version": "WzExLDFd",
"attributes": {
"shared_id": "agent1",
"active": true,
@@ -358,7 +248,7 @@ exports['AgentsRepository update should allow to update an agent - find:"agents"
"saved_objects": [
{
"type": "agents",
- "id": "531f5f90-f06c-11e9-bc41-371a72358a1e",
+ "id": "9b3e37e0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": true,
@@ -371,21 +261,21 @@ exports['AgentsRepository update should allow to update an agent - find:"agents"
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:06.350Z",
- "version": "WzMxMzgsMV0="
+ "updated_at": "2019-10-17T17:36:10.843Z",
+ "version": "WzExLDFd"
}
]
}
}
-exports['AgentsRepository update should allow to update an agent - delete:agents:531f5f90-f06c-11e9-bc41-371a72358a1e:{} (4)'] = {
+exports['AgentsRepository update should allow to update an agent - delete:agents:9b3e37e0-f104-11e9-9e96-810494679327:{} (4)'] = {
"results": {}
}
exports['AgentsRepository update should allow to update an agent - create:agents (5)'] = {
"results": {
"type": "agents",
- "id": "54f1d5a0-f06c-11e9-bc41-371a72358a1e",
+ "id": "9d114a30-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": false,
@@ -398,16 +288,16 @@ exports['AgentsRepository update should allow to update an agent - create:agents
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:08.377Z",
- "version": "WzMxNDAsMV0="
+ "updated_at": "2019-10-17T17:36:12.882Z",
+ "version": "WzEzLDFd"
}
}
-exports['AgentsRepository delete should delete an agent - delete:agents:54f1d5a0-f06c-11e9-bc41-371a72358a1e:{} (1)'] = {
+exports['AgentsRepository delete should delete an agent - delete:agents:9d114a30-f104-11e9-9e96-810494679327:{} (1)'] = {
"results": {}
}
-exports['AgentsRepository delete should delete an agent - get:agents:54f1d5a0-f06c-11e9-bc41-371a72358a1e:{} (2)'] = {
+exports['AgentsRepository delete should delete an agent - get:agents:9d114a30-f104-11e9-9e96-810494679327:{} (2)'] = {
"results": null
}
@@ -420,152 +310,10 @@ exports['AgentsRepository delete should delete an agent - find:"agents" (3)'] =
}
}
-exports['AgentsRepository delete should delete an agent - create:agents (4)'] = {
- "results": {
- "type": "agents",
- "id": "5627bd90-f06c-11e9-bc41-371a72358a1e",
- "attributes": {
- "shared_id": "agent1",
- "active": false,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "EPHEMERAL",
- "version": "1",
- "local_metadata": "{\"host\":\"test.fr\"}",
- "user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-05T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:26:10.409Z",
- "version": "WzMxNDIsMV0="
- }
-}
-
-exports['AgentsRepository delete should delete an agent - create:agents (5)'] = {
- "results": {
- "type": "agents",
- "id": "56c16580-f06c-11e9-bc41-371a72358a1e",
- "attributes": {
- "shared_id": "agent2",
- "active": false,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "EPHEMERAL",
- "version": "1",
- "local_metadata": "{\"host\":\"elastic.co\"}",
- "user_provided_metadata": "{\"color\":\"blue\"}",
- "enrolled_at": "2019-08-05T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:26:11.415Z",
- "version": "WzMxNDMsMV0="
- }
-}
-
-exports['AgentsRepository findEphemeralByPolicyId should allow to find agent by policy id - find:"agents" (1)'] = {
- "results": {
- "page": 1,
- "per_page": 20,
- "total": 2,
- "saved_objects": [
- {
- "type": "agents",
- "id": "5627bd90-f06c-11e9-bc41-371a72358a1e",
- "attributes": {
- "shared_id": "agent1",
- "active": false,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "EPHEMERAL",
- "version": "1",
- "local_metadata": "{\"host\":\"test.fr\"}",
- "user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-05T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:26:10.409Z",
- "version": "WzMxNDIsMV0="
- },
- {
- "type": "agents",
- "id": "56c16580-f06c-11e9-bc41-371a72358a1e",
- "attributes": {
- "shared_id": "agent2",
- "active": false,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "EPHEMERAL",
- "version": "1",
- "local_metadata": "{\"host\":\"elastic.co\"}",
- "user_provided_metadata": "{\"color\":\"blue\"}",
- "enrolled_at": "2019-08-05T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:26:11.415Z",
- "version": "WzMxNDMsMV0="
- }
- ]
- }
-}
-
-exports['AgentsRepository findEphemeralByPolicyId should allow to find agent by policy id - find:"agents" (2)'] = {
- "results": {
- "page": 1,
- "per_page": 1000,
- "total": 2,
- "saved_objects": [
- {
- "type": "agents",
- "id": "5627bd90-f06c-11e9-bc41-371a72358a1e",
- "attributes": {
- "shared_id": "agent1",
- "active": false,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "EPHEMERAL",
- "version": "1",
- "local_metadata": "{\"host\":\"test.fr\"}",
- "user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-05T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:26:10.409Z",
- "version": "WzMxNDIsMV0="
- },
- {
- "type": "agents",
- "id": "56c16580-f06c-11e9-bc41-371a72358a1e",
- "attributes": {
- "shared_id": "agent2",
- "active": false,
- "access_token": "TOKEN_1",
- "policy_id": "policy_id_1",
- "type": "EPHEMERAL",
- "version": "1",
- "local_metadata": "{\"host\":\"elastic.co\"}",
- "user_provided_metadata": "{\"color\":\"blue\"}",
- "enrolled_at": "2019-08-05T19:35:14.861Z"
- },
- "references": [],
- "updated_at": "2019-10-16T23:26:11.415Z",
- "version": "WzMxNDMsMV0="
- }
- ]
- }
-}
-
-exports['AgentsRepository findEphemeralByPolicyId should allow to find agent by policy id - delete:agents:5627bd90-f06c-11e9-bc41-371a72358a1e:{} (3)'] = {
- "results": {}
-}
-
-exports['AgentsRepository findEphemeralByPolicyId should allow to find agent by policy id - delete:agents:56c16580-f06c-11e9-bc41-371a72358a1e:{} (4)'] = {
- "results": {}
-}
-
exports['AgentsRepository list should list all active agents - create:agents (1)'] = {
"results": {
"type": "agents",
- "id": "58916a90-f06c-11e9-bc41-371a72358a1e",
+ "id": "9e49ca30-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent0",
"active": true,
@@ -578,15 +326,15 @@ exports['AgentsRepository list should list all active agents - create:agents (1)
"enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:14.457Z",
- "version": "WzMxNDYsMV0="
+ "updated_at": "2019-10-17T17:36:14.931Z",
+ "version": "WzE1LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (2)'] = {
"results": {
"type": "agents",
- "id": "592daa90-f06c-11e9-bc41-371a72358a1e",
+ "id": "9ee260b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": true,
@@ -599,15 +347,15 @@ exports['AgentsRepository list should list all active agents - create:agents (2)
"enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:15.480Z",
- "version": "WzMxNDcsMV0="
+ "updated_at": "2019-10-17T17:36:15.931Z",
+ "version": "WzE2LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (3)'] = {
"results": {
"type": "agents",
- "id": "59c88b00-f06c-11e9-bc41-371a72358a1e",
+ "id": "9f802750-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": true,
@@ -620,15 +368,15 @@ exports['AgentsRepository list should list all active agents - create:agents (3)
"enrolled_at": "2019-08-09T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:16.496Z",
- "version": "WzMxNDgsMV0="
+ "updated_at": "2019-10-17T17:36:16.965Z",
+ "version": "WzE3LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (4)'] = {
"results": {
"type": "agents",
- "id": "5a639280-f06c-11e9-bc41-371a72358a1e",
+ "id": "a01b2ed0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent3",
"active": true,
@@ -641,15 +389,15 @@ exports['AgentsRepository list should list all active agents - create:agents (4)
"enrolled_at": "2019-08-10T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:17.512Z",
- "version": "WzMxNDksMV0="
+ "updated_at": "2019-10-17T17:36:17.980Z",
+ "version": "WzE4LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (5)'] = {
"results": {
"type": "agents",
- "id": "5afe72f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a0b60f40-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent4",
"active": true,
@@ -662,15 +410,15 @@ exports['AgentsRepository list should list all active agents - create:agents (5)
"enrolled_at": "2019-08-11T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:18.527Z",
- "version": "WzMxNTAsMV0="
+ "updated_at": "2019-10-17T17:36:18.996Z",
+ "version": "WzE5LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (6)'] = {
"results": {
"type": "agents",
- "id": "5b98b720-f06c-11e9-bc41-371a72358a1e",
+ "id": "a151b300-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent5",
"active": true,
@@ -683,15 +431,15 @@ exports['AgentsRepository list should list all active agents - create:agents (6)
"enrolled_at": "2019-08-12T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:19.538Z",
- "version": "WzMxNTEsMV0="
+ "updated_at": "2019-10-17T17:36:20.016Z",
+ "version": "WzIwLDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (7)'] = {
"results": {
"type": "agents",
- "id": "5c32fb50-f06c-11e9-bc41-371a72358a1e",
+ "id": "a1ebd020-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent6",
"active": true,
@@ -704,15 +452,15 @@ exports['AgentsRepository list should list all active agents - create:agents (7)
"enrolled_at": "2019-08-13T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:20.549Z",
- "version": "WzMxNTIsMV0="
+ "updated_at": "2019-10-17T17:36:21.026Z",
+ "version": "WzIxLDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (8)'] = {
"results": {
"type": "agents",
- "id": "5ccd6690-f06c-11e9-bc41-371a72358a1e",
+ "id": "a285ed40-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent7",
"active": true,
@@ -725,15 +473,15 @@ exports['AgentsRepository list should list all active agents - create:agents (8)
"enrolled_at": "2019-08-14T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:21.561Z",
- "version": "WzMxNTMsMV0="
+ "updated_at": "2019-10-17T17:36:22.036Z",
+ "version": "WzIyLDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (9)'] = {
"results": {
"type": "agents",
- "id": "5d67f8e0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a3238cd0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent8",
"active": true,
@@ -746,15 +494,15 @@ exports['AgentsRepository list should list all active agents - create:agents (9)
"enrolled_at": "2019-08-15T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:22.574Z",
- "version": "WzMxNTQsMV0="
+ "updated_at": "2019-10-17T17:36:23.069Z",
+ "version": "WzIzLDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (10)'] = {
"results": {
"type": "agents",
- "id": "5e01eef0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a3bdd100-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent9",
"active": true,
@@ -767,15 +515,15 @@ exports['AgentsRepository list should list all active agents - create:agents (10
"enrolled_at": "2019-08-16T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:23.583Z",
- "version": "WzMxNTUsMV0="
+ "updated_at": "2019-10-17T17:36:24.080Z",
+ "version": "WzI0LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (11)'] = {
"results": {
"type": "agents",
- "id": "5e9f8e80-f06c-11e9-bc41-371a72358a1e",
+ "id": "a458d880-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent10",
"active": true,
@@ -788,15 +536,15 @@ exports['AgentsRepository list should list all active agents - create:agents (11
"enrolled_at": "2019-08-17T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:24.616Z",
- "version": "WzMxNTYsMV0="
+ "updated_at": "2019-10-17T17:36:25.096Z",
+ "version": "WzI1LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (12)'] = {
"results": {
"type": "agents",
- "id": "5f3a20d0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a4f343c0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent11",
"active": true,
@@ -809,15 +557,15 @@ exports['AgentsRepository list should list all active agents - create:agents (12
"enrolled_at": "2019-08-18T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:25.628Z",
- "version": "WzMxNTcsMV0="
+ "updated_at": "2019-10-17T17:36:26.108Z",
+ "version": "WzI2LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (13)'] = {
"results": {
"type": "agents",
- "id": "5fd52850-f06c-11e9-bc41-371a72358a1e",
+ "id": "a58c7680-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent12",
"active": true,
@@ -830,15 +578,15 @@ exports['AgentsRepository list should list all active agents - create:agents (13
"enrolled_at": "2019-08-19T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:26.645Z",
- "version": "WzMxNTgsMV0="
+ "updated_at": "2019-10-17T17:36:27.112Z",
+ "version": "WzI3LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (14)'] = {
"results": {
"type": "agents",
- "id": "606fbaa0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a628dd90-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent13",
"active": true,
@@ -851,15 +599,15 @@ exports['AgentsRepository list should list all active agents - create:agents (14
"enrolled_at": "2019-08-20T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:27.658Z",
- "version": "WzMxNTksMV0="
+ "updated_at": "2019-10-17T17:36:28.137Z",
+ "version": "WzI4LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (15)'] = {
"results": {
"type": "agents",
- "id": "610ac220-f06c-11e9-bc41-371a72358a1e",
+ "id": "a6c396f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent14",
"active": true,
@@ -872,15 +620,15 @@ exports['AgentsRepository list should list all active agents - create:agents (15
"enrolled_at": "2019-08-21T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:28.674Z",
- "version": "WzMxNjAsMV0="
+ "updated_at": "2019-10-17T17:36:29.151Z",
+ "version": "WzI5LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (16)'] = {
"results": {
"type": "agents",
- "id": "61a55470-f06c-11e9-bc41-371a72358a1e",
+ "id": "a75f88d0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent15",
"active": true,
@@ -893,15 +641,15 @@ exports['AgentsRepository list should list all active agents - create:agents (16
"enrolled_at": "2019-08-22T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:29.686Z",
- "version": "WzMxNjEsMV0="
+ "updated_at": "2019-10-17T17:36:30.173Z",
+ "version": "WzMwLDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (17)'] = {
"results": {
"type": "agents",
- "id": "62414650-f06c-11e9-bc41-371a72358a1e",
+ "id": "a7f84660-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent16",
"active": true,
@@ -914,15 +662,15 @@ exports['AgentsRepository list should list all active agents - create:agents (17
"enrolled_at": "2019-08-23T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:30.709Z",
- "version": "WzMxNjIsMV0="
+ "updated_at": "2019-10-17T17:36:31.174Z",
+ "version": "WzMxLDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (18)'] = {
"results": {
"type": "agents",
- "id": "62db3c60-f06c-11e9-bc41-371a72358a1e",
+ "id": "a89570c0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent17",
"active": true,
@@ -935,15 +683,15 @@ exports['AgentsRepository list should list all active agents - create:agents (18
"enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:31.718Z",
- "version": "WzMxNjMsMV0="
+ "updated_at": "2019-10-17T17:36:32.204Z",
+ "version": "WzMyLDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (19)'] = {
"results": {
"type": "agents",
- "id": "63758090-f06c-11e9-bc41-371a72358a1e",
+ "id": "a9311480-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent18",
"active": true,
@@ -956,15 +704,15 @@ exports['AgentsRepository list should list all active agents - create:agents (19
"enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:32.729Z",
- "version": "WzMxNjQsMV0="
+ "updated_at": "2019-10-17T17:36:33.224Z",
+ "version": "WzMzLDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (20)'] = {
"results": {
"type": "agents",
- "id": "641235c0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a9cbf4f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent19",
"active": true,
@@ -977,15 +725,15 @@ exports['AgentsRepository list should list all active agents - create:agents (20
"enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:33.756Z",
- "version": "WzMxNjUsMV0="
+ "updated_at": "2019-10-17T17:36:34.239Z",
+ "version": "WzM0LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (21)'] = {
"results": {
"type": "agents",
- "id": "64ac04c0-f06c-11e9-bc41-371a72358a1e",
+ "id": "aa668740-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_1",
"active": false,
@@ -998,15 +746,15 @@ exports['AgentsRepository list should list all active agents - create:agents (21
"enrolled_at": "2019-11-13T20:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:34.764Z",
- "version": "WzMxNjYsMV0="
+ "updated_at": "2019-10-17T17:36:35.252Z",
+ "version": "WzM1LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (22)'] = {
"results": {
"type": "agents",
- "id": "6547f6a0-f06c-11e9-bc41-371a72358a1e",
+ "id": "ab0167b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_2",
"active": true,
@@ -1016,19 +764,19 @@ exports['AgentsRepository list should list all active agents - create:agents (22
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-14T23:26:14.455Z",
+ "last_checkin": "2019-10-15T17:36:14.930Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:35.786Z",
- "version": "WzMxNjcsMV0="
+ "updated_at": "2019-10-17T17:36:36.267Z",
+ "version": "WzM2LDFd"
}
}
exports['AgentsRepository list should list all active agents - create:agents (23)'] = {
"results": {
"type": "agents",
- "id": "65e2fe20-f06c-11e9-bc41-371a72358a1e",
+ "id": "ab9c2110-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -1038,12 +786,12 @@ exports['AgentsRepository list should list all active agents - create:agents (23
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:26:14.454Z",
+ "last_checkin": "2019-10-17T17:36:14.929Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:36.802Z",
- "version": "WzMxNjgsMV0="
+ "updated_at": "2019-10-17T17:36:37.281Z",
+ "version": "WzM3LDFd"
}
}
@@ -1055,7 +803,7 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"saved_objects": [
{
"type": "agents",
- "id": "641235c0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a9cbf4f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent19",
"active": true,
@@ -1068,12 +816,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:33.756Z",
- "version": "WzMxNjUsMV0="
+ "updated_at": "2019-10-17T17:36:34.239Z",
+ "version": "WzM0LDFd"
},
{
"type": "agents",
- "id": "63758090-f06c-11e9-bc41-371a72358a1e",
+ "id": "a9311480-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent18",
"active": true,
@@ -1086,12 +834,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:32.729Z",
- "version": "WzMxNjQsMV0="
+ "updated_at": "2019-10-17T17:36:33.224Z",
+ "version": "WzMzLDFd"
},
{
"type": "agents",
- "id": "62db3c60-f06c-11e9-bc41-371a72358a1e",
+ "id": "a89570c0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent17",
"active": true,
@@ -1104,12 +852,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:31.718Z",
- "version": "WzMxNjMsMV0="
+ "updated_at": "2019-10-17T17:36:32.204Z",
+ "version": "WzMyLDFd"
},
{
"type": "agents",
- "id": "62414650-f06c-11e9-bc41-371a72358a1e",
+ "id": "a7f84660-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent16",
"active": true,
@@ -1122,12 +870,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-23T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:30.709Z",
- "version": "WzMxNjIsMV0="
+ "updated_at": "2019-10-17T17:36:31.174Z",
+ "version": "WzMxLDFd"
},
{
"type": "agents",
- "id": "61a55470-f06c-11e9-bc41-371a72358a1e",
+ "id": "a75f88d0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent15",
"active": true,
@@ -1140,12 +888,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-22T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:29.686Z",
- "version": "WzMxNjEsMV0="
+ "updated_at": "2019-10-17T17:36:30.173Z",
+ "version": "WzMwLDFd"
},
{
"type": "agents",
- "id": "610ac220-f06c-11e9-bc41-371a72358a1e",
+ "id": "a6c396f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent14",
"active": true,
@@ -1158,12 +906,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-21T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:28.674Z",
- "version": "WzMxNjAsMV0="
+ "updated_at": "2019-10-17T17:36:29.151Z",
+ "version": "WzI5LDFd"
},
{
"type": "agents",
- "id": "606fbaa0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a628dd90-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent13",
"active": true,
@@ -1176,12 +924,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-20T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:27.658Z",
- "version": "WzMxNTksMV0="
+ "updated_at": "2019-10-17T17:36:28.137Z",
+ "version": "WzI4LDFd"
},
{
"type": "agents",
- "id": "5fd52850-f06c-11e9-bc41-371a72358a1e",
+ "id": "a58c7680-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent12",
"active": true,
@@ -1194,12 +942,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-19T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:26.645Z",
- "version": "WzMxNTgsMV0="
+ "updated_at": "2019-10-17T17:36:27.112Z",
+ "version": "WzI3LDFd"
},
{
"type": "agents",
- "id": "5f3a20d0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a4f343c0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent11",
"active": true,
@@ -1212,12 +960,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-18T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:25.628Z",
- "version": "WzMxNTcsMV0="
+ "updated_at": "2019-10-17T17:36:26.108Z",
+ "version": "WzI2LDFd"
},
{
"type": "agents",
- "id": "5e9f8e80-f06c-11e9-bc41-371a72358a1e",
+ "id": "a458d880-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent10",
"active": true,
@@ -1230,12 +978,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-17T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:24.616Z",
- "version": "WzMxNTYsMV0="
+ "updated_at": "2019-10-17T17:36:25.096Z",
+ "version": "WzI1LDFd"
},
{
"type": "agents",
- "id": "5e01eef0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a3bdd100-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent9",
"active": true,
@@ -1248,12 +996,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-16T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:23.583Z",
- "version": "WzMxNTUsMV0="
+ "updated_at": "2019-10-17T17:36:24.080Z",
+ "version": "WzI0LDFd"
},
{
"type": "agents",
- "id": "5d67f8e0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a3238cd0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent8",
"active": true,
@@ -1266,12 +1014,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-15T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:22.574Z",
- "version": "WzMxNTQsMV0="
+ "updated_at": "2019-10-17T17:36:23.069Z",
+ "version": "WzIzLDFd"
},
{
"type": "agents",
- "id": "5ccd6690-f06c-11e9-bc41-371a72358a1e",
+ "id": "a285ed40-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent7",
"active": true,
@@ -1284,12 +1032,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-14T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:21.561Z",
- "version": "WzMxNTMsMV0="
+ "updated_at": "2019-10-17T17:36:22.036Z",
+ "version": "WzIyLDFd"
},
{
"type": "agents",
- "id": "5c32fb50-f06c-11e9-bc41-371a72358a1e",
+ "id": "a1ebd020-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent6",
"active": true,
@@ -1302,12 +1050,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-13T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:20.549Z",
- "version": "WzMxNTIsMV0="
+ "updated_at": "2019-10-17T17:36:21.026Z",
+ "version": "WzIxLDFd"
},
{
"type": "agents",
- "id": "5b98b720-f06c-11e9-bc41-371a72358a1e",
+ "id": "a151b300-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent5",
"active": true,
@@ -1320,12 +1068,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-12T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:19.538Z",
- "version": "WzMxNTEsMV0="
+ "updated_at": "2019-10-17T17:36:20.016Z",
+ "version": "WzIwLDFd"
},
{
"type": "agents",
- "id": "5afe72f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a0b60f40-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent4",
"active": true,
@@ -1338,12 +1086,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-11T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:18.527Z",
- "version": "WzMxNTAsMV0="
+ "updated_at": "2019-10-17T17:36:18.996Z",
+ "version": "WzE5LDFd"
},
{
"type": "agents",
- "id": "5a639280-f06c-11e9-bc41-371a72358a1e",
+ "id": "a01b2ed0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent3",
"active": true,
@@ -1356,12 +1104,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-10T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:17.512Z",
- "version": "WzMxNDksMV0="
+ "updated_at": "2019-10-17T17:36:17.980Z",
+ "version": "WzE4LDFd"
},
{
"type": "agents",
- "id": "59c88b00-f06c-11e9-bc41-371a72358a1e",
+ "id": "9f802750-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": true,
@@ -1374,12 +1122,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-09T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:16.496Z",
- "version": "WzMxNDgsMV0="
+ "updated_at": "2019-10-17T17:36:16.965Z",
+ "version": "WzE3LDFd"
},
{
"type": "agents",
- "id": "592daa90-f06c-11e9-bc41-371a72358a1e",
+ "id": "9ee260b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": true,
@@ -1392,12 +1140,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:15.480Z",
- "version": "WzMxNDcsMV0="
+ "updated_at": "2019-10-17T17:36:15.931Z",
+ "version": "WzE2LDFd"
},
{
"type": "agents",
- "id": "58916a90-f06c-11e9-bc41-371a72358a1e",
+ "id": "9e49ca30-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent0",
"active": true,
@@ -1410,12 +1158,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:14.457Z",
- "version": "WzMxNDYsMV0="
+ "updated_at": "2019-10-17T17:36:14.931Z",
+ "version": "WzE1LDFd"
},
{
"type": "agents",
- "id": "65e2fe20-f06c-11e9-bc41-371a72358a1e",
+ "id": "ab9c2110-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -1425,12 +1173,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (24
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:26:14.454Z",
+ "last_checkin": "2019-10-17T17:36:14.929Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:36.802Z",
- "version": "WzMxNjgsMV0="
+ "updated_at": "2019-10-17T17:36:37.281Z",
+ "version": "WzM3LDFd"
}
]
}
@@ -1444,7 +1192,7 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"saved_objects": [
{
"type": "agents",
- "id": "59c88b00-f06c-11e9-bc41-371a72358a1e",
+ "id": "9f802750-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": true,
@@ -1457,12 +1205,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"enrolled_at": "2019-08-09T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:16.496Z",
- "version": "WzMxNDgsMV0="
+ "updated_at": "2019-10-17T17:36:16.965Z",
+ "version": "WzE3LDFd"
},
{
"type": "agents",
- "id": "5a639280-f06c-11e9-bc41-371a72358a1e",
+ "id": "a01b2ed0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent3",
"active": true,
@@ -1475,12 +1223,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"enrolled_at": "2019-08-10T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:17.512Z",
- "version": "WzMxNDksMV0="
+ "updated_at": "2019-10-17T17:36:17.980Z",
+ "version": "WzE4LDFd"
},
{
"type": "agents",
- "id": "5afe72f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a0b60f40-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent4",
"active": true,
@@ -1493,12 +1241,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"enrolled_at": "2019-08-11T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:18.527Z",
- "version": "WzMxNTAsMV0="
+ "updated_at": "2019-10-17T17:36:18.996Z",
+ "version": "WzE5LDFd"
},
{
"type": "agents",
- "id": "5b98b720-f06c-11e9-bc41-371a72358a1e",
+ "id": "a151b300-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent5",
"active": true,
@@ -1511,12 +1259,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"enrolled_at": "2019-08-12T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:19.538Z",
- "version": "WzMxNTEsMV0="
+ "updated_at": "2019-10-17T17:36:20.016Z",
+ "version": "WzIwLDFd"
},
{
"type": "agents",
- "id": "5c32fb50-f06c-11e9-bc41-371a72358a1e",
+ "id": "a1ebd020-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent6",
"active": true,
@@ -1529,14 +1277,14 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"enrolled_at": "2019-08-13T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:20.549Z",
- "version": "WzMxNTIsMV0="
+ "updated_at": "2019-10-17T17:36:21.026Z",
+ "version": "WzIxLDFd"
},
{
"type": "agents",
- "id": "5ccd6690-f06c-11e9-bc41-371a72358a1e",
+ "id": "9ee260b0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent7",
+ "shared_id": "agent1",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1544,17 +1292,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-14T19:35:14.861Z"
+ "enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:21.561Z",
- "version": "WzMxNTMsMV0="
+ "updated_at": "2019-10-17T17:36:15.931Z",
+ "version": "WzE2LDFd"
},
{
"type": "agents",
- "id": "5d67f8e0-f06c-11e9-bc41-371a72358a1e",
+ "id": "9e49ca30-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent8",
+ "shared_id": "agent0",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1562,17 +1310,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-15T19:35:14.861Z"
+ "enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:22.574Z",
- "version": "WzMxNTQsMV0="
+ "updated_at": "2019-10-17T17:36:14.931Z",
+ "version": "WzE1LDFd"
},
{
"type": "agents",
- "id": "592daa90-f06c-11e9-bc41-371a72358a1e",
+ "id": "a58c7680-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent1",
+ "shared_id": "agent12",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1580,17 +1328,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-08T19:35:14.861Z"
+ "enrolled_at": "2019-08-19T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:15.480Z",
- "version": "WzMxNDcsMV0="
+ "updated_at": "2019-10-17T17:36:27.112Z",
+ "version": "WzI3LDFd"
},
{
"type": "agents",
- "id": "58916a90-f06c-11e9-bc41-371a72358a1e",
+ "id": "a628dd90-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent0",
+ "shared_id": "agent13",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1598,17 +1346,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-07T19:35:14.861Z"
+ "enrolled_at": "2019-08-20T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:14.457Z",
- "version": "WzMxNDYsMV0="
+ "updated_at": "2019-10-17T17:36:28.137Z",
+ "version": "WzI4LDFd"
},
{
"type": "agents",
- "id": "5e9f8e80-f06c-11e9-bc41-371a72358a1e",
+ "id": "a6c396f0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent10",
+ "shared_id": "agent14",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1616,17 +1364,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-17T19:35:14.861Z"
+ "enrolled_at": "2019-08-21T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:24.616Z",
- "version": "WzMxNTYsMV0="
+ "updated_at": "2019-10-17T17:36:29.151Z",
+ "version": "WzI5LDFd"
},
{
"type": "agents",
- "id": "5fd52850-f06c-11e9-bc41-371a72358a1e",
+ "id": "a75f88d0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent12",
+ "shared_id": "agent15",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1634,17 +1382,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-19T19:35:14.861Z"
+ "enrolled_at": "2019-08-22T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:26.645Z",
- "version": "WzMxNTgsMV0="
+ "updated_at": "2019-10-17T17:36:30.173Z",
+ "version": "WzMwLDFd"
},
{
"type": "agents",
- "id": "606fbaa0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a4f343c0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent13",
+ "shared_id": "agent11",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1652,17 +1400,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-20T19:35:14.861Z"
+ "enrolled_at": "2019-08-18T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:27.658Z",
- "version": "WzMxNTksMV0="
+ "updated_at": "2019-10-17T17:36:26.108Z",
+ "version": "WzI2LDFd"
},
{
"type": "agents",
- "id": "610ac220-f06c-11e9-bc41-371a72358a1e",
+ "id": "a458d880-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent14",
+ "shared_id": "agent10",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1670,17 +1418,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-21T19:35:14.861Z"
+ "enrolled_at": "2019-08-17T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:28.674Z",
- "version": "WzMxNjAsMV0="
+ "updated_at": "2019-10-17T17:36:25.096Z",
+ "version": "WzI1LDFd"
},
{
"type": "agents",
- "id": "61a55470-f06c-11e9-bc41-371a72358a1e",
+ "id": "a285ed40-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent15",
+ "shared_id": "agent7",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1688,17 +1436,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-22T19:35:14.861Z"
+ "enrolled_at": "2019-08-14T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:29.686Z",
- "version": "WzMxNjEsMV0="
+ "updated_at": "2019-10-17T17:36:22.036Z",
+ "version": "WzIyLDFd"
},
{
"type": "agents",
- "id": "62414650-f06c-11e9-bc41-371a72358a1e",
+ "id": "a3238cd0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent16",
+ "shared_id": "agent8",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1706,17 +1454,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-23T19:35:14.861Z"
+ "enrolled_at": "2019-08-15T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:30.709Z",
- "version": "WzMxNjIsMV0="
+ "updated_at": "2019-10-17T17:36:23.069Z",
+ "version": "WzIzLDFd"
},
{
"type": "agents",
- "id": "62db3c60-f06c-11e9-bc41-371a72358a1e",
+ "id": "a3bdd100-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent17",
+ "shared_id": "agent9",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1724,17 +1472,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-24T19:35:14.861Z"
+ "enrolled_at": "2019-08-16T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:31.718Z",
- "version": "WzMxNjMsMV0="
+ "updated_at": "2019-10-17T17:36:24.080Z",
+ "version": "WzI0LDFd"
},
{
"type": "agents",
- "id": "5f3a20d0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a7f84660-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent11",
+ "shared_id": "agent16",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1742,17 +1490,17 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-18T19:35:14.861Z"
+ "enrolled_at": "2019-08-23T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:25.628Z",
- "version": "WzMxNTcsMV0="
+ "updated_at": "2019-10-17T17:36:31.174Z",
+ "version": "WzMxLDFd"
},
{
"type": "agents",
- "id": "5e01eef0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a89570c0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent9",
+ "shared_id": "agent17",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -1760,15 +1508,15 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-16T19:35:14.861Z"
+ "enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:23.583Z",
- "version": "WzMxNTUsMV0="
+ "updated_at": "2019-10-17T17:36:32.204Z",
+ "version": "WzMyLDFd"
},
{
"type": "agents",
- "id": "63758090-f06c-11e9-bc41-371a72358a1e",
+ "id": "a9311480-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent18",
"active": true,
@@ -1781,12 +1529,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:32.729Z",
- "version": "WzMxNjQsMV0="
+ "updated_at": "2019-10-17T17:36:33.224Z",
+ "version": "WzMzLDFd"
},
{
"type": "agents",
- "id": "641235c0-f06c-11e9-bc41-371a72358a1e",
+ "id": "a9cbf4f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent19",
"active": true,
@@ -1799,12 +1547,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:33.756Z",
- "version": "WzMxNjUsMV0="
+ "updated_at": "2019-10-17T17:36:34.239Z",
+ "version": "WzM0LDFd"
},
{
"type": "agents",
- "id": "64ac04c0-f06c-11e9-bc41-371a72358a1e",
+ "id": "aa668740-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_1",
"active": false,
@@ -1817,12 +1565,12 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"enrolled_at": "2019-11-13T20:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:34.764Z",
- "version": "WzMxNjYsMV0="
+ "updated_at": "2019-10-17T17:36:35.252Z",
+ "version": "WzM1LDFd"
},
{
"type": "agents",
- "id": "6547f6a0-f06c-11e9-bc41-371a72358a1e",
+ "id": "ab0167b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_2",
"active": true,
@@ -1832,16 +1580,16 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-14T23:26:14.455Z",
+ "last_checkin": "2019-10-15T17:36:14.930Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:35.786Z",
- "version": "WzMxNjcsMV0="
+ "updated_at": "2019-10-17T17:36:36.267Z",
+ "version": "WzM2LDFd"
},
{
"type": "agents",
- "id": "65e2fe20-f06c-11e9-bc41-371a72358a1e",
+ "id": "ab9c2110-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -1851,113 +1599,113 @@ exports['AgentsRepository list should list all active agents - find:"agents" (25
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:26:14.454Z",
+ "last_checkin": "2019-10-17T17:36:14.929Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:26:36.802Z",
- "version": "WzMxNjgsMV0="
+ "updated_at": "2019-10-17T17:36:37.281Z",
+ "version": "WzM3LDFd"
}
]
}
}
-exports['AgentsRepository list should list all active agents - delete:agents:59c88b00-f06c-11e9-bc41-371a72358a1e:{} (26)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:9f802750-f104-11e9-9e96-810494679327:{} (26)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:5a639280-f06c-11e9-bc41-371a72358a1e:{} (27)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a01b2ed0-f104-11e9-9e96-810494679327:{} (27)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:5afe72f0-f06c-11e9-bc41-371a72358a1e:{} (28)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a0b60f40-f104-11e9-9e96-810494679327:{} (28)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:5b98b720-f06c-11e9-bc41-371a72358a1e:{} (29)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a151b300-f104-11e9-9e96-810494679327:{} (29)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:5c32fb50-f06c-11e9-bc41-371a72358a1e:{} (30)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a1ebd020-f104-11e9-9e96-810494679327:{} (30)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:5ccd6690-f06c-11e9-bc41-371a72358a1e:{} (31)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:9ee260b0-f104-11e9-9e96-810494679327:{} (31)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:5d67f8e0-f06c-11e9-bc41-371a72358a1e:{} (32)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:9e49ca30-f104-11e9-9e96-810494679327:{} (32)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:592daa90-f06c-11e9-bc41-371a72358a1e:{} (33)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a58c7680-f104-11e9-9e96-810494679327:{} (33)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:58916a90-f06c-11e9-bc41-371a72358a1e:{} (34)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a628dd90-f104-11e9-9e96-810494679327:{} (34)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:5e9f8e80-f06c-11e9-bc41-371a72358a1e:{} (35)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a6c396f0-f104-11e9-9e96-810494679327:{} (35)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:5fd52850-f06c-11e9-bc41-371a72358a1e:{} (36)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a75f88d0-f104-11e9-9e96-810494679327:{} (36)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:606fbaa0-f06c-11e9-bc41-371a72358a1e:{} (37)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a4f343c0-f104-11e9-9e96-810494679327:{} (37)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:610ac220-f06c-11e9-bc41-371a72358a1e:{} (38)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a458d880-f104-11e9-9e96-810494679327:{} (38)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:61a55470-f06c-11e9-bc41-371a72358a1e:{} (39)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a285ed40-f104-11e9-9e96-810494679327:{} (39)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:62414650-f06c-11e9-bc41-371a72358a1e:{} (40)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a3238cd0-f104-11e9-9e96-810494679327:{} (40)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:62db3c60-f06c-11e9-bc41-371a72358a1e:{} (41)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a3bdd100-f104-11e9-9e96-810494679327:{} (41)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:5f3a20d0-f06c-11e9-bc41-371a72358a1e:{} (42)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a7f84660-f104-11e9-9e96-810494679327:{} (42)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:5e01eef0-f06c-11e9-bc41-371a72358a1e:{} (43)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a89570c0-f104-11e9-9e96-810494679327:{} (43)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:63758090-f06c-11e9-bc41-371a72358a1e:{} (44)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a9311480-f104-11e9-9e96-810494679327:{} (44)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:641235c0-f06c-11e9-bc41-371a72358a1e:{} (45)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:a9cbf4f0-f104-11e9-9e96-810494679327:{} (45)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:64ac04c0-f06c-11e9-bc41-371a72358a1e:{} (46)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:aa668740-f104-11e9-9e96-810494679327:{} (46)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:6547f6a0-f06c-11e9-bc41-371a72358a1e:{} (47)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:ab0167b0-f104-11e9-9e96-810494679327:{} (47)'] = {
"results": {}
}
-exports['AgentsRepository list should list all active agents - delete:agents:65e2fe20-f06c-11e9-bc41-371a72358a1e:{} (48)'] = {
+exports['AgentsRepository list should list all active agents - delete:agents:ab9c2110-f104-11e9-9e96-810494679327:{} (48)'] = {
"results": {}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (1)'] = {
"results": {
"type": "agents",
- "id": "746b3cf0-f06c-11e9-bc41-371a72358a1e",
+ "id": "ba23c3a0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent0",
"active": true,
@@ -1970,15 +1718,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:01.183Z",
- "version": "WzMxOTIsMV0="
+ "updated_at": "2019-10-17T17:37:01.658Z",
+ "version": "WzYxLDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (2)'] = {
"results": {
"type": "agents",
- "id": "7505cf40-f06c-11e9-bc41-371a72358a1e",
+ "id": "babe55f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": true,
@@ -1991,15 +1739,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:02.196Z",
- "version": "WzMxOTMsMV0="
+ "updated_at": "2019-10-17T17:37:02.671Z",
+ "version": "WzYyLDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (3)'] = {
"results": {
"type": "agents",
- "id": "75a0fdd0-f06c-11e9-bc41-371a72358a1e",
+ "id": "bb57fde0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": true,
@@ -2012,15 +1760,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-09T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:03.213Z",
- "version": "WzMxOTQsMV0="
+ "updated_at": "2019-10-17T17:37:03.678Z",
+ "version": "WzYzLDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (4)'] = {
"results": {
"type": "agents",
- "id": "763c0550-f06c-11e9-bc41-371a72358a1e",
+ "id": "bbf464f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent3",
"active": true,
@@ -2033,15 +1781,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-10T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:04.229Z",
- "version": "WzMxOTUsMV0="
+ "updated_at": "2019-10-17T17:37:04.703Z",
+ "version": "WzY0LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (5)'] = {
"results": {
"type": "agents",
- "id": "76d64980-f06c-11e9-bc41-371a72358a1e",
+ "id": "bc8ef740-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent4",
"active": true,
@@ -2054,15 +1802,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-11T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:05.239Z",
- "version": "WzMxOTYsMV0="
+ "updated_at": "2019-10-17T17:37:05.716Z",
+ "version": "WzY1LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (6)'] = {
"results": {
"type": "agents",
- "id": "777129f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "bd29fec0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent5",
"active": true,
@@ -2075,15 +1823,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-12T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:06.255Z",
- "version": "WzMxOTcsMV0="
+ "updated_at": "2019-10-17T17:37:06.732Z",
+ "version": "WzY2LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (7)'] = {
"results": {
"type": "agents",
- "id": "780bbc40-f06c-11e9-bc41-371a72358a1e",
+ "id": "bdc5c990-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent6",
"active": true,
@@ -2096,15 +1844,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-13T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:07.268Z",
- "version": "WzMxOTgsMV0="
+ "updated_at": "2019-10-17T17:37:07.753Z",
+ "version": "WzY3LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (8)'] = {
"results": {
"type": "agents",
- "id": "78a60070-f06c-11e9-bc41-371a72358a1e",
+ "id": "be60d110-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent7",
"active": true,
@@ -2117,15 +1865,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-14T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:08.279Z",
- "version": "WzMxOTksMV0="
+ "updated_at": "2019-10-17T17:37:08.769Z",
+ "version": "WzY4LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (9)'] = {
"results": {
"type": "agents",
- "id": "79406bb0-f06c-11e9-bc41-371a72358a1e",
+ "id": "befc26b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent8",
"active": true,
@@ -2138,15 +1886,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-15T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:09.291Z",
- "version": "WzMyMDAsMV0="
+ "updated_at": "2019-10-17T17:37:09.787Z",
+ "version": "WzY5LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (10)'] = {
"results": {
"type": "agents",
- "id": "79db7330-f06c-11e9-bc41-371a72358a1e",
+ "id": "bf958080-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent9",
"active": true,
@@ -2159,15 +1907,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-16T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:10.306Z",
- "version": "WzMyMDEsMV0="
+ "updated_at": "2019-10-17T17:37:10.792Z",
+ "version": "WzcwLDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (11)'] = {
"results": {
"type": "agents",
- "id": "7a767ab0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c03012d0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent10",
"active": true,
@@ -2180,15 +1928,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-17T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:11.323Z",
- "version": "WzMyMDIsMV0="
+ "updated_at": "2019-10-17T17:37:11.805Z",
+ "version": "WzcxLDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (12)'] = {
"results": {
"type": "agents",
- "id": "7b10e5f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c0ca2ff0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent11",
"active": true,
@@ -2201,15 +1949,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-18T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:12.334Z",
- "version": "WzMyMDMsMV0="
+ "updated_at": "2019-10-17T17:37:12.815Z",
+ "version": "WzcyLDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (13)'] = {
"results": {
"type": "agents",
- "id": "7ba9ca90-f06c-11e9-bc41-371a72358a1e",
+ "id": "c1642600-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent12",
"active": true,
@@ -2222,15 +1970,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-19T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:13.337Z",
- "version": "WzMyMDQsMV0="
+ "updated_at": "2019-10-17T17:37:13.824Z",
+ "version": "WzczLDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (14)'] = {
"results": {
"type": "agents",
- "id": "7c4658b0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c1fd7fd0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent13",
"active": true,
@@ -2243,15 +1991,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-20T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:14.363Z",
- "version": "WzMyMDUsMV0="
+ "updated_at": "2019-10-17T17:37:14.828Z",
+ "version": "Wzc0LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (15)'] = {
"results": {
"type": "agents",
- "id": "7ce16030-f06c-11e9-bc41-371a72358a1e",
+ "id": "c299bfd0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent14",
"active": true,
@@ -2264,15 +2012,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-21T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:15.379Z",
- "version": "WzMyMDYsMV0="
+ "updated_at": "2019-10-17T17:37:15.853Z",
+ "version": "Wzc1LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (16)'] = {
"results": {
"type": "agents",
- "id": "7d7c40a0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c332f290-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent15",
"active": true,
@@ -2285,15 +2033,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-22T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:16.394Z",
- "version": "WzMyMDcsMV0="
+ "updated_at": "2019-10-17T17:37:16.857Z",
+ "version": "Wzc2LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (17)'] = {
"results": {
"type": "agents",
- "id": "7e172110-f06c-11e9-bc41-371a72358a1e",
+ "id": "c3cf0b80-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent16",
"active": true,
@@ -2306,15 +2054,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-23T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:17.408Z",
- "version": "WzMyMDgsMV0="
+ "updated_at": "2019-10-17T17:37:17.880Z",
+ "version": "Wzc3LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (18)'] = {
"results": {
"type": "agents",
- "id": "7eb22890-f06c-11e9-bc41-371a72358a1e",
+ "id": "c469ebf0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent17",
"active": true,
@@ -2327,15 +2075,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:18.425Z",
- "version": "WzMyMDksMV0="
+ "updated_at": "2019-10-17T17:37:18.895Z",
+ "version": "Wzc4LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (19)'] = {
"results": {
"type": "agents",
- "id": "7f4da540-f06c-11e9-bc41-371a72358a1e",
+ "id": "c5045730-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent18",
"active": true,
@@ -2348,15 +2096,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:19.444Z",
- "version": "WzMyMTAsMV0="
+ "updated_at": "2019-10-17T17:37:19.907Z",
+ "version": "Wzc5LDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (20)'] = {
"results": {
"type": "agents",
- "id": "7fe8fae0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c59f37a0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent19",
"active": true,
@@ -2369,15 +2117,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:20.462Z",
- "version": "WzMyMTEsMV0="
+ "updated_at": "2019-10-17T17:37:20.922Z",
+ "version": "WzgwLDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (21)'] = {
"results": {
"type": "agents",
- "id": "80833f10-f06c-11e9-bc41-371a72358a1e",
+ "id": "c6381c40-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_1",
"active": false,
@@ -2390,15 +2138,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-11-13T20:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:21.472Z",
- "version": "WzMyMTIsMV0="
+ "updated_at": "2019-10-17T17:37:21.924Z",
+ "version": "WzgxLDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (22)'] = {
"results": {
"type": "agents",
- "id": "811d8340-f06c-11e9-bc41-371a72358a1e",
+ "id": "c6d34ad0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_2",
"active": true,
@@ -2408,19 +2156,19 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-14T23:27:01.180Z",
+ "last_checkin": "2019-10-15T17:37:01.653Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:22.484Z",
- "version": "WzMyMTMsMV0="
+ "updated_at": "2019-10-17T17:37:22.941Z",
+ "version": "WzgyLDFd"
}
}
exports['AgentsRepository list should list all agents with showInactive set to true - create:agents (23)'] = {
"results": {
"type": "agents",
- "id": "81b81590-f06c-11e9-bc41-371a72358a1e",
+ "id": "c76e0430-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -2430,12 +2178,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:27:01.179Z",
+ "last_checkin": "2019-10-17T17:37:01.653Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:23.497Z",
- "version": "WzMyMTQsMV0="
+ "updated_at": "2019-10-17T17:37:23.955Z",
+ "version": "WzgzLDFd"
}
}
@@ -2447,7 +2195,7 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"saved_objects": [
{
"type": "agents",
- "id": "80833f10-f06c-11e9-bc41-371a72358a1e",
+ "id": "c6381c40-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_1",
"active": false,
@@ -2460,12 +2208,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-11-13T20:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:21.472Z",
- "version": "WzMyMTIsMV0="
+ "updated_at": "2019-10-17T17:37:21.924Z",
+ "version": "WzgxLDFd"
},
{
"type": "agents",
- "id": "7fe8fae0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c59f37a0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent19",
"active": true,
@@ -2478,12 +2226,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:20.462Z",
- "version": "WzMyMTEsMV0="
+ "updated_at": "2019-10-17T17:37:20.922Z",
+ "version": "WzgwLDFd"
},
{
"type": "agents",
- "id": "7f4da540-f06c-11e9-bc41-371a72358a1e",
+ "id": "c5045730-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent18",
"active": true,
@@ -2496,12 +2244,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:19.444Z",
- "version": "WzMyMTAsMV0="
+ "updated_at": "2019-10-17T17:37:19.907Z",
+ "version": "Wzc5LDFd"
},
{
"type": "agents",
- "id": "7eb22890-f06c-11e9-bc41-371a72358a1e",
+ "id": "c469ebf0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent17",
"active": true,
@@ -2514,12 +2262,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:18.425Z",
- "version": "WzMyMDksMV0="
+ "updated_at": "2019-10-17T17:37:18.895Z",
+ "version": "Wzc4LDFd"
},
{
"type": "agents",
- "id": "7e172110-f06c-11e9-bc41-371a72358a1e",
+ "id": "c3cf0b80-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent16",
"active": true,
@@ -2532,12 +2280,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-23T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:17.408Z",
- "version": "WzMyMDgsMV0="
+ "updated_at": "2019-10-17T17:37:17.880Z",
+ "version": "Wzc3LDFd"
},
{
"type": "agents",
- "id": "7d7c40a0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c332f290-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent15",
"active": true,
@@ -2550,12 +2298,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-22T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:16.394Z",
- "version": "WzMyMDcsMV0="
+ "updated_at": "2019-10-17T17:37:16.857Z",
+ "version": "Wzc2LDFd"
},
{
"type": "agents",
- "id": "7ce16030-f06c-11e9-bc41-371a72358a1e",
+ "id": "c299bfd0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent14",
"active": true,
@@ -2568,12 +2316,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-21T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:15.379Z",
- "version": "WzMyMDYsMV0="
+ "updated_at": "2019-10-17T17:37:15.853Z",
+ "version": "Wzc1LDFd"
},
{
"type": "agents",
- "id": "7c4658b0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c1fd7fd0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent13",
"active": true,
@@ -2586,12 +2334,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-20T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:14.363Z",
- "version": "WzMyMDUsMV0="
+ "updated_at": "2019-10-17T17:37:14.828Z",
+ "version": "Wzc0LDFd"
},
{
"type": "agents",
- "id": "7ba9ca90-f06c-11e9-bc41-371a72358a1e",
+ "id": "c1642600-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent12",
"active": true,
@@ -2604,12 +2352,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-19T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:13.337Z",
- "version": "WzMyMDQsMV0="
+ "updated_at": "2019-10-17T17:37:13.824Z",
+ "version": "WzczLDFd"
},
{
"type": "agents",
- "id": "7b10e5f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c0ca2ff0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent11",
"active": true,
@@ -2622,12 +2370,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-18T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:12.334Z",
- "version": "WzMyMDMsMV0="
+ "updated_at": "2019-10-17T17:37:12.815Z",
+ "version": "WzcyLDFd"
},
{
"type": "agents",
- "id": "7a767ab0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c03012d0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent10",
"active": true,
@@ -2640,12 +2388,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-17T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:11.323Z",
- "version": "WzMyMDIsMV0="
+ "updated_at": "2019-10-17T17:37:11.805Z",
+ "version": "WzcxLDFd"
},
{
"type": "agents",
- "id": "79db7330-f06c-11e9-bc41-371a72358a1e",
+ "id": "bf958080-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent9",
"active": true,
@@ -2658,12 +2406,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-16T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:10.306Z",
- "version": "WzMyMDEsMV0="
+ "updated_at": "2019-10-17T17:37:10.792Z",
+ "version": "WzcwLDFd"
},
{
"type": "agents",
- "id": "79406bb0-f06c-11e9-bc41-371a72358a1e",
+ "id": "befc26b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent8",
"active": true,
@@ -2676,12 +2424,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-15T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:09.291Z",
- "version": "WzMyMDAsMV0="
+ "updated_at": "2019-10-17T17:37:09.787Z",
+ "version": "WzY5LDFd"
},
{
"type": "agents",
- "id": "78a60070-f06c-11e9-bc41-371a72358a1e",
+ "id": "be60d110-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent7",
"active": true,
@@ -2694,12 +2442,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-14T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:08.279Z",
- "version": "WzMxOTksMV0="
+ "updated_at": "2019-10-17T17:37:08.769Z",
+ "version": "WzY4LDFd"
},
{
"type": "agents",
- "id": "780bbc40-f06c-11e9-bc41-371a72358a1e",
+ "id": "bdc5c990-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent6",
"active": true,
@@ -2712,12 +2460,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-13T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:07.268Z",
- "version": "WzMxOTgsMV0="
+ "updated_at": "2019-10-17T17:37:07.753Z",
+ "version": "WzY3LDFd"
},
{
"type": "agents",
- "id": "777129f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "bd29fec0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent5",
"active": true,
@@ -2730,12 +2478,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-12T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:06.255Z",
- "version": "WzMxOTcsMV0="
+ "updated_at": "2019-10-17T17:37:06.732Z",
+ "version": "WzY2LDFd"
},
{
"type": "agents",
- "id": "76d64980-f06c-11e9-bc41-371a72358a1e",
+ "id": "bc8ef740-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent4",
"active": true,
@@ -2748,12 +2496,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-11T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:05.239Z",
- "version": "WzMxOTYsMV0="
+ "updated_at": "2019-10-17T17:37:05.716Z",
+ "version": "WzY1LDFd"
},
{
"type": "agents",
- "id": "763c0550-f06c-11e9-bc41-371a72358a1e",
+ "id": "bbf464f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent3",
"active": true,
@@ -2766,12 +2514,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-10T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:04.229Z",
- "version": "WzMxOTUsMV0="
+ "updated_at": "2019-10-17T17:37:04.703Z",
+ "version": "WzY0LDFd"
},
{
"type": "agents",
- "id": "75a0fdd0-f06c-11e9-bc41-371a72358a1e",
+ "id": "bb57fde0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": true,
@@ -2784,12 +2532,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-09T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:03.213Z",
- "version": "WzMxOTQsMV0="
+ "updated_at": "2019-10-17T17:37:03.678Z",
+ "version": "WzYzLDFd"
},
{
"type": "agents",
- "id": "7505cf40-f06c-11e9-bc41-371a72358a1e",
+ "id": "babe55f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": true,
@@ -2802,12 +2550,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:02.196Z",
- "version": "WzMxOTMsMV0="
+ "updated_at": "2019-10-17T17:37:02.671Z",
+ "version": "WzYyLDFd"
},
{
"type": "agents",
- "id": "746b3cf0-f06c-11e9-bc41-371a72358a1e",
+ "id": "ba23c3a0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent0",
"active": true,
@@ -2820,12 +2568,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:01.183Z",
- "version": "WzMxOTIsMV0="
+ "updated_at": "2019-10-17T17:37:01.658Z",
+ "version": "WzYxLDFd"
},
{
"type": "agents",
- "id": "811d8340-f06c-11e9-bc41-371a72358a1e",
+ "id": "c6d34ad0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_2",
"active": true,
@@ -2835,16 +2583,16 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-14T23:27:01.180Z",
+ "last_checkin": "2019-10-15T17:37:01.653Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:22.484Z",
- "version": "WzMyMTMsMV0="
+ "updated_at": "2019-10-17T17:37:22.941Z",
+ "version": "WzgyLDFd"
},
{
"type": "agents",
- "id": "81b81590-f06c-11e9-bc41-371a72358a1e",
+ "id": "c76e0430-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -2854,12 +2602,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:27:01.179Z",
+ "last_checkin": "2019-10-17T17:37:01.653Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:23.497Z",
- "version": "WzMyMTQsMV0="
+ "updated_at": "2019-10-17T17:37:23.955Z",
+ "version": "WzgzLDFd"
}
]
}
@@ -2873,7 +2621,7 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"saved_objects": [
{
"type": "agents",
- "id": "746b3cf0-f06c-11e9-bc41-371a72358a1e",
+ "id": "ba23c3a0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent0",
"active": true,
@@ -2886,12 +2634,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:01.183Z",
- "version": "WzMxOTIsMV0="
+ "updated_at": "2019-10-17T17:37:01.658Z",
+ "version": "WzYxLDFd"
},
{
"type": "agents",
- "id": "75a0fdd0-f06c-11e9-bc41-371a72358a1e",
+ "id": "bb57fde0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": true,
@@ -2904,12 +2652,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-09T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:03.213Z",
- "version": "WzMxOTQsMV0="
+ "updated_at": "2019-10-17T17:37:03.678Z",
+ "version": "WzYzLDFd"
},
{
"type": "agents",
- "id": "763c0550-f06c-11e9-bc41-371a72358a1e",
+ "id": "bbf464f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent3",
"active": true,
@@ -2922,12 +2670,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-10T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:04.229Z",
- "version": "WzMxOTUsMV0="
+ "updated_at": "2019-10-17T17:37:04.703Z",
+ "version": "WzY0LDFd"
},
{
"type": "agents",
- "id": "76d64980-f06c-11e9-bc41-371a72358a1e",
+ "id": "bc8ef740-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent4",
"active": true,
@@ -2940,12 +2688,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-11T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:05.239Z",
- "version": "WzMxOTYsMV0="
+ "updated_at": "2019-10-17T17:37:05.716Z",
+ "version": "WzY1LDFd"
},
{
"type": "agents",
- "id": "777129f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "bd29fec0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent5",
"active": true,
@@ -2958,14 +2706,14 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-12T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:06.255Z",
- "version": "WzMxOTcsMV0="
+ "updated_at": "2019-10-17T17:37:06.732Z",
+ "version": "WzY2LDFd"
},
{
"type": "agents",
- "id": "780bbc40-f06c-11e9-bc41-371a72358a1e",
+ "id": "babe55f0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent6",
+ "shared_id": "agent1",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -2973,17 +2721,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-13T19:35:14.861Z"
+ "enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:07.268Z",
- "version": "WzMxOTgsMV0="
+ "updated_at": "2019-10-17T17:37:02.671Z",
+ "version": "WzYyLDFd"
},
{
"type": "agents",
- "id": "78a60070-f06c-11e9-bc41-371a72358a1e",
+ "id": "c1642600-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent7",
+ "shared_id": "agent12",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -2991,17 +2739,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-14T19:35:14.861Z"
+ "enrolled_at": "2019-08-19T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:08.279Z",
- "version": "WzMxOTksMV0="
+ "updated_at": "2019-10-17T17:37:13.824Z",
+ "version": "WzczLDFd"
},
{
"type": "agents",
- "id": "7505cf40-f06c-11e9-bc41-371a72358a1e",
+ "id": "c299bfd0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent1",
+ "shared_id": "agent14",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -3009,17 +2757,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-08T19:35:14.861Z"
+ "enrolled_at": "2019-08-21T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:02.196Z",
- "version": "WzMxOTMsMV0="
+ "updated_at": "2019-10-17T17:37:15.853Z",
+ "version": "Wzc1LDFd"
},
{
"type": "agents",
- "id": "7a767ab0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c0ca2ff0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent10",
+ "shared_id": "agent11",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -3027,17 +2775,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-17T19:35:14.861Z"
+ "enrolled_at": "2019-08-18T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:11.323Z",
- "version": "WzMyMDIsMV0="
+ "updated_at": "2019-10-17T17:37:12.815Z",
+ "version": "WzcyLDFd"
},
{
"type": "agents",
- "id": "7ba9ca90-f06c-11e9-bc41-371a72358a1e",
+ "id": "c03012d0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent12",
+ "shared_id": "agent10",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -3045,17 +2793,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-19T19:35:14.861Z"
+ "enrolled_at": "2019-08-17T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:13.337Z",
- "version": "WzMyMDQsMV0="
+ "updated_at": "2019-10-17T17:37:11.805Z",
+ "version": "WzcxLDFd"
},
{
"type": "agents",
- "id": "7ce16030-f06c-11e9-bc41-371a72358a1e",
+ "id": "c1fd7fd0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent14",
+ "shared_id": "agent13",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -3063,17 +2811,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-21T19:35:14.861Z"
+ "enrolled_at": "2019-08-20T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:15.379Z",
- "version": "WzMyMDYsMV0="
+ "updated_at": "2019-10-17T17:37:14.828Z",
+ "version": "Wzc0LDFd"
},
{
"type": "agents",
- "id": "7d7c40a0-f06c-11e9-bc41-371a72358a1e",
+ "id": "bdc5c990-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent15",
+ "shared_id": "agent6",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -3081,17 +2829,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-22T19:35:14.861Z"
+ "enrolled_at": "2019-08-13T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:16.394Z",
- "version": "WzMyMDcsMV0="
+ "updated_at": "2019-10-17T17:37:07.753Z",
+ "version": "WzY3LDFd"
},
{
"type": "agents",
- "id": "7e172110-f06c-11e9-bc41-371a72358a1e",
+ "id": "be60d110-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent16",
+ "shared_id": "agent7",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -3099,17 +2847,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-23T19:35:14.861Z"
+ "enrolled_at": "2019-08-14T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:17.408Z",
- "version": "WzMyMDgsMV0="
+ "updated_at": "2019-10-17T17:37:08.769Z",
+ "version": "WzY4LDFd"
},
{
"type": "agents",
- "id": "7b10e5f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "befc26b0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent11",
+ "shared_id": "agent8",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -3117,17 +2865,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-18T19:35:14.861Z"
+ "enrolled_at": "2019-08-15T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:12.334Z",
- "version": "WzMyMDMsMV0="
+ "updated_at": "2019-10-17T17:37:09.787Z",
+ "version": "WzY5LDFd"
},
{
"type": "agents",
- "id": "7c4658b0-f06c-11e9-bc41-371a72358a1e",
+ "id": "bf958080-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent13",
+ "shared_id": "agent9",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -3135,17 +2883,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-20T19:35:14.861Z"
+ "enrolled_at": "2019-08-16T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:14.363Z",
- "version": "WzMyMDUsMV0="
+ "updated_at": "2019-10-17T17:37:10.792Z",
+ "version": "WzcwLDFd"
},
{
"type": "agents",
- "id": "79406bb0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c332f290-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent8",
+ "shared_id": "agent15",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -3153,17 +2901,17 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-15T19:35:14.861Z"
+ "enrolled_at": "2019-08-22T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:09.291Z",
- "version": "WzMyMDAsMV0="
+ "updated_at": "2019-10-17T17:37:16.857Z",
+ "version": "Wzc2LDFd"
},
{
"type": "agents",
- "id": "79db7330-f06c-11e9-bc41-371a72358a1e",
+ "id": "c3cf0b80-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent9",
+ "shared_id": "agent16",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -3171,15 +2919,15 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-16T19:35:14.861Z"
+ "enrolled_at": "2019-08-23T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:10.306Z",
- "version": "WzMyMDEsMV0="
+ "updated_at": "2019-10-17T17:37:17.880Z",
+ "version": "Wzc3LDFd"
},
{
"type": "agents",
- "id": "7eb22890-f06c-11e9-bc41-371a72358a1e",
+ "id": "c469ebf0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent17",
"active": true,
@@ -3192,12 +2940,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:18.425Z",
- "version": "WzMyMDksMV0="
+ "updated_at": "2019-10-17T17:37:18.895Z",
+ "version": "Wzc4LDFd"
},
{
"type": "agents",
- "id": "7f4da540-f06c-11e9-bc41-371a72358a1e",
+ "id": "c5045730-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent18",
"active": true,
@@ -3210,12 +2958,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:19.444Z",
- "version": "WzMyMTAsMV0="
+ "updated_at": "2019-10-17T17:37:19.907Z",
+ "version": "Wzc5LDFd"
},
{
"type": "agents",
- "id": "7fe8fae0-f06c-11e9-bc41-371a72358a1e",
+ "id": "c59f37a0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent19",
"active": true,
@@ -3228,12 +2976,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:20.462Z",
- "version": "WzMyMTEsMV0="
+ "updated_at": "2019-10-17T17:37:20.922Z",
+ "version": "WzgwLDFd"
},
{
"type": "agents",
- "id": "80833f10-f06c-11e9-bc41-371a72358a1e",
+ "id": "c6381c40-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_1",
"active": false,
@@ -3246,12 +2994,12 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"enrolled_at": "2019-11-13T20:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:21.472Z",
- "version": "WzMyMTIsMV0="
+ "updated_at": "2019-10-17T17:37:21.924Z",
+ "version": "WzgxLDFd"
},
{
"type": "agents",
- "id": "811d8340-f06c-11e9-bc41-371a72358a1e",
+ "id": "c6d34ad0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_2",
"active": true,
@@ -3261,16 +3009,16 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-14T23:27:01.180Z",
+ "last_checkin": "2019-10-15T17:37:01.653Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:22.484Z",
- "version": "WzMyMTMsMV0="
+ "updated_at": "2019-10-17T17:37:22.941Z",
+ "version": "WzgyLDFd"
},
{
"type": "agents",
- "id": "81b81590-f06c-11e9-bc41-371a72358a1e",
+ "id": "c76e0430-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -3280,113 +3028,113 @@ exports['AgentsRepository list should list all agents with showInactive set to t
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:27:01.179Z",
+ "last_checkin": "2019-10-17T17:37:01.653Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:23.497Z",
- "version": "WzMyMTQsMV0="
+ "updated_at": "2019-10-17T17:37:23.955Z",
+ "version": "WzgzLDFd"
}
]
}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:746b3cf0-f06c-11e9-bc41-371a72358a1e:{} (26)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:ba23c3a0-f104-11e9-9e96-810494679327:{} (26)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:75a0fdd0-f06c-11e9-bc41-371a72358a1e:{} (27)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:bb57fde0-f104-11e9-9e96-810494679327:{} (27)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:763c0550-f06c-11e9-bc41-371a72358a1e:{} (28)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:bbf464f0-f104-11e9-9e96-810494679327:{} (28)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:76d64980-f06c-11e9-bc41-371a72358a1e:{} (29)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:bc8ef740-f104-11e9-9e96-810494679327:{} (29)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:777129f0-f06c-11e9-bc41-371a72358a1e:{} (30)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:bd29fec0-f104-11e9-9e96-810494679327:{} (30)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:780bbc40-f06c-11e9-bc41-371a72358a1e:{} (31)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:babe55f0-f104-11e9-9e96-810494679327:{} (31)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:78a60070-f06c-11e9-bc41-371a72358a1e:{} (32)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c1642600-f104-11e9-9e96-810494679327:{} (32)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7505cf40-f06c-11e9-bc41-371a72358a1e:{} (33)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c299bfd0-f104-11e9-9e96-810494679327:{} (33)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7a767ab0-f06c-11e9-bc41-371a72358a1e:{} (34)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c0ca2ff0-f104-11e9-9e96-810494679327:{} (34)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7ba9ca90-f06c-11e9-bc41-371a72358a1e:{} (35)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c03012d0-f104-11e9-9e96-810494679327:{} (35)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7ce16030-f06c-11e9-bc41-371a72358a1e:{} (36)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c1fd7fd0-f104-11e9-9e96-810494679327:{} (36)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7d7c40a0-f06c-11e9-bc41-371a72358a1e:{} (37)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:bdc5c990-f104-11e9-9e96-810494679327:{} (37)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7e172110-f06c-11e9-bc41-371a72358a1e:{} (38)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:be60d110-f104-11e9-9e96-810494679327:{} (38)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7b10e5f0-f06c-11e9-bc41-371a72358a1e:{} (39)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:befc26b0-f104-11e9-9e96-810494679327:{} (39)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7c4658b0-f06c-11e9-bc41-371a72358a1e:{} (40)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:bf958080-f104-11e9-9e96-810494679327:{} (40)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:79406bb0-f06c-11e9-bc41-371a72358a1e:{} (41)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c332f290-f104-11e9-9e96-810494679327:{} (41)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:79db7330-f06c-11e9-bc41-371a72358a1e:{} (42)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c3cf0b80-f104-11e9-9e96-810494679327:{} (42)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7eb22890-f06c-11e9-bc41-371a72358a1e:{} (43)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c469ebf0-f104-11e9-9e96-810494679327:{} (43)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7f4da540-f06c-11e9-bc41-371a72358a1e:{} (44)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c5045730-f104-11e9-9e96-810494679327:{} (44)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:7fe8fae0-f06c-11e9-bc41-371a72358a1e:{} (45)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c59f37a0-f104-11e9-9e96-810494679327:{} (45)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:80833f10-f06c-11e9-bc41-371a72358a1e:{} (46)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c6381c40-f104-11e9-9e96-810494679327:{} (46)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:811d8340-f06c-11e9-bc41-371a72358a1e:{} (47)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c6d34ad0-f104-11e9-9e96-810494679327:{} (47)'] = {
"results": {}
}
-exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:81b81590-f06c-11e9-bc41-371a72358a1e:{} (48)'] = {
+exports['AgentsRepository list should list all agents with showInactive set to true - delete:agents:c76e0430-f104-11e9-9e96-810494679327:{} (48)'] = {
"results": {}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (1)'] = {
"results": {
"type": "agents",
- "id": "90405460-f06c-11e9-bc41-371a72358a1e",
+ "id": "d5f383e0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent0",
"active": true,
@@ -3399,15 +3147,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:47.878Z",
- "version": "WzMyMzgsMV0="
+ "updated_at": "2019-10-17T17:37:48.318Z",
+ "version": "WzEwNywxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (2)'] = {
"results": {
"type": "agents",
- "id": "90dc1f30-f06c-11e9-bc41-371a72358a1e",
+ "id": "d68e1630-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": true,
@@ -3420,15 +3168,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:48.899Z",
- "version": "WzMyMzksMV0="
+ "updated_at": "2019-10-17T17:37:49.331Z",
+ "version": "WzEwOCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (3)'] = {
"results": {
"type": "agents",
- "id": "917726b0-f06c-11e9-bc41-371a72358a1e",
+ "id": "d7291db0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": true,
@@ -3441,15 +3189,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-09T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:49.915Z",
- "version": "WzMyNDAsMV0="
+ "updated_at": "2019-10-17T17:37:50.347Z",
+ "version": "WzEwOSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (4)'] = {
"results": {
"type": "agents",
- "id": "9211b900-f06c-11e9-bc41-371a72358a1e",
+ "id": "d7c33ad0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent3",
"active": true,
@@ -3462,15 +3210,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-10T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:50.928Z",
- "version": "WzMyNDEsMV0="
+ "updated_at": "2019-10-17T17:37:51.356Z",
+ "version": "WzExMCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (5)'] = {
"results": {
"type": "agents",
- "id": "92ac2440-f06c-11e9-bc41-371a72358a1e",
+ "id": "d85d30e0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent4",
"active": true,
@@ -3483,15 +3231,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-11T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:51.940Z",
- "version": "WzMyNDIsMV0="
+ "updated_at": "2019-10-17T17:37:52.366Z",
+ "version": "WzExMSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (6)'] = {
"results": {
"type": "agents",
- "id": "9345cc30-f06c-11e9-bc41-371a72358a1e",
+ "id": "d8f68ab0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent5",
"active": true,
@@ -3504,15 +3252,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-12T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:52.947Z",
- "version": "WzMyNDMsMV0="
+ "updated_at": "2019-10-17T17:37:53.371Z",
+ "version": "WzExMiwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (7)'] = {
"results": {
"type": "agents",
- "id": "93e08590-f06c-11e9-bc41-371a72358a1e",
+ "id": "d9945150-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent6",
"active": true,
@@ -3525,15 +3273,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-13T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:53.961Z",
- "version": "WzMyNDQsMV0="
+ "updated_at": "2019-10-17T17:37:54.405Z",
+ "version": "WzExMywxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (8)'] = {
"results": {
"type": "agents",
- "id": "9479df60-f06c-11e9-bc41-371a72358a1e",
+ "id": "da2e2050-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent7",
"active": true,
@@ -3546,15 +3294,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-14T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:54.966Z",
- "version": "WzMyNDUsMV0="
+ "updated_at": "2019-10-17T17:37:55.413Z",
+ "version": "WzExNCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (9)'] = {
"results": {
"type": "agents",
- "id": "951757e0-f06c-11e9-bc41-371a72358a1e",
+ "id": "dac88b90-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent8",
"active": true,
@@ -3567,15 +3315,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-15T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:55.997Z",
- "version": "WzMyNDYsMV0="
+ "updated_at": "2019-10-17T17:37:56.425Z",
+ "version": "WzExNSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (10)'] = {
"results": {
"type": "agents",
- "id": "95b25f60-f06c-11e9-bc41-371a72358a1e",
+ "id": "db60fb00-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent9",
"active": true,
@@ -3588,15 +3336,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-16T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:57.014Z",
- "version": "WzMyNDcsMV0="
+ "updated_at": "2019-10-17T17:37:57.424Z",
+ "version": "WzExNiwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (11)'] = {
"results": {
"type": "agents",
- "id": "964e7850-f06c-11e9-bc41-371a72358a1e",
+ "id": "dbfd6210-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent10",
"active": true,
@@ -3609,15 +3357,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-17T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:58.037Z",
- "version": "WzMyNDgsMV0="
+ "updated_at": "2019-10-17T17:37:58.449Z",
+ "version": "WzExNywxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (12)'] = {
"results": {
"type": "agents",
- "id": "96e84750-f06c-11e9-bc41-371a72358a1e",
+ "id": "dc97a640-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent11",
"active": true,
@@ -3630,15 +3378,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-18T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:59.045Z",
- "version": "WzMyNDksMV0="
+ "updated_at": "2019-10-17T17:37:59.460Z",
+ "version": "WzExOCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (13)'] = {
"results": {
"type": "agents",
- "id": "978300b0-f06c-11e9-bc41-371a72358a1e",
+ "id": "dd317540-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent12",
"active": true,
@@ -3651,15 +3399,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-19T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:00.059Z",
- "version": "WzMyNTAsMV0="
+ "updated_at": "2019-10-17T17:38:00.468Z",
+ "version": "WzExOSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (14)'] = {
"results": {
"type": "agents",
- "id": "981de120-f06c-11e9-bc41-371a72358a1e",
+ "id": "ddcc55b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent13",
"active": true,
@@ -3672,15 +3420,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-20T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:01.074Z",
- "version": "WzMyNTEsMV0="
+ "updated_at": "2019-10-17T17:38:01.483Z",
+ "version": "WzEyMCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (15)'] = {
"results": {
"type": "agents",
- "id": "98b89a80-f06c-11e9-bc41-371a72358a1e",
+ "id": "de67ab50-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent14",
"active": true,
@@ -3693,15 +3441,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-21T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:02.088Z",
- "version": "WzMyNTIsMV0="
+ "updated_at": "2019-10-17T17:38:02.501Z",
+ "version": "WzEyMSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (16)'] = {
"results": {
"type": "agents",
- "id": "995305c0-f06c-11e9-bc41-371a72358a1e",
+ "id": "df02b2d0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent15",
"active": true,
@@ -3714,15 +3462,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-22T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:03.100Z",
- "version": "WzMyNTMsMV0="
+ "updated_at": "2019-10-17T17:38:03.517Z",
+ "version": "WzEyMiwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (17)'] = {
"results": {
"type": "agents",
- "id": "99ed22e0-f06c-11e9-bc41-371a72358a1e",
+ "id": "df9d6c30-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent16",
"active": true,
@@ -3735,15 +3483,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-23T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:04.110Z",
- "version": "WzMyNTQsMV0="
+ "updated_at": "2019-10-17T17:38:04.531Z",
+ "version": "WzEyMywxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (18)'] = {
"results": {
"type": "agents",
- "id": "9a89b100-f06c-11e9-bc41-371a72358a1e",
+ "id": "e037d770-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent17",
"active": true,
@@ -3756,15 +3504,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:05.135Z",
- "version": "WzMyNTUsMV0="
+ "updated_at": "2019-10-17T17:38:05.543Z",
+ "version": "WzEyNCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (19)'] = {
"results": {
"type": "agents",
- "id": "9b249170-f06c-11e9-bc41-371a72358a1e",
+ "id": "e0d4b3b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent18",
"active": true,
@@ -3777,15 +3525,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:06.150Z",
- "version": "WzMyNTYsMV0="
+ "updated_at": "2019-10-17T17:38:06.571Z",
+ "version": "WzEyNSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (20)'] = {
"results": {
"type": "agents",
- "id": "9bbfe710-f06c-11e9-bc41-371a72358a1e",
+ "id": "e16e3490-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent19",
"active": true,
@@ -3798,15 +3546,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:07.169Z",
- "version": "WzMyNTcsMV0="
+ "updated_at": "2019-10-17T17:38:07.577Z",
+ "version": "WzEyNiwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (21)'] = {
"results": {
"type": "agents",
- "id": "9c5a0430-f06c-11e9-bc41-371a72358a1e",
+ "id": "e20878c0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_1",
"active": false,
@@ -3819,15 +3567,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-11-13T20:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:08.179Z",
- "version": "WzMyNTgsMV0="
+ "updated_at": "2019-10-17T17:38:08.588Z",
+ "version": "WzEyNywxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (22)'] = {
"results": {
"type": "agents",
- "id": "9cf38510-f06c-11e9-bc41-371a72358a1e",
+ "id": "e2a3a750-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_2",
"active": true,
@@ -3837,19 +3585,19 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-14T23:27:47.873Z",
+ "last_checkin": "2019-10-15T17:37:48.315Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:09.185Z",
- "version": "WzMyNTksMV0="
+ "updated_at": "2019-10-17T17:38:09.605Z",
+ "version": "WzEyOCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date ASC - create:agents (23)'] = {
"results": {
"type": "agents",
- "id": "9d8dc940-f06c-11e9-bc41-371a72358a1e",
+ "id": "e33cda10-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -3859,12 +3607,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:27:47.873Z",
+ "last_checkin": "2019-10-17T17:37:48.315Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:10.196Z",
- "version": "WzMyNjAsMV0="
+ "updated_at": "2019-10-17T17:38:10.609Z",
+ "version": "WzEyOSwxXQ=="
}
}
@@ -3876,7 +3624,7 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"saved_objects": [
{
"type": "agents",
- "id": "9d8dc940-f06c-11e9-bc41-371a72358a1e",
+ "id": "e33cda10-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -3886,16 +3634,16 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:27:47.873Z",
+ "last_checkin": "2019-10-17T17:37:48.315Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:10.196Z",
- "version": "WzMyNjAsMV0="
+ "updated_at": "2019-10-17T17:38:10.609Z",
+ "version": "WzEyOSwxXQ=="
},
{
"type": "agents",
- "id": "90405460-f06c-11e9-bc41-371a72358a1e",
+ "id": "d5f383e0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent0",
"active": true,
@@ -3908,12 +3656,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:47.878Z",
- "version": "WzMyMzgsMV0="
+ "updated_at": "2019-10-17T17:37:48.318Z",
+ "version": "WzEwNywxXQ=="
},
{
"type": "agents",
- "id": "90dc1f30-f06c-11e9-bc41-371a72358a1e",
+ "id": "d68e1630-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": true,
@@ -3926,8 +3674,8 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:48.899Z",
- "version": "WzMyMzksMV0="
+ "updated_at": "2019-10-17T17:37:49.331Z",
+ "version": "WzEwOCwxXQ=="
}
]
}
@@ -3941,7 +3689,7 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"saved_objects": [
{
"type": "agents",
- "id": "90405460-f06c-11e9-bc41-371a72358a1e",
+ "id": "d5f383e0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent0",
"active": true,
@@ -3954,12 +3702,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:47.878Z",
- "version": "WzMyMzgsMV0="
+ "updated_at": "2019-10-17T17:37:48.318Z",
+ "version": "WzEwNywxXQ=="
},
{
"type": "agents",
- "id": "917726b0-f06c-11e9-bc41-371a72358a1e",
+ "id": "d7291db0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": true,
@@ -3972,12 +3720,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-09T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:49.915Z",
- "version": "WzMyNDAsMV0="
+ "updated_at": "2019-10-17T17:37:50.347Z",
+ "version": "WzEwOSwxXQ=="
},
{
"type": "agents",
- "id": "9211b900-f06c-11e9-bc41-371a72358a1e",
+ "id": "d7c33ad0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent3",
"active": true,
@@ -3990,12 +3738,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-10T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:50.928Z",
- "version": "WzMyNDEsMV0="
+ "updated_at": "2019-10-17T17:37:51.356Z",
+ "version": "WzExMCwxXQ=="
},
{
"type": "agents",
- "id": "92ac2440-f06c-11e9-bc41-371a72358a1e",
+ "id": "d85d30e0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent4",
"active": true,
@@ -4008,14 +3756,14 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-11T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:51.940Z",
- "version": "WzMyNDIsMV0="
+ "updated_at": "2019-10-17T17:37:52.366Z",
+ "version": "WzExMSwxXQ=="
},
{
"type": "agents",
- "id": "9345cc30-f06c-11e9-bc41-371a72358a1e",
+ "id": "d68e1630-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent5",
+ "shared_id": "agent1",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4023,17 +3771,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-12T19:35:14.861Z"
+ "enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:52.947Z",
- "version": "WzMyNDMsMV0="
+ "updated_at": "2019-10-17T17:37:49.331Z",
+ "version": "WzEwOCwxXQ=="
},
{
"type": "agents",
- "id": "93e08590-f06c-11e9-bc41-371a72358a1e",
+ "id": "dd317540-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent6",
+ "shared_id": "agent12",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4041,17 +3789,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-13T19:35:14.861Z"
+ "enrolled_at": "2019-08-19T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:53.961Z",
- "version": "WzMyNDQsMV0="
+ "updated_at": "2019-10-17T17:38:00.468Z",
+ "version": "WzExOSwxXQ=="
},
{
"type": "agents",
- "id": "90dc1f30-f06c-11e9-bc41-371a72358a1e",
+ "id": "ddcc55b0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent1",
+ "shared_id": "agent13",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4059,17 +3807,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-08T19:35:14.861Z"
+ "enrolled_at": "2019-08-20T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:48.899Z",
- "version": "WzMyMzksMV0="
+ "updated_at": "2019-10-17T17:38:01.483Z",
+ "version": "WzEyMCwxXQ=="
},
{
"type": "agents",
- "id": "964e7850-f06c-11e9-bc41-371a72358a1e",
+ "id": "dc97a640-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent10",
+ "shared_id": "agent11",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4077,17 +3825,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-17T19:35:14.861Z"
+ "enrolled_at": "2019-08-18T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:58.037Z",
- "version": "WzMyNDgsMV0="
+ "updated_at": "2019-10-17T17:37:59.460Z",
+ "version": "WzExOCwxXQ=="
},
{
"type": "agents",
- "id": "978300b0-f06c-11e9-bc41-371a72358a1e",
+ "id": "dbfd6210-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent12",
+ "shared_id": "agent10",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4095,17 +3843,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-19T19:35:14.861Z"
+ "enrolled_at": "2019-08-17T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:00.059Z",
- "version": "WzMyNTAsMV0="
+ "updated_at": "2019-10-17T17:37:58.449Z",
+ "version": "WzExNywxXQ=="
},
{
"type": "agents",
- "id": "981de120-f06c-11e9-bc41-371a72358a1e",
+ "id": "d8f68ab0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent13",
+ "shared_id": "agent5",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4113,17 +3861,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-20T19:35:14.861Z"
+ "enrolled_at": "2019-08-12T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:01.074Z",
- "version": "WzMyNTEsMV0="
+ "updated_at": "2019-10-17T17:37:53.371Z",
+ "version": "WzExMiwxXQ=="
},
{
"type": "agents",
- "id": "98b89a80-f06c-11e9-bc41-371a72358a1e",
+ "id": "d9945150-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent14",
+ "shared_id": "agent6",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4131,17 +3879,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-21T19:35:14.861Z"
+ "enrolled_at": "2019-08-13T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:02.088Z",
- "version": "WzMyNTIsMV0="
+ "updated_at": "2019-10-17T17:37:54.405Z",
+ "version": "WzExMywxXQ=="
},
{
"type": "agents",
- "id": "995305c0-f06c-11e9-bc41-371a72358a1e",
+ "id": "da2e2050-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent15",
+ "shared_id": "agent7",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4149,17 +3897,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-22T19:35:14.861Z"
+ "enrolled_at": "2019-08-14T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:03.100Z",
- "version": "WzMyNTMsMV0="
+ "updated_at": "2019-10-17T17:37:55.413Z",
+ "version": "WzExNCwxXQ=="
},
{
"type": "agents",
- "id": "96e84750-f06c-11e9-bc41-371a72358a1e",
+ "id": "dac88b90-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent11",
+ "shared_id": "agent8",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4167,17 +3915,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-18T19:35:14.861Z"
+ "enrolled_at": "2019-08-15T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:59.045Z",
- "version": "WzMyNDksMV0="
+ "updated_at": "2019-10-17T17:37:56.425Z",
+ "version": "WzExNSwxXQ=="
},
{
"type": "agents",
- "id": "9479df60-f06c-11e9-bc41-371a72358a1e",
+ "id": "db60fb00-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent7",
+ "shared_id": "agent9",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4185,17 +3933,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-14T19:35:14.861Z"
+ "enrolled_at": "2019-08-16T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:54.966Z",
- "version": "WzMyNDUsMV0="
+ "updated_at": "2019-10-17T17:37:57.424Z",
+ "version": "WzExNiwxXQ=="
},
{
"type": "agents",
- "id": "951757e0-f06c-11e9-bc41-371a72358a1e",
+ "id": "de67ab50-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent8",
+ "shared_id": "agent14",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4203,17 +3951,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-15T19:35:14.861Z"
+ "enrolled_at": "2019-08-21T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:55.997Z",
- "version": "WzMyNDYsMV0="
+ "updated_at": "2019-10-17T17:38:02.501Z",
+ "version": "WzEyMSwxXQ=="
},
{
"type": "agents",
- "id": "95b25f60-f06c-11e9-bc41-371a72358a1e",
+ "id": "df02b2d0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent9",
+ "shared_id": "agent15",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -4221,15 +3969,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-16T19:35:14.861Z"
+ "enrolled_at": "2019-08-22T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:27:57.014Z",
- "version": "WzMyNDcsMV0="
+ "updated_at": "2019-10-17T17:38:03.517Z",
+ "version": "WzEyMiwxXQ=="
},
{
"type": "agents",
- "id": "99ed22e0-f06c-11e9-bc41-371a72358a1e",
+ "id": "df9d6c30-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent16",
"active": true,
@@ -4242,12 +3990,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-23T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:04.110Z",
- "version": "WzMyNTQsMV0="
+ "updated_at": "2019-10-17T17:38:04.531Z",
+ "version": "WzEyMywxXQ=="
},
{
"type": "agents",
- "id": "9a89b100-f06c-11e9-bc41-371a72358a1e",
+ "id": "e037d770-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent17",
"active": true,
@@ -4260,12 +4008,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:05.135Z",
- "version": "WzMyNTUsMV0="
+ "updated_at": "2019-10-17T17:38:05.543Z",
+ "version": "WzEyNCwxXQ=="
},
{
"type": "agents",
- "id": "9b249170-f06c-11e9-bc41-371a72358a1e",
+ "id": "e0d4b3b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent18",
"active": true,
@@ -4278,12 +4026,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:06.150Z",
- "version": "WzMyNTYsMV0="
+ "updated_at": "2019-10-17T17:38:06.571Z",
+ "version": "WzEyNSwxXQ=="
},
{
"type": "agents",
- "id": "9bbfe710-f06c-11e9-bc41-371a72358a1e",
+ "id": "e16e3490-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent19",
"active": true,
@@ -4296,12 +4044,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:07.169Z",
- "version": "WzMyNTcsMV0="
+ "updated_at": "2019-10-17T17:38:07.577Z",
+ "version": "WzEyNiwxXQ=="
},
{
"type": "agents",
- "id": "9c5a0430-f06c-11e9-bc41-371a72358a1e",
+ "id": "e20878c0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_1",
"active": false,
@@ -4314,12 +4062,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"enrolled_at": "2019-11-13T20:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:08.179Z",
- "version": "WzMyNTgsMV0="
+ "updated_at": "2019-10-17T17:38:08.588Z",
+ "version": "WzEyNywxXQ=="
},
{
"type": "agents",
- "id": "9cf38510-f06c-11e9-bc41-371a72358a1e",
+ "id": "e2a3a750-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_2",
"active": true,
@@ -4329,16 +4077,16 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-14T23:27:47.873Z",
+ "last_checkin": "2019-10-15T17:37:48.315Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:09.185Z",
- "version": "WzMyNTksMV0="
+ "updated_at": "2019-10-17T17:38:09.605Z",
+ "version": "WzEyOCwxXQ=="
},
{
"type": "agents",
- "id": "9d8dc940-f06c-11e9-bc41-371a72358a1e",
+ "id": "e33cda10-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -4348,113 +4096,113 @@ exports['AgentsRepository list should support to sort by enrolled_at date ASC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:27:47.873Z",
+ "last_checkin": "2019-10-17T17:37:48.315Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:10.196Z",
- "version": "WzMyNjAsMV0="
+ "updated_at": "2019-10-17T17:38:10.609Z",
+ "version": "WzEyOSwxXQ=="
}
]
}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:90405460-f06c-11e9-bc41-371a72358a1e:{} (26)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:d5f383e0-f104-11e9-9e96-810494679327:{} (26)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:917726b0-f06c-11e9-bc41-371a72358a1e:{} (27)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:d7291db0-f104-11e9-9e96-810494679327:{} (27)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:9211b900-f06c-11e9-bc41-371a72358a1e:{} (28)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:d7c33ad0-f104-11e9-9e96-810494679327:{} (28)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:92ac2440-f06c-11e9-bc41-371a72358a1e:{} (29)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:d85d30e0-f104-11e9-9e96-810494679327:{} (29)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:9345cc30-f06c-11e9-bc41-371a72358a1e:{} (30)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:d68e1630-f104-11e9-9e96-810494679327:{} (30)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:93e08590-f06c-11e9-bc41-371a72358a1e:{} (31)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:dd317540-f104-11e9-9e96-810494679327:{} (31)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:90dc1f30-f06c-11e9-bc41-371a72358a1e:{} (32)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:ddcc55b0-f104-11e9-9e96-810494679327:{} (32)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:964e7850-f06c-11e9-bc41-371a72358a1e:{} (33)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:dc97a640-f104-11e9-9e96-810494679327:{} (33)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:978300b0-f06c-11e9-bc41-371a72358a1e:{} (34)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:dbfd6210-f104-11e9-9e96-810494679327:{} (34)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:981de120-f06c-11e9-bc41-371a72358a1e:{} (35)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:d8f68ab0-f104-11e9-9e96-810494679327:{} (35)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:98b89a80-f06c-11e9-bc41-371a72358a1e:{} (36)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:d9945150-f104-11e9-9e96-810494679327:{} (36)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:995305c0-f06c-11e9-bc41-371a72358a1e:{} (37)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:da2e2050-f104-11e9-9e96-810494679327:{} (37)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:96e84750-f06c-11e9-bc41-371a72358a1e:{} (38)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:dac88b90-f104-11e9-9e96-810494679327:{} (38)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:9479df60-f06c-11e9-bc41-371a72358a1e:{} (39)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:db60fb00-f104-11e9-9e96-810494679327:{} (39)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:951757e0-f06c-11e9-bc41-371a72358a1e:{} (40)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:de67ab50-f104-11e9-9e96-810494679327:{} (40)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:95b25f60-f06c-11e9-bc41-371a72358a1e:{} (41)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:df02b2d0-f104-11e9-9e96-810494679327:{} (41)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:99ed22e0-f06c-11e9-bc41-371a72358a1e:{} (42)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:df9d6c30-f104-11e9-9e96-810494679327:{} (42)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:9a89b100-f06c-11e9-bc41-371a72358a1e:{} (43)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:e037d770-f104-11e9-9e96-810494679327:{} (43)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:9b249170-f06c-11e9-bc41-371a72358a1e:{} (44)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:e0d4b3b0-f104-11e9-9e96-810494679327:{} (44)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:9bbfe710-f06c-11e9-bc41-371a72358a1e:{} (45)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:e16e3490-f104-11e9-9e96-810494679327:{} (45)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:9c5a0430-f06c-11e9-bc41-371a72358a1e:{} (46)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:e20878c0-f104-11e9-9e96-810494679327:{} (46)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:9cf38510-f06c-11e9-bc41-371a72358a1e:{} (47)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:e2a3a750-f104-11e9-9e96-810494679327:{} (47)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:9d8dc940-f06c-11e9-bc41-371a72358a1e:{} (48)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date ASC - delete:agents:e33cda10-f104-11e9-9e96-810494679327:{} (48)'] = {
"results": {}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (1)'] = {
"results": {
"type": "agents",
- "id": "ac0fc680-f06c-11e9-bc41-371a72358a1e",
+ "id": "f1be1400-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent0",
"active": true,
@@ -4467,15 +4215,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:34.536Z",
- "version": "WzMyODQsMV0="
+ "updated_at": "2019-10-17T17:38:34.944Z",
+ "version": "WzE1MywxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (2)'] = {
"results": {
"type": "agents",
- "id": "acaa7fe0-f06c-11e9-bc41-371a72358a1e",
+ "id": "f2565c60-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": true,
@@ -4488,15 +4236,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:35.550Z",
- "version": "WzMyODUsMV0="
+ "updated_at": "2019-10-17T17:38:35.941Z",
+ "version": "WzE1NCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (3)'] = {
"results": {
"type": "agents",
- "id": "ad4475f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "f2f163e0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": true,
@@ -4509,15 +4257,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-09T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:36.559Z",
- "version": "WzMyODYsMV0="
+ "updated_at": "2019-10-17T17:38:36.958Z",
+ "version": "WzE1NSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (4)'] = {
"results": {
"type": "agents",
- "id": "ade1a050-f06c-11e9-bc41-371a72358a1e",
+ "id": "f38b0bd0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent3",
"active": true,
@@ -4530,15 +4278,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-10T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:37.589Z",
- "version": "WzMyODcsMV0="
+ "updated_at": "2019-10-17T17:38:37.964Z",
+ "version": "WzE1NiwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (5)'] = {
"results": {
"type": "agents",
- "id": "ae7b6f50-f06c-11e9-bc41-371a72358a1e",
+ "id": "f4257710-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent4",
"active": true,
@@ -4551,15 +4299,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-11T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:38.597Z",
- "version": "WzMyODgsMV0="
+ "updated_at": "2019-10-17T17:38:38.977Z",
+ "version": "WzE1NywxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (6)'] = {
"results": {
"type": "agents",
- "id": "af158c70-f06c-11e9-bc41-371a72358a1e",
+ "id": "f4c11ad0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent5",
"active": true,
@@ -4572,15 +4320,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-12T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:39.607Z",
- "version": "WzMyODksMV0="
+ "updated_at": "2019-10-17T17:38:39.997Z",
+ "version": "WzE1OCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (7)'] = {
"results": {
"type": "agents",
- "id": "afafa990-f06c-11e9-bc41-371a72358a1e",
+ "id": "f55b5f00-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent6",
"active": true,
@@ -4593,15 +4341,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-13T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:40.617Z",
- "version": "WzMyOTAsMV0="
+ "updated_at": "2019-10-17T17:38:41.008Z",
+ "version": "WzE1OSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (8)'] = {
"results": {
"type": "agents",
- "id": "b04c85d0-f06c-11e9-bc41-371a72358a1e",
+ "id": "f5f5f150-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent7",
"active": true,
@@ -4614,15 +4362,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-14T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:41.645Z",
- "version": "WzMyOTEsMV0="
+ "updated_at": "2019-10-17T17:38:42.021Z",
+ "version": "WzE2MCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (9)'] = {
"results": {
"type": "agents",
- "id": "b0e6f110-f06c-11e9-bc41-371a72358a1e",
+ "id": "f68fe760-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent8",
"active": true,
@@ -4635,15 +4383,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-15T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:42.657Z",
- "version": "WzMyOTIsMV0="
+ "updated_at": "2019-10-17T17:38:43.030Z",
+ "version": "WzE2MSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (10)'] = {
"results": {
"type": "agents",
- "id": "b17ec440-f06c-11e9-bc41-371a72358a1e",
+ "id": "f72aeee0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent9",
"active": true,
@@ -4656,15 +4404,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-16T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:43.652Z",
- "version": "WzMyOTMsMV0="
+ "updated_at": "2019-10-17T17:38:44.046Z",
+ "version": "WzE2MiwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (11)'] = {
"results": {
"type": "agents",
- "id": "b21b0440-f06c-11e9-bc41-371a72358a1e",
+ "id": "f7c6b9b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent10",
"active": true,
@@ -4677,15 +4425,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-17T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:44.676Z",
- "version": "WzMyOTQsMV0="
+ "updated_at": "2019-10-17T17:38:45.067Z",
+ "version": "WzE2MywxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (12)'] = {
"results": {
"type": "agents",
- "id": "b2b632d0-f06c-11e9-bc41-371a72358a1e",
+ "id": "f86061a0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent11",
"active": true,
@@ -4698,15 +4446,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-18T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:45.692Z",
- "version": "WzMyOTUsMV0="
+ "updated_at": "2019-10-17T17:38:46.074Z",
+ "version": "WzE2NCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (13)'] = {
"results": {
"type": "agents",
- "id": "b350c520-f06c-11e9-bc41-371a72358a1e",
+ "id": "f8fb4210-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent12",
"active": true,
@@ -4719,15 +4467,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-19T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:46.705Z",
- "version": "WzMyOTYsMV0="
+ "updated_at": "2019-10-17T17:38:47.089Z",
+ "version": "WzE2NSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (14)'] = {
"results": {
"type": "agents",
- "id": "b3eb7e80-f06c-11e9-bc41-371a72358a1e",
+ "id": "f9962280-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent13",
"active": true,
@@ -4740,15 +4488,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-20T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:47.719Z",
- "version": "WzMyOTcsMV0="
+ "updated_at": "2019-10-17T17:38:48.104Z",
+ "version": "WzE2NiwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (15)'] = {
"results": {
"type": "agents",
- "id": "b486ad10-f06c-11e9-bc41-371a72358a1e",
+ "id": "fa3102f0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent14",
"active": true,
@@ -4761,15 +4509,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-21T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:48.737Z",
- "version": "WzMyOTgsMV0="
+ "updated_at": "2019-10-17T17:38:49.119Z",
+ "version": "WzE2NywxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (16)'] = {
"results": {
"type": "agents",
- "id": "b5207c10-f06c-11e9-bc41-371a72358a1e",
+ "id": "facbbc50-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent15",
"active": true,
@@ -4782,15 +4530,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-22T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:49.745Z",
- "version": "WzMyOTksMV0="
+ "updated_at": "2019-10-17T17:38:50.133Z",
+ "version": "WzE2OCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (17)'] = {
"results": {
"type": "agents",
- "id": "b5bd3140-f06c-11e9-bc41-371a72358a1e",
+ "id": "fb664ea0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent16",
"active": true,
@@ -4803,15 +4551,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-23T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:50.772Z",
- "version": "WzMzMDAsMV0="
+ "updated_at": "2019-10-17T17:38:51.146Z",
+ "version": "WzE2OSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (18)'] = {
"results": {
"type": "agents",
- "id": "b6585fd0-f06c-11e9-bc41-371a72358a1e",
+ "id": "fc0092d0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent17",
"active": true,
@@ -4824,15 +4572,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:51.789Z",
- "version": "WzMzMDEsMV0="
+ "updated_at": "2019-10-17T17:38:52.157Z",
+ "version": "WzE3MCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (19)'] = {
"results": {
"type": "agents",
- "id": "b6f36750-f06c-11e9-bc41-371a72358a1e",
+ "id": "fc9b4c30-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent18",
"active": true,
@@ -4845,15 +4593,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:52.805Z",
- "version": "WzMzMDIsMV0="
+ "updated_at": "2019-10-17T17:38:53.171Z",
+ "version": "WzE3MSwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (20)'] = {
"results": {
"type": "agents",
- "id": "b78dab80-f06c-11e9-bc41-371a72358a1e",
+ "id": "fd35b770-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent19",
"active": true,
@@ -4866,15 +4614,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:53.816Z",
- "version": "WzMzMDMsMV0="
+ "updated_at": "2019-10-17T17:38:54.182Z",
+ "version": "WzE3MiwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (21)'] = {
"results": {
"type": "agents",
- "id": "b828b300-f06c-11e9-bc41-371a72358a1e",
+ "id": "fdcf5f60-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_1",
"active": false,
@@ -4887,15 +4635,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-11-13T20:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:54.832Z",
- "version": "WzMzMDQsMV0="
+ "updated_at": "2019-10-17T17:38:55.189Z",
+ "version": "WzE3MywxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (22)'] = {
"results": {
"type": "agents",
- "id": "b8c34550-f06c-11e9-bc41-371a72358a1e",
+ "id": "fe695570-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "inactive_agent_2",
"active": true,
@@ -4905,19 +4653,19 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-14T23:28:34.531Z",
+ "last_checkin": "2019-10-15T17:38:34.939Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:55.845Z",
- "version": "WzMzMDUsMV0="
+ "updated_at": "2019-10-17T17:38:56.199Z",
+ "version": "WzE3NCwxXQ=="
}
}
exports['AgentsRepository list should support to sort by enrolled_at date DESC - create:agents (23)'] = {
"results": {
"type": "agents",
- "id": "b95d8980-f06c-11e9-bc41-371a72358a1e",
+ "id": "ff014fb0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -4927,12 +4675,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:28:34.531Z",
+ "last_checkin": "2019-10-17T17:38:34.939Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:56.856Z",
- "version": "WzMzMDYsMV0="
+ "updated_at": "2019-10-17T17:38:57.195Z",
+ "version": "WzE3NSwxXQ=="
}
}
@@ -4944,7 +4692,7 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"saved_objects": [
{
"type": "agents",
- "id": "b78dab80-f06c-11e9-bc41-371a72358a1e",
+ "id": "fd35b770-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent19",
"active": true,
@@ -4957,12 +4705,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:53.816Z",
- "version": "WzMzMDMsMV0="
+ "updated_at": "2019-10-17T17:38:54.182Z",
+ "version": "WzE3MiwxXQ=="
},
{
"type": "agents",
- "id": "b6f36750-f06c-11e9-bc41-371a72358a1e",
+ "id": "fc9b4c30-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent18",
"active": true,
@@ -4975,12 +4723,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:52.805Z",
- "version": "WzMzMDIsMV0="
+ "updated_at": "2019-10-17T17:38:53.171Z",
+ "version": "WzE3MSwxXQ=="
},
{
"type": "agents",
- "id": "b6585fd0-f06c-11e9-bc41-371a72358a1e",
+ "id": "fc0092d0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent17",
"active": true,
@@ -4993,8 +4741,8 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:51.789Z",
- "version": "WzMzMDEsMV0="
+ "updated_at": "2019-10-17T17:38:52.157Z",
+ "version": "WzE3MCwxXQ=="
}
]
}
@@ -5008,7 +4756,7 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"saved_objects": [
{
"type": "agents",
- "id": "ac0fc680-f06c-11e9-bc41-371a72358a1e",
+ "id": "f1be1400-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent0",
"active": true,
@@ -5021,12 +4769,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-07T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:34.536Z",
- "version": "WzMyODQsMV0="
+ "updated_at": "2019-10-17T17:38:34.944Z",
+ "version": "WzE1MywxXQ=="
},
{
"type": "agents",
- "id": "ad4475f0-f06c-11e9-bc41-371a72358a1e",
+ "id": "f2f163e0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": true,
@@ -5039,12 +4787,12 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-09T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:36.559Z",
- "version": "WzMyODYsMV0="
+ "updated_at": "2019-10-17T17:38:36.958Z",
+ "version": "WzE1NSwxXQ=="
},
{
"type": "agents",
- "id": "ade1a050-f06c-11e9-bc41-371a72358a1e",
+ "id": "f38b0bd0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent3",
"active": true,
@@ -5057,14 +4805,14 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-10T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:37.589Z",
- "version": "WzMyODcsMV0="
+ "updated_at": "2019-10-17T17:38:37.964Z",
+ "version": "WzE1NiwxXQ=="
},
{
"type": "agents",
- "id": "ae7b6f50-f06c-11e9-bc41-371a72358a1e",
+ "id": "f2565c60-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent4",
+ "shared_id": "agent1",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5072,17 +4820,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-11T19:35:14.861Z"
+ "enrolled_at": "2019-08-08T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:38.597Z",
- "version": "WzMyODgsMV0="
+ "updated_at": "2019-10-17T17:38:35.941Z",
+ "version": "WzE1NCwxXQ=="
},
{
"type": "agents",
- "id": "af158c70-f06c-11e9-bc41-371a72358a1e",
+ "id": "f8fb4210-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent5",
+ "shared_id": "agent12",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5090,17 +4838,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-12T19:35:14.861Z"
+ "enrolled_at": "2019-08-19T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:39.607Z",
- "version": "WzMyODksMV0="
+ "updated_at": "2019-10-17T17:38:47.089Z",
+ "version": "WzE2NSwxXQ=="
},
{
"type": "agents",
- "id": "acaa7fe0-f06c-11e9-bc41-371a72358a1e",
+ "id": "f86061a0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent1",
+ "shared_id": "agent11",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5108,15 +4856,15 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-08T19:35:14.861Z"
+ "enrolled_at": "2019-08-18T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:35.550Z",
- "version": "WzMyODUsMV0="
+ "updated_at": "2019-10-17T17:38:46.074Z",
+ "version": "WzE2NCwxXQ=="
},
{
"type": "agents",
- "id": "b21b0440-f06c-11e9-bc41-371a72358a1e",
+ "id": "f7c6b9b0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent10",
"active": true,
@@ -5129,14 +4877,14 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"enrolled_at": "2019-08-17T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:44.676Z",
- "version": "WzMyOTQsMV0="
+ "updated_at": "2019-10-17T17:38:45.067Z",
+ "version": "WzE2MywxXQ=="
},
{
"type": "agents",
- "id": "b350c520-f06c-11e9-bc41-371a72358a1e",
+ "id": "f4257710-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent12",
+ "shared_id": "agent4",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5144,17 +4892,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-19T19:35:14.861Z"
+ "enrolled_at": "2019-08-11T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:46.705Z",
- "version": "WzMyOTYsMV0="
+ "updated_at": "2019-10-17T17:38:38.977Z",
+ "version": "WzE1NywxXQ=="
},
{
"type": "agents",
- "id": "b3eb7e80-f06c-11e9-bc41-371a72358a1e",
+ "id": "f4c11ad0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent13",
+ "shared_id": "agent5",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5162,17 +4910,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-20T19:35:14.861Z"
+ "enrolled_at": "2019-08-12T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:47.719Z",
- "version": "WzMyOTcsMV0="
+ "updated_at": "2019-10-17T17:38:39.997Z",
+ "version": "WzE1OCwxXQ=="
},
{
"type": "agents",
- "id": "b486ad10-f06c-11e9-bc41-371a72358a1e",
+ "id": "f55b5f00-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent14",
+ "shared_id": "agent6",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5180,17 +4928,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-21T19:35:14.861Z"
+ "enrolled_at": "2019-08-13T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:48.737Z",
- "version": "WzMyOTgsMV0="
+ "updated_at": "2019-10-17T17:38:41.008Z",
+ "version": "WzE1OSwxXQ=="
},
{
"type": "agents",
- "id": "b2b632d0-f06c-11e9-bc41-371a72358a1e",
+ "id": "f5f5f150-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent11",
+ "shared_id": "agent7",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5198,17 +4946,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-18T19:35:14.861Z"
+ "enrolled_at": "2019-08-14T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:45.692Z",
- "version": "WzMyOTUsMV0="
+ "updated_at": "2019-10-17T17:38:42.021Z",
+ "version": "WzE2MCwxXQ=="
},
{
"type": "agents",
- "id": "afafa990-f06c-11e9-bc41-371a72358a1e",
+ "id": "f68fe760-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent6",
+ "shared_id": "agent8",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5216,17 +4964,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-13T19:35:14.861Z"
+ "enrolled_at": "2019-08-15T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:40.617Z",
- "version": "WzMyOTAsMV0="
+ "updated_at": "2019-10-17T17:38:43.030Z",
+ "version": "WzE2MSwxXQ=="
},
{
"type": "agents",
- "id": "b04c85d0-f06c-11e9-bc41-371a72358a1e",
+ "id": "f72aeee0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent7",
+ "shared_id": "agent9",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5234,53 +4982,54 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-14T19:35:14.861Z"
+ "enrolled_at": "2019-08-16T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:41.645Z",
- "version": "WzMyOTEsMV0="
+ "updated_at": "2019-10-17T17:38:44.046Z",
+ "version": "WzE2MiwxXQ=="
},
{
"type": "agents",
- "id": "b0e6f110-f06c-11e9-bc41-371a72358a1e",
+ "id": "fe695570-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent8",
+ "shared_id": "inactive_agent_2",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
- "type": "PERMANENT",
+ "type": "EPHEMERAL",
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-15T19:35:14.861Z"
+ "last_checkin": "2019-10-15T17:38:34.939Z",
+ "enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:42.657Z",
- "version": "WzMyOTIsMV0="
+ "updated_at": "2019-10-17T17:38:56.199Z",
+ "version": "WzE3NCwxXQ=="
},
{
"type": "agents",
- "id": "b17ec440-f06c-11e9-bc41-371a72358a1e",
+ "id": "fdcf5f60-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent9",
- "active": true,
+ "shared_id": "inactive_agent_1",
+ "active": false,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
"type": "PERMANENT",
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-16T19:35:14.861Z"
+ "enrolled_at": "2019-11-13T20:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:43.652Z",
- "version": "WzMyOTMsMV0="
+ "updated_at": "2019-10-17T17:38:55.189Z",
+ "version": "WzE3MywxXQ=="
},
{
"type": "agents",
- "id": "b5207c10-f06c-11e9-bc41-371a72358a1e",
+ "id": "f9962280-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent15",
+ "shared_id": "agent13",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5288,17 +5037,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-22T19:35:14.861Z"
+ "enrolled_at": "2019-08-20T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:49.745Z",
- "version": "WzMyOTksMV0="
+ "updated_at": "2019-10-17T17:38:48.104Z",
+ "version": "WzE2NiwxXQ=="
},
{
"type": "agents",
- "id": "b5bd3140-f06c-11e9-bc41-371a72358a1e",
+ "id": "fa3102f0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent16",
+ "shared_id": "agent14",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5306,17 +5055,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-23T19:35:14.861Z"
+ "enrolled_at": "2019-08-21T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:50.772Z",
- "version": "WzMzMDAsMV0="
+ "updated_at": "2019-10-17T17:38:49.119Z",
+ "version": "WzE2NywxXQ=="
},
{
"type": "agents",
- "id": "b6585fd0-f06c-11e9-bc41-371a72358a1e",
+ "id": "facbbc50-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent17",
+ "shared_id": "agent15",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5324,17 +5073,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-24T19:35:14.861Z"
+ "enrolled_at": "2019-08-22T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:51.789Z",
- "version": "WzMzMDEsMV0="
+ "updated_at": "2019-10-17T17:38:50.133Z",
+ "version": "WzE2OCwxXQ=="
},
{
"type": "agents",
- "id": "b6f36750-f06c-11e9-bc41-371a72358a1e",
+ "id": "fb664ea0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent18",
+ "shared_id": "agent16",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5342,17 +5091,17 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-25T19:35:14.861Z"
+ "enrolled_at": "2019-08-23T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:52.805Z",
- "version": "WzMzMDIsMV0="
+ "updated_at": "2019-10-17T17:38:51.146Z",
+ "version": "WzE2OSwxXQ=="
},
{
"type": "agents",
- "id": "b78dab80-f06c-11e9-bc41-371a72358a1e",
+ "id": "fc0092d0-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "agent19",
+ "shared_id": "agent17",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
@@ -5360,52 +5109,51 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-08-26T19:35:14.861Z"
+ "enrolled_at": "2019-08-24T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:53.816Z",
- "version": "WzMzMDMsMV0="
+ "updated_at": "2019-10-17T17:38:52.157Z",
+ "version": "WzE3MCwxXQ=="
},
{
"type": "agents",
- "id": "b828b300-f06c-11e9-bc41-371a72358a1e",
+ "id": "fc9b4c30-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "inactive_agent_1",
- "active": false,
+ "shared_id": "agent18",
+ "active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
"type": "PERMANENT",
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "enrolled_at": "2019-11-13T20:35:14.861Z"
+ "enrolled_at": "2019-08-25T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:54.832Z",
- "version": "WzMzMDQsMV0="
+ "updated_at": "2019-10-17T17:38:53.171Z",
+ "version": "WzE3MSwxXQ=="
},
{
"type": "agents",
- "id": "b8c34550-f06c-11e9-bc41-371a72358a1e",
+ "id": "fd35b770-f104-11e9-9e96-810494679327",
"attributes": {
- "shared_id": "inactive_agent_2",
+ "shared_id": "agent19",
"active": true,
"access_token": "TOKEN_1",
"policy_id": "policy_id_1",
- "type": "EPHEMERAL",
+ "type": "PERMANENT",
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-14T23:28:34.531Z",
- "enrolled_at": "2019-08-05T19:35:14.861Z"
+ "enrolled_at": "2019-08-26T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:55.845Z",
- "version": "WzMzMDUsMV0="
+ "updated_at": "2019-10-17T17:38:54.182Z",
+ "version": "WzE3MiwxXQ=="
},
{
"type": "agents",
- "id": "b95d8980-f06c-11e9-bc41-371a72358a1e",
+ "id": "ff014fb0-f104-11e9-9e96-810494679327",
"attributes": {
"shared_id": "ephemeral1",
"active": true,
@@ -5415,113 +5163,298 @@ exports['AgentsRepository list should support to sort by enrolled_at date DESC -
"version": "1",
"local_metadata": "{\"host\":\"test.fr\"}",
"user_provided_metadata": "{\"color\":\"red\"}",
- "last_checkin": "2019-10-16T23:28:34.531Z",
+ "last_checkin": "2019-10-17T17:38:34.939Z",
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:28:56.856Z",
- "version": "WzMzMDYsMV0="
+ "updated_at": "2019-10-17T17:38:57.195Z",
+ "version": "WzE3NSwxXQ=="
}
]
}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:ac0fc680-f06c-11e9-bc41-371a72358a1e:{} (26)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f1be1400-f104-11e9-9e96-810494679327:{} (26)'] = {
+ "results": {}
+}
+
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f2f163e0-f104-11e9-9e96-810494679327:{} (27)'] = {
+ "results": {}
+}
+
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f38b0bd0-f104-11e9-9e96-810494679327:{} (28)'] = {
+ "results": {}
+}
+
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f2565c60-f104-11e9-9e96-810494679327:{} (29)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:ad4475f0-f06c-11e9-bc41-371a72358a1e:{} (27)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f8fb4210-f104-11e9-9e96-810494679327:{} (30)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:ade1a050-f06c-11e9-bc41-371a72358a1e:{} (28)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f86061a0-f104-11e9-9e96-810494679327:{} (31)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:ae7b6f50-f06c-11e9-bc41-371a72358a1e:{} (29)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f7c6b9b0-f104-11e9-9e96-810494679327:{} (32)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:af158c70-f06c-11e9-bc41-371a72358a1e:{} (30)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f4257710-f104-11e9-9e96-810494679327:{} (33)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:acaa7fe0-f06c-11e9-bc41-371a72358a1e:{} (31)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f4c11ad0-f104-11e9-9e96-810494679327:{} (34)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b21b0440-f06c-11e9-bc41-371a72358a1e:{} (32)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f55b5f00-f104-11e9-9e96-810494679327:{} (35)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b350c520-f06c-11e9-bc41-371a72358a1e:{} (33)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f5f5f150-f104-11e9-9e96-810494679327:{} (36)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b3eb7e80-f06c-11e9-bc41-371a72358a1e:{} (34)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f68fe760-f104-11e9-9e96-810494679327:{} (37)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b486ad10-f06c-11e9-bc41-371a72358a1e:{} (35)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f72aeee0-f104-11e9-9e96-810494679327:{} (38)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b2b632d0-f06c-11e9-bc41-371a72358a1e:{} (36)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:fe695570-f104-11e9-9e96-810494679327:{} (39)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:afafa990-f06c-11e9-bc41-371a72358a1e:{} (37)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:fdcf5f60-f104-11e9-9e96-810494679327:{} (40)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b04c85d0-f06c-11e9-bc41-371a72358a1e:{} (38)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:f9962280-f104-11e9-9e96-810494679327:{} (41)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b0e6f110-f06c-11e9-bc41-371a72358a1e:{} (39)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:fa3102f0-f104-11e9-9e96-810494679327:{} (42)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b17ec440-f06c-11e9-bc41-371a72358a1e:{} (40)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:facbbc50-f104-11e9-9e96-810494679327:{} (43)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b5207c10-f06c-11e9-bc41-371a72358a1e:{} (41)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:fb664ea0-f104-11e9-9e96-810494679327:{} (44)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b5bd3140-f06c-11e9-bc41-371a72358a1e:{} (42)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:fc0092d0-f104-11e9-9e96-810494679327:{} (45)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b6585fd0-f06c-11e9-bc41-371a72358a1e:{} (43)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:fc9b4c30-f104-11e9-9e96-810494679327:{} (46)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b6f36750-f06c-11e9-bc41-371a72358a1e:{} (44)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:fd35b770-f104-11e9-9e96-810494679327:{} (47)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b78dab80-f06c-11e9-bc41-371a72358a1e:{} (45)'] = {
+exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:ff014fb0-f104-11e9-9e96-810494679327:{} (48)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b828b300-f06c-11e9-bc41-371a72358a1e:{} (46)'] = {
+exports['AgentsRepository list for policy should allow to list agents for a policy - create:agents (1)'] = {
+ "results": {
+ "type": "agents",
+ "id": "0d812a10-f105-11e9-9e96-810494679327",
+ "attributes": {
+ "shared_id": "agent1",
+ "active": true,
+ "access_token": "TOKEN_1",
+ "policy_id": "policy-id-1",
+ "type": "PERMANENT",
+ "version": "1",
+ "local_metadata": "{}",
+ "user_provided_metadata": "{}",
+ "enrolled_at": "2019-08-05T19:35:14.861Z"
+ },
+ "references": [],
+ "updated_at": "2019-10-17T17:39:21.521Z",
+ "version": "WzE5OSwxXQ=="
+ }
+}
+
+exports['AgentsRepository list for policy should allow to list agents for a policy - create:agents (2)'] = {
+ "results": {
+ "type": "agents",
+ "id": "0e1ca6c0-f105-11e9-9e96-810494679327",
+ "attributes": {
+ "shared_id": "agent2",
+ "active": true,
+ "access_token": "TOKEN_1",
+ "policy_id": "policy-id-1",
+ "type": "PERMANENT",
+ "version": "1",
+ "local_metadata": "{}",
+ "user_provided_metadata": "{}",
+ "enrolled_at": "2019-08-05T19:35:14.861Z"
+ },
+ "references": [],
+ "updated_at": "2019-10-17T17:39:22.540Z",
+ "version": "WzIwMCwxXQ=="
+ }
+}
+
+exports['AgentsRepository list for policy should allow to list agents for a policy - create:agents (3)'] = {
+ "results": {
+ "type": "agents",
+ "id": "0eb6c3e0-f105-11e9-9e96-810494679327",
+ "attributes": {
+ "shared_id": "agent3",
+ "active": true,
+ "access_token": "TOKEN_1",
+ "policy_id": "policy-id-2",
+ "type": "PERMANENT",
+ "version": "1",
+ "local_metadata": "{}",
+ "user_provided_metadata": "{}",
+ "enrolled_at": "2019-08-05T19:35:14.861Z"
+ },
+ "references": [],
+ "updated_at": "2019-10-17T17:39:23.550Z",
+ "version": "WzIwMSwxXQ=="
+ }
+}
+
+exports['AgentsRepository list for policy should allow to list agents for a policy - find:"agents" (4)'] = {
+ "results": {
+ "page": 1,
+ "per_page": 20,
+ "total": 2,
+ "saved_objects": [
+ {
+ "type": "agents",
+ "id": "0d812a10-f105-11e9-9e96-810494679327",
+ "attributes": {
+ "shared_id": "agent1",
+ "active": true,
+ "access_token": "TOKEN_1",
+ "policy_id": "policy-id-1",
+ "type": "PERMANENT",
+ "version": "1",
+ "local_metadata": "{}",
+ "user_provided_metadata": "{}",
+ "enrolled_at": "2019-08-05T19:35:14.861Z"
+ },
+ "references": [],
+ "updated_at": "2019-10-17T17:39:21.521Z",
+ "version": "WzE5OSwxXQ=="
+ },
+ {
+ "type": "agents",
+ "id": "0e1ca6c0-f105-11e9-9e96-810494679327",
+ "attributes": {
+ "shared_id": "agent2",
+ "active": true,
+ "access_token": "TOKEN_1",
+ "policy_id": "policy-id-1",
+ "type": "PERMANENT",
+ "version": "1",
+ "local_metadata": "{}",
+ "user_provided_metadata": "{}",
+ "enrolled_at": "2019-08-05T19:35:14.861Z"
+ },
+ "references": [],
+ "updated_at": "2019-10-17T17:39:22.540Z",
+ "version": "WzIwMCwxXQ=="
+ }
+ ]
+ }
+}
+
+exports['AgentsRepository list for policy should allow to list agents for a policy - find:"agents" (5)'] = {
+ "results": {
+ "page": 1,
+ "per_page": 1000,
+ "total": 3,
+ "saved_objects": [
+ {
+ "type": "agents",
+ "id": "0d812a10-f105-11e9-9e96-810494679327",
+ "attributes": {
+ "shared_id": "agent1",
+ "active": true,
+ "access_token": "TOKEN_1",
+ "policy_id": "policy-id-1",
+ "type": "PERMANENT",
+ "version": "1",
+ "local_metadata": "{}",
+ "user_provided_metadata": "{}",
+ "enrolled_at": "2019-08-05T19:35:14.861Z"
+ },
+ "references": [],
+ "updated_at": "2019-10-17T17:39:21.521Z",
+ "version": "WzE5OSwxXQ=="
+ },
+ {
+ "type": "agents",
+ "id": "0e1ca6c0-f105-11e9-9e96-810494679327",
+ "attributes": {
+ "shared_id": "agent2",
+ "active": true,
+ "access_token": "TOKEN_1",
+ "policy_id": "policy-id-1",
+ "type": "PERMANENT",
+ "version": "1",
+ "local_metadata": "{}",
+ "user_provided_metadata": "{}",
+ "enrolled_at": "2019-08-05T19:35:14.861Z"
+ },
+ "references": [],
+ "updated_at": "2019-10-17T17:39:22.540Z",
+ "version": "WzIwMCwxXQ=="
+ },
+ {
+ "type": "agents",
+ "id": "0eb6c3e0-f105-11e9-9e96-810494679327",
+ "attributes": {
+ "shared_id": "agent3",
+ "active": true,
+ "access_token": "TOKEN_1",
+ "policy_id": "policy-id-2",
+ "type": "PERMANENT",
+ "version": "1",
+ "local_metadata": "{}",
+ "user_provided_metadata": "{}",
+ "enrolled_at": "2019-08-05T19:35:14.861Z"
+ },
+ "references": [],
+ "updated_at": "2019-10-17T17:39:23.550Z",
+ "version": "WzIwMSwxXQ=="
+ }
+ ]
+ }
+}
+
+exports['AgentsRepository list for policy should allow to list agents for a policy - delete:agents:0d812a10-f105-11e9-9e96-810494679327:{} (6)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b8c34550-f06c-11e9-bc41-371a72358a1e:{} (47)'] = {
+exports['AgentsRepository list for policy should allow to list agents for a policy - delete:agents:0e1ca6c0-f105-11e9-9e96-810494679327:{} (7)'] = {
"results": {}
}
-exports['AgentsRepository list should support to sort by enrolled_at date DESC - delete:agents:b95d8980-f06c-11e9-bc41-371a72358a1e:{} (48)'] = {
+exports['AgentsRepository list for policy should allow to list agents for a policy - delete:agents:0eb6c3e0-f105-11e9-9e96-810494679327:{} (8)'] = {
"results": {}
}
exports['AgentsRepository findByMetadata should allow to find agents by local metadata - create:agents (1)'] = {
"results": {
"type": "agents",
- "id": "c7e3f390-f06c-11e9-bc41-371a72358a1e",
+ "id": "111f5f70-f105-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": false,
@@ -5534,15 +5467,15 @@ exports['AgentsRepository findByMetadata should allow to find agents by local me
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:29:21.224Z",
- "version": "WzMzMzAsMV0="
+ "updated_at": "2019-10-17T17:39:27.591Z",
+ "version": "WzIwNSwxXQ=="
}
}
exports['AgentsRepository findByMetadata should allow to find agents by local metadata - create:agents (2)'] = {
"results": {
"type": "agents",
- "id": "c87ed400-f06c-11e9-bc41-371a72358a1e",
+ "id": "11bc3bb0-f105-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": false,
@@ -5555,8 +5488,8 @@ exports['AgentsRepository findByMetadata should allow to find agents by local me
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:29:22.240Z",
- "version": "WzMzMzEsMV0="
+ "updated_at": "2019-10-17T17:39:28.618Z",
+ "version": "WzIwNiwxXQ=="
}
}
@@ -5568,7 +5501,7 @@ exports['AgentsRepository findByMetadata should allow to find agents by local me
"saved_objects": [
{
"type": "agents",
- "id": "c87ed400-f06c-11e9-bc41-371a72358a1e",
+ "id": "11bc3bb0-f105-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": false,
@@ -5581,8 +5514,8 @@ exports['AgentsRepository findByMetadata should allow to find agents by local me
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:29:22.240Z",
- "version": "WzMzMzEsMV0="
+ "updated_at": "2019-10-17T17:39:28.618Z",
+ "version": "WzIwNiwxXQ=="
}
]
}
@@ -5596,7 +5529,7 @@ exports['AgentsRepository findByMetadata should allow to find agents by local me
"saved_objects": [
{
"type": "agents",
- "id": "c7e3f390-f06c-11e9-bc41-371a72358a1e",
+ "id": "111f5f70-f105-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": false,
@@ -5609,12 +5542,12 @@ exports['AgentsRepository findByMetadata should allow to find agents by local me
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:29:21.224Z",
- "version": "WzMzMzAsMV0="
+ "updated_at": "2019-10-17T17:39:27.591Z",
+ "version": "WzIwNSwxXQ=="
},
{
"type": "agents",
- "id": "c87ed400-f06c-11e9-bc41-371a72358a1e",
+ "id": "11bc3bb0-f105-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": false,
@@ -5627,25 +5560,25 @@ exports['AgentsRepository findByMetadata should allow to find agents by local me
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:29:22.240Z",
- "version": "WzMzMzEsMV0="
+ "updated_at": "2019-10-17T17:39:28.618Z",
+ "version": "WzIwNiwxXQ=="
}
]
}
}
-exports['AgentsRepository findByMetadata should allow to find agents by local metadata - delete:agents:c7e3f390-f06c-11e9-bc41-371a72358a1e:{} (5)'] = {
+exports['AgentsRepository findByMetadata should allow to find agents by local metadata - delete:agents:111f5f70-f105-11e9-9e96-810494679327:{} (5)'] = {
"results": {}
}
-exports['AgentsRepository findByMetadata should allow to find agents by local metadata - delete:agents:c87ed400-f06c-11e9-bc41-371a72358a1e:{} (6)'] = {
+exports['AgentsRepository findByMetadata should allow to find agents by local metadata - delete:agents:11bc3bb0-f105-11e9-9e96-810494679327:{} (6)'] = {
"results": {}
}
exports['AgentsRepository findByMetadata should allow to find agents by user provided metadata - create:agents (1)'] = {
"results": {
"type": "agents",
- "id": "ca4f0020-f06c-11e9-bc41-371a72358a1e",
+ "id": "138ba480-f105-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": false,
@@ -5658,15 +5591,15 @@ exports['AgentsRepository findByMetadata should allow to find agents by user pro
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:29:25.282Z",
- "version": "WzMzMzQsMV0="
+ "updated_at": "2019-10-17T17:39:31.656Z",
+ "version": "WzIwOSwxXQ=="
}
}
exports['AgentsRepository findByMetadata should allow to find agents by user provided metadata - create:agents (2)'] = {
"results": {
"type": "agents",
- "id": "cae8f630-f06c-11e9-bc41-371a72358a1e",
+ "id": "14260fc0-f105-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": false,
@@ -5679,8 +5612,8 @@ exports['AgentsRepository findByMetadata should allow to find agents by user pro
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:29:26.291Z",
- "version": "WzMzMzUsMV0="
+ "updated_at": "2019-10-17T17:39:32.668Z",
+ "version": "WzIxMCwxXQ=="
}
}
@@ -5692,7 +5625,7 @@ exports['AgentsRepository findByMetadata should allow to find agents by user pro
"saved_objects": [
{
"type": "agents",
- "id": "ca4f0020-f06c-11e9-bc41-371a72358a1e",
+ "id": "138ba480-f105-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": false,
@@ -5705,8 +5638,8 @@ exports['AgentsRepository findByMetadata should allow to find agents by user pro
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:29:25.282Z",
- "version": "WzMzMzQsMV0="
+ "updated_at": "2019-10-17T17:39:31.656Z",
+ "version": "WzIwOSwxXQ=="
}
]
}
@@ -5720,7 +5653,7 @@ exports['AgentsRepository findByMetadata should allow to find agents by user pro
"saved_objects": [
{
"type": "agents",
- "id": "ca4f0020-f06c-11e9-bc41-371a72358a1e",
+ "id": "138ba480-f105-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent1",
"active": false,
@@ -5733,12 +5666,12 @@ exports['AgentsRepository findByMetadata should allow to find agents by user pro
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:29:25.282Z",
- "version": "WzMzMzQsMV0="
+ "updated_at": "2019-10-17T17:39:31.656Z",
+ "version": "WzIwOSwxXQ=="
},
{
"type": "agents",
- "id": "cae8f630-f06c-11e9-bc41-371a72358a1e",
+ "id": "14260fc0-f105-11e9-9e96-810494679327",
"attributes": {
"shared_id": "agent2",
"active": false,
@@ -5751,17 +5684,17 @@ exports['AgentsRepository findByMetadata should allow to find agents by user pro
"enrolled_at": "2019-08-05T19:35:14.861Z"
},
"references": [],
- "updated_at": "2019-10-16T23:29:26.291Z",
- "version": "WzMzMzUsMV0="
+ "updated_at": "2019-10-17T17:39:32.668Z",
+ "version": "WzIxMCwxXQ=="
}
]
}
}
-exports['AgentsRepository findByMetadata should allow to find agents by user provided metadata - delete:agents:ca4f0020-f06c-11e9-bc41-371a72358a1e:{} (5)'] = {
+exports['AgentsRepository findByMetadata should allow to find agents by user provided metadata - delete:agents:138ba480-f105-11e9-9e96-810494679327:{} (5)'] = {
"results": {}
}
-exports['AgentsRepository findByMetadata should allow to find agents by user provided metadata - delete:agents:cae8f630-f06c-11e9-bc41-371a72358a1e:{} (6)'] = {
+exports['AgentsRepository findByMetadata should allow to find agents by user provided metadata - delete:agents:14260fc0-f105-11e9-9e96-810494679327:{} (6)'] = {
"results": {}
}
diff --git a/x-pack/legacy/plugins/fleet/server/repositories/agents/default.contract.test.ts b/x-pack/legacy/plugins/fleet/server/repositories/agents/default.contract.test.ts
index d00e856e8f0b7..77c8782dc510e 100644
--- a/x-pack/legacy/plugins/fleet/server/repositories/agents/default.contract.test.ts
+++ b/x-pack/legacy/plugins/fleet/server/repositories/agents/default.contract.test.ts
@@ -248,48 +248,6 @@ describe('AgentsRepository', () => {
expect(freshAgent).toBeNull();
});
});
- describe('findEphemeralByPolicyId', () => {
- beforeAll(async () => {
- await loadFixtures([
- {
- shared_id: 'agent1',
- active: false,
- access_token: 'TOKEN_1',
- policy_id: 'policy_id_1',
- type: 'EPHEMERAL',
- version: '1',
- local_metadata: {
- host: 'test.fr',
- },
- user_provided_metadata: {
- color: 'red',
- },
- enrolled_at: '2019-08-05T19:35:14.861Z',
- },
- {
- shared_id: 'agent2',
- active: false,
- access_token: 'TOKEN_1',
- policy_id: 'policy_id_1',
- type: 'EPHEMERAL',
- version: '1',
- local_metadata: {
- host: 'elastic.co',
- },
- user_provided_metadata: {
- color: 'blue',
- },
- enrolled_at: '2019-08-05T19:35:14.861Z',
- },
- ]);
- });
-
- it('should allow to find agent by policy id', async () => {
- const agent = await adapter.findEphemeralByPolicyId(getUser(), 'policy_id_1');
- expect(agent).toBeDefined();
- expect((agent as Agent).shared_id).toBe('agent1');
- });
- });
describe('list', () => {
beforeEach(async () => {
@@ -415,6 +373,57 @@ describe('AgentsRepository', () => {
});
});
+ describe('list for policy', () => {
+ beforeEach(async () => {
+ await loadFixtures([
+ // Policy 1
+ {
+ shared_id: `agent1`,
+ active: true,
+ access_token: 'TOKEN_1',
+ policy_id: 'policy-id-1',
+ type: 'PERMANENT',
+ version: '1',
+ local_metadata: {},
+ user_provided_metadata: {},
+ enrolled_at: '2019-08-05T19:35:14.861Z',
+ },
+ {
+ shared_id: `agent2`,
+ active: true,
+ access_token: 'TOKEN_1',
+ policy_id: 'policy-id-1',
+ type: 'PERMANENT',
+ version: '1',
+ local_metadata: {},
+ user_provided_metadata: {},
+ enrolled_at: '2019-08-05T19:35:14.861Z',
+ },
+ // Policy 2
+ {
+ shared_id: `agent3`,
+ active: true,
+ access_token: 'TOKEN_1',
+ policy_id: 'policy-id-2',
+ type: 'PERMANENT',
+ version: '1',
+ local_metadata: {},
+ user_provided_metadata: {},
+ enrolled_at: '2019-08-05T19:35:14.861Z',
+ },
+ ]);
+ });
+
+ it('should allow to list agents for a policy', async () => {
+ const { total, agents } = await adapter.listForPolicy(getUser(), 'policy-id-1');
+ const agentSharedIds = agents.map(a => a.shared_id);
+
+ expect(total).toBe(2);
+ expect(agentSharedIds).toContain('agent1');
+ expect(agentSharedIds).toContain('agent2');
+ });
+ });
+
describe('findByMetadata', () => {
beforeEach(async () => {
await loadFixtures([
diff --git a/x-pack/legacy/plugins/fleet/server/repositories/agents/default.ts b/x-pack/legacy/plugins/fleet/server/repositories/agents/default.ts
index d2d64cabe5e99..6744ee4a17489 100644
--- a/x-pack/legacy/plugins/fleet/server/repositories/agents/default.ts
+++ b/x-pack/legacy/plugins/fleet/server/repositories/agents/default.ts
@@ -194,20 +194,17 @@ export class AgentsRepository implements AgentsRepositoryType {
};
}
- public async findEphemeralByPolicyId(
+ public async listForPolicy(
user: FrameworkUser,
- policyId: string
- ): Promise {
- const res = await this.soAdapter.find(user, {
- type: 'agents',
- search: policyId,
- searchFields: ['policy_id'],
+ policyId: string,
+ options: ListOptions = {}
+ ): Promise<{ agents: Agent[]; total: number; page: number; perPage: number }> {
+ return await this.list(user, {
+ ...options,
+ kuery: `(agents.policy_id:"${policyId}")${
+ options.kuery && options.kuery !== '' ? ` AND (${options.kuery})` : ''
+ }`,
});
- const agents = res.saved_objects
- .map(this._savedObjectToAgent)
- .filter(agent => agent.type === 'EPHEMERAL');
-
- return agents.length > 0 ? agents[0] : null;
}
/**
diff --git a/x-pack/legacy/plugins/fleet/server/repositories/agents/in_memory.ts b/x-pack/legacy/plugins/fleet/server/repositories/agents/in_memory.ts
index 9949832c36f86..967e0dd4a9cf3 100644
--- a/x-pack/legacy/plugins/fleet/server/repositories/agents/in_memory.ts
+++ b/x-pack/legacy/plugins/fleet/server/repositories/agents/in_memory.ts
@@ -73,15 +73,18 @@ export class InMemoryAgentsRepository implements AgentsRepository {
return { agents, total, page, perPage };
}
- public async findEphemeralByPolicyId(
+ public async listForPolicy(
user: FrameworkUser,
- policyId: string
- ): Promise {
- const agent = Object.values(this.agents).find(
- a => a.type === 'EPHEMERAL' && a.policy_id === policyId
- );
+ policyId: string,
+ options: ListOptions = {}
+ ): Promise<{ agents: Agent[]; total: number; page: number; perPage: number }> {
+ const { page = 1, perPage = DEFAULT_AGENTS_PAGE_SIZE } = options;
+ const start = (page - 1) * perPage;
+ const allAgents = Object.values(this.agents).filter(a => a.policy_id === policyId);
+ const agents = Object.values(allAgents).slice(start, start + perPage);
+ const total = Object.keys(allAgents).length;
- return agent || null;
+ return { agents, total, page, perPage };
}
public async getByEphemeralAccessToken(token: any): Promise {
diff --git a/x-pack/legacy/plugins/fleet/server/repositories/agents/types.ts b/x-pack/legacy/plugins/fleet/server/repositories/agents/types.ts
index 28181455eb85b..81230dc93c7f0 100644
--- a/x-pack/legacy/plugins/fleet/server/repositories/agents/types.ts
+++ b/x-pack/legacy/plugins/fleet/server/repositories/agents/types.ts
@@ -148,7 +148,11 @@ export interface AgentsRepository {
options?: ListOptions
): Promise<{ agents: Agent[]; total: number; page: number; perPage: number }>;
- findEphemeralByPolicyId(user: FrameworkUser, policyId: string): Promise;
+ listForPolicy(
+ user: FrameworkUser,
+ policyId: string,
+ options?: ListOptions
+ ): Promise<{ agents: Agent[]; total: number; page: number; perPage: number }>;
getByEphemeralAccessToken(user: FrameworkUser, token: any): Promise;
}