Christophe Vandeplas
e6001bc9fa
Revert "Feature/api log and pin ip ( #8965 )"
...
This reverts commit d5ce838ddc
.
2023-03-29 09:53:29 +08:00
Christophe Vandeplas
d5ce838ddc
Feature/api log and pin ip ( #8965 )
...
* fix: [sightings] don't be case insensitive on code side
* chg: [AuthKey] store IPs used to connect and show them
* chg: [AuthKey] db change
* fix: [AuthKeys] prevent race condition with double IPs
* chg: [git] exclude DebugKit plugin from git
* fix: [AuthKey] integrate mokaddem's remarks
* chg: [authkey] One-click IP as only allowed IP
* chg: [authkey] pin IP on view page
---------
2023-03-29 09:18:47 +08:00
iglocska
cdf270606c
fix: [Sighting] rework of the loading via restsearch
...
- the chunking and limiting by attribute IDs in the sighting restsearch caused long delays due to a select with two AND-ed in value lists causing the query optimiser to constantly run statistics on the table
- moved the filtering by attribute to PHP side via a loop, it should boost the performance of the function - and with it the sync considerably
2023-03-02 09:49:44 +01:00
Jakub Onderka
be32cda693
fix: [sync] Pulling sighting new way
2022-11-14 16:10:06 +01:00
Jakub Onderka
a33c14f9a8
fix: [sync] Remove events without sightings from pull
2022-11-03 12:04:41 +01:00
Jakub Onderka
bd0dde5e37
chg: [API] Throw exception if invalid ID provided
2022-11-01 10:56:31 +01:00
Jakub Onderka
4fe5a73386
chg: [internal] Use subquery to sighting fetching
2022-11-01 10:56:14 +01:00
Jakub Onderka
1bc02930cf
fix: [sighting] Return just requested sighting
2022-11-01 10:56:14 +01:00
Jakub Onderka
338de3178c
chg: [sync] Use new sighting pull for new MISP instances
2022-11-01 10:56:14 +01:00
Jakub Onderka
35b00b6c84
chg: [sighting] Include organisation in rest response
2022-11-01 10:56:14 +01:00
Jakub Onderka
77fd20a98f
chg: [sightings] Optimised fetching
2022-11-01 10:56:14 +01:00
Jakub Onderka
5a1a8aace9
chg: [api] Allow to include uuids to sighting
2022-11-01 10:56:14 +01:00
Jakub Onderka
7a29e18d23
chg: [sync] New way how to pull sightings
2022-11-01 10:56:14 +01:00
Jakub Onderka
2aa4ee3097
chg: [internal] Optimise sighting rest search
2022-11-01 10:56:14 +01:00
Jakub Onderka
ecb88f1c93
new: [test] Check sighting rest search ACL vol. 2
2022-11-01 10:41:52 +01:00
Jakub Onderka
6b634c7520
fix: [widgets] Fix some widgets
2022-10-20 14:54:36 +02:00
Jakub Onderka
2f7c671adb
new: [internal] Simplify checking if connection is MySQL/MariaDB
2022-05-14 10:17:06 +02:00
Jakub Onderka
90cd99685f
chg: [sync] Simplify code for sighting pushing
2022-03-07 17:45:06 +01:00
Jakub Onderka
bd9cecbc2c
chg: [internal] Use ProcessTool in Sighting
2021-11-22 09:57:39 +01:00
Jakub Onderka
e1895cba81
chg: [internal] Optimise sightings
2021-10-17 16:17:17 +02:00
Jakub Onderka
d9e89955bc
chg: [internal] Simplify fetching Kafka topic
2021-10-11 09:41:46 +02:00
Jakub Onderka
4973c7480d
chg: [sync] Examine less events for sightings pulling
2021-09-01 11:52:25 +02:00
Jakub Onderka
01e588324c
fix: [sync] Fix pulling sightings
2021-08-23 13:52:35 +02:00
Jakub Onderka
faf5054583
Merge pull request #7649 from JakubOnderka/pull-sightings
...
chg: [sync] Pull just necessary data when pulling sightings
2021-08-20 09:26:09 +02:00
mokaddem
3770ae6798
new: [sighting:add] Ability to provide filtering parameters when adding sightings for specific values
...
Fix #7669
2021-08-18 14:36:34 +02:00
Jakub Onderka
f7d05e8e24
chg: [sync] Filter out events that do not exist locally when pulling sightings
2021-08-12 10:21:08 +02:00
Jakub Onderka
0174336156
chg: [sync] Pull just necessary data when pulling sightings
2021-08-11 18:42:22 +02:00
Jakub Onderka
683e52702d
new: [sync] When saving sightings, push just new sightings
2021-03-14 09:28:15 +01:00
Jakub Onderka
d82a95b903
new: [sync] When pushing event, upload sightings by another call
2021-03-11 12:14:52 +01:00
Jakub Onderka
6af83b5d5a
new: [sync] Filter out existing sightings if remote sever supports that method
2021-03-11 12:14:52 +01:00
Jakub Onderka
362707deb1
chg: [sync] Faster capturing sighting when pushing whole event
2021-03-11 12:14:52 +01:00
Jakub Onderka
8830696c4d
chg: [sync] New separate method for uploading sightings to remote server
2021-03-11 12:14:52 +01:00
Jakub Onderka
8b2d1bdffd
chg: [internal] Fetch attribute UUIDs for sightings in different query
2021-03-06 10:56:46 +01:00
Tom King
626443af47
chg: Use a more suitable Sighting creation function as recommended, grab the Org ID from the user if present
2021-02-11 16:31:51 +00:00
Jakub Onderka
fdd354fa17
fix: [internal] Group for getting sightings for tag
2021-01-15 14:23:35 +01:00
iglocska
88d7e08606
Merge branch '2.4' into develop
2021-01-12 13:09:48 +01:00
Jakub Onderka
1276a42309
fix: [sighting] Order must contain group for some mysql servers
2021-01-07 14:10:35 +01:00
Jakub Onderka
2bbe36c0ed
chg: [internal] Optimise sightings saving
2021-01-01 15:45:05 +01:00
Jakub Onderka
ec6a73795f
Merge pull request #6797 from JakubOnderka/optimisations
...
Optimisations
2020-12-23 16:35:06 +01:00
Jakub Onderka
faa95b256a
new: [sighting] New setting that will allow users to see host org sightings
2020-12-23 14:51:28 +01:00
Jakub Onderka
9bc52c18fe
chg: [internal] Use find('column') on more places
2020-12-23 13:45:57 +01:00
Jakub Onderka
0c722243e5
fix: [sighting] Grouping sighting fetch for tags
2020-12-22 15:29:08 +01:00
Jakub Onderka
1a184ebbb5
new: [internal] Allow to output directly TmpFileTool
2020-12-21 21:02:37 +01:00
Jakub Onderka
e52a11efa2
Merge pull request #6787 from JakubOnderka/sighting-rest-optim
...
chg: [sighting] Faster and memory efficient rest search
2020-12-21 21:01:28 +01:00
Jakub Onderka
0e31996be3
chg: [sighting] Faster and memory efficient rest search
2020-12-21 19:18:22 +01:00
Jakub Onderka
b770e46efb
fix: [sighting] Order must contain group for some mysql servers
2020-12-21 18:38:59 +01:00
Jakub Onderka
8c15ea14a8
Merge pull request #6760 from JakubOnderka/sighting-rest-uuid
...
new: [rest] Allow to search sightings by event or attribute UUID
2020-12-20 01:14:25 +01:00
Jakub Onderka
36dabacfa1
new: [rest] Allow to search sightings by event or attribute UUID
2020-12-20 01:04:57 +01:00
Jakub Onderka
334d6c6f95
chg: [sighting] Optimise bulk sighting saving
2020-12-16 09:50:06 +01:00
Jakub Onderka
305605cd3f
fix: [sighting] Make sure that correct columns are processed
2020-12-08 11:02:31 +01:00