Skip to content

Commit

Permalink
Rename agent configs SO to agent policies (#74397) (#74419)
Browse files Browse the repository at this point in the history
# Conflicts:
#	x-pack/test/page_load_metrics/es_archives/default/mappings.json
#	x-pack/test/security_solution_cypress/es_archives/export_rule/mappings.json
  • Loading branch information
jen-huang authored Aug 5, 2020
1 parent b4e69dd commit 3643a17
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
import { AgentConfigStatus, DefaultPackages } from '../types';

export const AGENT_CONFIG_SAVED_OBJECT_TYPE = 'ingest-agent-configs';
export const AGENT_CONFIG_SAVED_OBJECT_TYPE = 'ingest-agent-policies';

export const DEFAULT_AGENT_CONFIG = {
name: 'Default config',
Expand Down
6 changes: 3 additions & 3 deletions x-pack/test/functional/es_archives/fleet/agents/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,11 @@
{
"type": "doc",
"value": {
"id": "ingest-agent-configs:config1",
"id": "ingest-agent-policies:config1",
"index": ".kibana",
"source": {
"type": "ingest-agent-configs",
"ingest-agent-configs": {
"type": "ingest-agent-policies",
"ingest-agent-policies": {
"name": "Test config",
"namespace": "default",
"description": "Config 1",
Expand Down
4 changes: 2 additions & 2 deletions x-pack/test/functional/es_archives/fleet/agents/mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"siem-ui-timeline": "f2d929253ecd06ffbac78b4047f45a86",
"kql-telemetry": "d12a98a6f19a2d273696597547e064ee",
"ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3",
"ingest-agent-configs": "f4bdc17427437537ca1754d5d5057ad5",
"ingest-agent-policies": "f4bdc17427437537ca1754d5d5057ad5",
"url": "b675c3be8d76ecf029294d51dc7ec65d",
"migrationVersion": "4a1746014a75ade3a714e1db5763276f",
"index-pattern": "66eccb05066c5a89924f48a9e9736499",
Expand Down Expand Up @@ -1797,7 +1797,7 @@
}
}
},
"ingest-agent-configs": {
"ingest-agent-policies": {
"properties": {
"package_configs": {
"type": "keyword"
Expand Down
6 changes: 3 additions & 3 deletions x-pack/test/functional/es_archives/lists/mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"siem-ui-timeline": "94bc38c7a421d15fbfe8ea565370a421",
"kql-telemetry": "d12a98a6f19a2d273696597547e064ee",
"ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3",
"ingest-agent-configs": "9326f99c977fd2ef5ab24b6336a0675c",
"ingest-agent-policies": "9326f99c977fd2ef5ab24b6336a0675c",
"url": "c7f66a0df8b1b52f17c28c4adb111105",
"endpoint:user-artifact-manifest": "67c28185da541c1404e7852d30498cd6",
"migrationVersion": "4a1746014a75ade3a714e1db5763276f",
Expand Down Expand Up @@ -1210,7 +1210,7 @@
}
}
},
"ingest-agent-configs": {
"ingest-agent-policies": {
"properties": {
"description": {
"type": "text"
Expand Down Expand Up @@ -2488,4 +2488,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"type": "index",
"value": {
"aliases": {
".kibana": {
}
".kibana": {}
},
"index": ".kibana_1",
"mappings": {
Expand Down Expand Up @@ -2399,4 +2398,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"graph-workspace": "cd7ba1330e6682e9cc00b78850874be1",
"index-pattern": "66eccb05066c5a89924f48a9e9736499",
"infrastructure-ui-source": "2b2809653635caf490c93f090502d04c",
"ingest-agent-configs": "9326f99c977fd2ef5ab24b6336a0675c",
"ingest-agent-policies": "9326f99c977fd2ef5ab24b6336a0675c",
"ingest-outputs": "87da6a0e27b3a61ad389fb7a7e2da293",
"ingest-package-configs": "48e8bd97e488008e21c0b5a2367b83ad",
"ingest_manager_settings": "c5b0749b4ab03c582efd4c14cb8f132c",
Expand Down Expand Up @@ -1862,7 +1862,7 @@
}
}
},
"ingest-agent-configs": {
"ingest-agent-policies": {
"properties": {
"description": {
"type": "text"
Expand Down

0 comments on commit 3643a17

Please sign in to comment.