mirror of https://github.com/MISP/MISP
commit
7f09d52045
|
@ -92,6 +92,9 @@ curl --header "Authorization: $AuthKey" --header "Accept: application/json" --he
|
|||
echo "Updating warninglists"
|
||||
curl --header "Authorization: $AuthKey" --header "Accept: application/json" --header "Content-Type: application/json" -o /dev/null -s -X POST ${baseurl}/warninglists/update
|
||||
|
||||
echo "Updating noticelists"
|
||||
curl --header "Authorization: $AuthKey" --header "Accept: application/json" --header "Content-Type: application/json" -o /dev/null -s -X POST ${baseurl}/noticelists/update
|
||||
|
||||
echo "Updating galaxies"
|
||||
curl --header "Authorization: $AuthKey" --header "Accept: application/json" --header "Content-Type: application/json" -o /dev/null -s -X POST ${baseurl}/galaxies/update
|
||||
|
||||
|
|
|
@ -30,6 +30,9 @@ TRUNCATE `bruteforces`;
|
|||
TRUNCATE `news`;
|
||||
TRUNCATE `template_tags`;
|
||||
TRUNCATE `whitelist`;
|
||||
TRUNCATE `event_locks`;
|
||||
TRUNCATE `fuzzy_correlate_ssdeep`;
|
||||
TRUNCATE `tasks`;
|
||||
|
||||
-- Clear tables that can be re-populated
|
||||
TRUNCATE `taxonomies`;
|
||||
|
@ -42,6 +45,8 @@ TRUNCATE `galaxies`;
|
|||
TRUNCATE `galaxy_clusters`;
|
||||
TRUNCATE `galaxy_elements`;
|
||||
TRUNCATE `galaxy_reference`;
|
||||
TRUNCATE `noticelists`;
|
||||
TRUNCATE `noticelist_entries`;
|
||||
|
||||
-- Clear tables that have defaults
|
||||
TRUNCATE `feeds`;
|
||||
|
|
Loading…
Reference in New Issue