Skip to content

Commit

Permalink
Rename package configs SO to package policies (#74422)
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang authored Aug 5, 2020
1 parent 4b3326d commit 9ef04e7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* you may not use this file except in compliance with the Elastic License.
*/

export const PACKAGE_CONFIG_SAVED_OBJECT_TYPE = 'ingest-package-configs';
export const PACKAGE_CONFIG_SAVED_OBJECT_TYPE = 'ingest-package-policies';
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export class ManifestManager {
const { items, total } = await this.packageConfigService.list(this.savedObjectsClient, {
page,
perPage: 20,
kuery: 'ingest-package-configs.package.name:endpoint',
kuery: 'ingest-package-policies.package.name:endpoint',
});

for (const packageConfig of items) {
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 @@ -28,7 +28,7 @@
"application_usage_transactional": "965839e75f809fefe04f92dc4d99722a",
"action_task_params": "a9d49f184ee89641044be0ca2950fa3a",
"fleet-agent-events": "3231653fafe4ef3196fe3b32ab774bf2",
"ingest-package-configs": "2346514df03316001d56ed4c8d46fa94",
"ingest-package-policies": "2346514df03316001d56ed4c8d46fa94",
"apm-indices": "9bb9b2bf1fa636ed8619cbab5ce6a1dd",
"inventory-view": "5299b67717e96502c77babf1c16fd4d3",
"upgrade-assistant-reindex-operation": "296a89039fc4260292be36b1b005d8f2",
Expand Down Expand Up @@ -1834,7 +1834,7 @@
}
}
},
"ingest-package-configs": {
"ingest-package-policies": {
"properties": {
"config_id": {
"type": "keyword"
Expand Down
4 changes: 2 additions & 2 deletions x-pack/test/functional/es_archives/lists/mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"maps-telemetry": "5ef305b18111b77789afefbd36b66171",
"namespace": "2f4316de49999235636386fe51dc06c1",
"cases-user-actions": "32277330ec6b721abe3b846cfd939a71",
"ingest-package-configs": "48e8bd97e488008e21c0b5a2367b83ad",
"ingest-package-policies": "48e8bd97e488008e21c0b5a2367b83ad",
"timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf",
"siem-ui-timeline-pinned-event": "20638091112f0e14f0e443d512301c29",
"config": "c63748b75f39d0c54de12d12c1ccbc20",
Expand Down Expand Up @@ -1274,7 +1274,7 @@
}
}
},
"ingest-package-configs": {
"ingest-package-policies": {
"properties": {
"config_id": {
"type": "keyword"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"index-pattern": "66eccb05066c5a89924f48a9e9736499",
"ingest-agent-policies": "9326f99c977fd2ef5ab24b6336a0675c",
"ingest-outputs": "8aa988c376e65443fefc26f1075e93a3",
"ingest-package-configs": "48e8bd97e488008e21c0b5a2367b83ad",
"ingest-package-policies": "48e8bd97e488008e21c0b5a2367b83ad",
"ingest_manager_settings": "012cf278ec84579495110bb827d1ed09",
"kql-telemetry": "d12a98a6f19a2d273696597547e064ee",
"lens": "d33c68a69ff1e78c9888dedd2164ac22",
Expand Down Expand Up @@ -1212,7 +1212,7 @@
}
}
},
"ingest-package-configs": {
"ingest-package-policies": {
"properties": {
"config_id": {
"type": "keyword"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"infrastructure-ui-source": "2b2809653635caf490c93f090502d04c",
"ingest-agent-policies": "9326f99c977fd2ef5ab24b6336a0675c",
"ingest-outputs": "8aa988c376e65443fefc26f1075e93a3",
"ingest-package-configs": "48e8bd97e488008e21c0b5a2367b83ad",
"ingest-package-policies": "48e8bd97e488008e21c0b5a2367b83ad",
"ingest_manager_settings": "012cf278ec84579495110bb827d1ed09",
"inventory-view": "88fc7e12fd1b45b6f0787323ce4f18d2",
"kql-telemetry": "d12a98a6f19a2d273696597547e064ee",
Expand Down Expand Up @@ -1286,7 +1286,7 @@
}
}
},
"ingest-package-configs": {
"ingest-package-policies": {
"properties": {
"config_id": {
"type": "keyword"
Expand Down

0 comments on commit 9ef04e7

Please sign in to comment.