diff --git a/app/files/misp-objects b/app/files/misp-objects index 388b57e34..ffa6ed796 160000 --- a/app/files/misp-objects +++ b/app/files/misp-objects @@ -1 +1 @@ -Subproject commit 388b57e3428e1850c3195b8176827e1f53b9a4ec +Subproject commit ffa6ed7963051a5bd0f4578ade94c788c2962c09 diff --git a/tools/misp_retention.py b/tools/misp_retention.py index 3c198fa02..7189f022b 100755 --- a/tools/misp_retention.py +++ b/tools/misp_retention.py @@ -87,7 +87,8 @@ class misphelper(object): # set expiredTag to hidden if it was accidentally enabled by "enable all" if tag["tag"] == self.expiredTag: if tag["existing_tag"]["Tag"]["hide_tag"] is False: - self.misp.edit_tag(tag["existing_tag"]["Tag"]["id"], hide_tag=True) + tag["existing_tag"]["Tag"]["hide_tag"] = True + self.misp.update_tag(tag["existing_tag"]["Tag"]) else: raise Exception("Could not parse retention time/unit from tag: '{}'.".format(tag["tag"]))