mirror of https://github.com/MISP/PyMISP
new: Delete tags via update_attribute, search by sharing group
parent
5ebaca3b52
commit
cf45bf0c46
|
@ -422,3 +422,7 @@ class MISPTag(AbstractMISP):
|
|||
if hasattr(self, 'exportable') and not self.exportable:
|
||||
return False
|
||||
return super(MISPTag, self)._to_feed()
|
||||
|
||||
def delete(self):
|
||||
self.deleted = True
|
||||
self.edited = True
|
||||
|
|
|
@ -1392,6 +1392,7 @@ class ExpandedPyMISP(PyMISP):
|
|||
headerless: Optional[bool]=None,
|
||||
include_sightings: Optional[bool]=None, includeSightings: Optional[bool]=None,
|
||||
include_correlations: Optional[bool]=None, includeCorrelations: Optional[bool]=None,
|
||||
sharinggroup: Optional[SearchType]=None,
|
||||
pythonify: Optional[bool]=False,
|
||||
**kwargs):
|
||||
'''Search in the MISP instance
|
||||
|
@ -1585,6 +1586,7 @@ class ExpandedPyMISP(PyMISP):
|
|||
analysis: Optional[List[SearchType]]=None,
|
||||
org: Optional[SearchParameterTypes]=None,
|
||||
timestamp: Optional[DateInterval]=None,
|
||||
sharinggroup: Optional[SearchType]=None,
|
||||
pythonify: Optional[bool]=None):
|
||||
"""Search only at the index level. Using ! in front of a value means NOT (default is OR)
|
||||
|
||||
|
|
Loading…
Reference in New Issue