Closed jaegeral closed 1 year ago
https://github.com/google/timesketch/blob/b9b2972986ce299f34c1867501fe906829191a68/cli_client/python/timesketch_cli_client/commands/attribute.py#L74
sketch.add_attribute(name, ontology, value) is the wrong order of parameters. https://github.com/google/timesketch/blob/b9b2972986ce299f34c1867501fe906829191a68/api_client/python/timesketch_api_client/sketch.py#L268
sketch.add_attribute(name, ontology, value)
it should be name, value, ontology instead
name, value, ontology
https://github.com/google/timesketch/blob/b9b2972986ce299f34c1867501fe906829191a68/cli_client/python/timesketch_cli_client/commands/attribute.py#L74
sketch.add_attribute(name, ontology, value)
is the wrong order of parameters. https://github.com/google/timesketch/blob/b9b2972986ce299f34c1867501fe906829191a68/api_client/python/timesketch_api_client/sketch.py#L268it should be
name, value, ontology
instead