kibana/x-pack/test
John Schulz de4bcdb9d9
[Fleet] Rename force to revoke agent unenroll APIs (#97041)
## Summary

 - fcbc9d9 Rename `force` param to `revoke` for `/agents/{agent_id}/unenroll` & `/agents/bulk_unenroll`
 - 03b9b90 Add new `force` param

See https://github.com/elastic/kibana/issues/96873 for background

<table>
  <thead>
    <tr>
      <td rowspan="2"></td><td colspan="2">Unenroll Agent</td><td rowspan="2">Revoke API Keys</td>
    </tr>
    <tr>
      <td>Regular</td><td>Hosted</td></td>
    </tr>
  </thead>
  <tr><td colspan="4"><strong>Rename <code>force</code> to <code>revoke</code></strong></td></tr>
  <tr><td>Current <code>force=false|undefined</code></td><td></td><td></td><td></td></tr>
  <tr><td>Proposed <code>revoke=false|undefined</code></td><td></td><td></td><td></td></tr>
  <tr><td>Current <code>force=true</code></td><td></td><td></td><td></td></tr>
  <tr><td>Proposed <code>revoke=true</code></td><td></td><td></td><td></td></tr>
  <tr><td colspan="4"><strong>Change <code>force</code> param </strong></td></tr>
  <tr><td>Proposed <code>force=false|undefined</code></td><td></td><td></td><td></td></tr>
  <tr><td>Proposed <code>force=true</code></td><td></td><td></td><td></td></tr>
  <tr><td>Proposed <code>force=true</code> & <code>revoke=true</code></td><td></td><td></td><td></td></tr>
</table>

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

### Changes required for consumers
Any call to `/agents/{agent_id}/unenroll` & `/agents/bulk_unenroll` which passes the `force` param should change to `revoke` to maintain the current behavior.
2021-04-14 19:27:06 -04:00
..
accessibility unskip accessibility - dashboard_edit_panel tests (#96710) 2021-04-14 15:05:12 -07:00
alerting_api_integration Fix alerting flaky test by adding retryIfConflict to fixture APIs (#96226) 2021-04-13 13:29:22 -04:00
api_integration [ML] security_network module - fix type of defaultIndexPattern (#97096) 2021-04-14 16:43:37 +02:00
api_integration_basic Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
apm_api_integration [RAC] Rule registry plugin (#95903) 2021-04-09 10:35:44 +02:00
banners_functional add per space configuration to custom header banner (#94449) 2021-03-31 10:57:06 +02:00
case_api_integration [Cases] Fix _find API total bug (#95235) 2021-03-26 08:46:07 -04:00
common Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
detection_engine_api_integration [Security Solution] Populates threat.indicator.event with _source.event (#951) (#95697) 2021-03-31 11:37:24 -04:00
encrypted_saved_objects_api_integration Migrate away from legacyEs service in tests. (#95402) 2021-03-26 18:49:19 +01:00
endpoint_api_integration_no_ingest Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
examples chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
fleet_api_integration [Fleet] Rename force to revoke agent unenroll APIs (#97041) 2021-04-14 19:27:06 -04:00
fleet_functional [Fleet] Bootstrap functional test suite (#91898) 2021-02-18 16:34:50 -05:00
functional Test user for maps test verifying sample data maps (#96109) 2021-04-14 19:22:18 -04:00
functional_basic [ML] Fix import missing range for File Data Visualizer, Discover card visible when disabled, texts (#91352) 2021-02-16 16:05:01 +01:00
functional_cors chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
functional_embedded [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
functional_enterprise_search [App Search] Add delete action to EnginesTable component (#92844) 2021-03-09 09:49:52 -05:00
functional_vis_wizard Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
functional_with_es_ssl [Alerting] Preconfigured alert history index connector (#94909) 2021-04-08 18:18:44 -04:00
licensing_plugin chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
lists_api_integration ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
load [loa testing] wait 60 sec b/w simulations (#96612) 2021-04-08 23:07:08 +02:00
observability_api_integration ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
plugin_api_integration [Event Log] Extend ECS event schema with fields needed for Detection Engine (#95067) 2021-03-29 14:59:36 +02:00
plugin_api_perf [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
plugin_functional [Security Solution][RAC][Timeline] Timeline plugin skeleton and test plugin harness (#95683) 2021-03-31 15:33:19 -04:00
reporting_api_integration Reporting: Refactor functional tests with security roles checks (#96856) 2021-04-14 09:20:59 -07:00
reporting_functional Reporting: Refactor functional tests with security roles checks (#96856) 2021-04-14 09:20:59 -07:00
saved_object_api_integration Migrate away from legacyEs service in tests. (#95402) 2021-03-26 18:49:19 +01:00
saved_object_tagging skip flaky suite (#89958) 2021-02-17 06:55:11 -08:00
saved_objects_field_count Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
search_sessions_integration [Search Sessions] Rename search sessions functional tests. Remove wip mention (#95330) 2021-03-26 18:08:46 +01:00
security_api_integration chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
security_functional Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
security_solution_cypress [Security Solution][Detections] Improves indicator match Cypress tests (#94913) 2021-03-25 19:25:49 +01:00
security_solution_endpoint chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
security_solution_endpoint_api_int skip flaky test blocking snapshot promotion. #96515 2021-04-08 13:23:05 -05:00
security_solution_ftr/page_objects/detections Add a11y test coverage to Rule Creation Flow for Detections tab (#94377) 2021-03-25 15:05:23 -04:00
spaces_api_integration skip flaky suite (#92358) 2021-03-29 13:11:33 +01:00
stack_functional_integration ccs_discover additional tests (#96669) 2021-04-12 12:23:46 -07:00
ui_capabilities [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
upgrade Fix reporting test (#95586) 2021-03-26 16:33:29 -06:00
upgrade_assistant_integration Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
usage_collection [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
visual_regression Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
tsconfig.json Merge tsconfig and x-pack/tsconfig files (#94519) 2021-03-16 15:13:49 +01:00