diff --git a/thehive_button/public/options_editor.js b/thehive_button/public/options_editor.js index 8985884d6c1866d6d75384cced9198762a34dab5..cd189878e1c23135519959cc58f92fdf8879b1bc 100644 --- a/thehive_button/public/options_editor.js +++ b/thehive_button/public/options_editor.js @@ -106,7 +106,7 @@ export function optionsEditor(props) { </EuiFormRow> <EuiFlexGroup> <EuiFlexItem grow={1}> - <EuiFormRow label="API key to access The Hive" helpText="API key of a user with write permission."> + <EuiFormRow label="API key to access The Hive" helpText="API key of a user with permission to create cases (not admin)."> <EuiFieldText fullWidth={true} value={stateParams.apikey} diff --git a/thehive_button/public/request_handler.js b/thehive_button/public/request_handler.js index bdbb0f4ebee4ff5307a1bf549706bf1ecc92e11b..c373052400a23890f7397669e26b79bff87f842f 100644 --- a/thehive_button/public/request_handler.js +++ b/thehive_button/public/request_handler.js @@ -11,9 +11,6 @@ import { calculateObjectHash } from 'ui/vis/lib/calculate_object_hash'; import { getRequestInspectorStats, getResponseInspectorStats } from 'ui/courier/utils/courier_inspector_utils'; import chrome from 'ui/chrome'; -// Maximum number of unique values of each field (observables) to fetch -const MAX_NUMBER_OF_TERMS = 5; - const handleCourierRequest = courierRequestHandlerProvider().handler; // Register new RaquestHandlerProvider diff --git a/thehive_button/public/vis_controller.js b/thehive_button/public/vis_controller.js index 8b23222700ab072c9665442851982e11cdc56788..45794ef3476146d26321cabd2698a6c7d034dbac 100644 --- a/thehive_button/public/vis_controller.js +++ b/thehive_button/public/vis_controller.js @@ -283,7 +283,7 @@ class NewCaseButton extends Component { console.log("TheHiveButton: Case created:", resp); const case_id = resp.id; - const case_url = base_url + "index.html#/case/" + case_id + "/details"; + const case_url = base_url + "index.html#/case!/" + case_id + "/details"; // Show notification let obs_text;