Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Check tag autocompletion #1611

Closed
4 tasks done
jeromeleonard opened this issue Nov 3, 2020 · 1 comment
Closed
4 tasks done

[Enhancement] Check tag autocompletion #1611

jeromeleonard opened this issue Nov 3, 2020 · 1 comment
Assignees
Labels
enhancement TheHive4 TheHive4 related issues
Milestone

Comments

@jeromeleonard
Copy link
Contributor

jeromeleonard commented Nov 3, 2020

Request Type

Bug

Problem Description

Verify tag queries and autocomplete:

  • In search forms
  • In Case forms
  • Observable forms
  • Case template forms
@jeromeleonard jeromeleonard added bug TheHive4 TheHive4 related issues labels Nov 3, 2020
@jeromeleonard jeromeleonard added this to the 4.0.1 milestone Nov 3, 2020
@nadouani
Copy link
Contributor

nadouani commented Nov 4, 2020

After a verification, the findings are the following:

  • Tags in search form doesn't implement the autocomplete capabilities
  • Editable tag fields (case details form, observable details form) use an /api/v0/query API call => Not working
  • Tags input fields (case creation form, observable creation form) use an /api/v0/query API call => Not working

The /api/v0/query has the following body:

{
    "query": [{
        "_name": "listTag"
    }, {
        "_name": "fromCase / fromObservable"
    }, {
        "_name": "filter",
        "_like": {
            "_field": "text",
            "_value": "*XXXXX*"
        }
    }, {
        "_name": "text"
    }]
}

@To-om can you please check the API calls for the listTags named query?

@To-om To-om assigned nadouani and unassigned To-om Nov 5, 2020
To-om added a commit that referenced this issue Nov 9, 2020
@nadouani nadouani added enhancement and removed bug labels Nov 10, 2020
@nadouani nadouani changed the title [Bug] Check tag autocompletion [Enhancement] Check tag autocompletion Nov 10, 2020
To-om added a commit that referenced this issue Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

3 participants