pymisp 2.5.7.1__py3-none-any.whl → 2.5.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pymisp might be problematic. Click here for more details.
- pymisp/api.py +1 -0
- {pymisp-2.5.7.1.dist-info → pymisp-2.5.8.dist-info}/METADATA +4 -4
- {pymisp-2.5.7.1.dist-info → pymisp-2.5.8.dist-info}/RECORD +5 -68
- CHANGELOG.txt +0 -5393
- examples/__init__.py +0 -0
- examples/add_attributes_from_csv.py +0 -74
- examples/add_email_object.py +0 -29
- examples/add_fail2ban_object.py +0 -86
- examples/add_feed.py +0 -25
- examples/add_file_object.py +0 -47
- examples/add_filetype_object_from_csv.py +0 -53
- examples/add_generic_object.py +0 -26
- examples/add_github_user.py +0 -65
- examples/add_gitlab_user.py +0 -56
- examples/add_named_attribute.py +0 -25
- examples/add_organisations.py +0 -57
- examples/add_ssh_authorized_keys.py +0 -29
- examples/add_user.py +0 -22
- examples/add_vehicle_object.py +0 -22
- examples/addtag2.py +0 -45
- examples/asciidoc_generator.py +0 -114
- examples/cache_all.py +0 -10
- examples/copyTagsFromAttributesToEvent.py +0 -68
- examples/copy_list.py +0 -93
- examples/create_events.py +0 -26
- examples/cytomic_orion.py +0 -549
- examples/del.py +0 -22
- examples/delete_user.py +0 -16
- examples/edit_organisation.py +0 -20
- examples/edit_user.py +0 -20
- examples/falsepositive_disabletoids.py +0 -136
- examples/fetch_events_feed.py +0 -15
- examples/fetch_warninglist_hits.py +0 -38
- examples/freetext.py +0 -22
- examples/generate_file_objects.py +0 -78
- examples/generate_meta_feed.py +0 -15
- examples/get.py +0 -37
- examples/get_csv.py +0 -37
- examples/get_network_activity.py +0 -187
- examples/last.py +0 -48
- examples/load_csv.py +0 -94
- examples/lookup.py +0 -28
- examples/misp2cef.py +0 -71
- examples/misp2clamav.py +0 -52
- examples/openioc_to_misp.py +0 -27
- examples/proofpoint_tap.py +0 -203
- examples/proofpoint_vap.py +0 -65
- examples/search.py +0 -48
- examples/search_attributes_yara.py +0 -40
- examples/search_sighting.py +0 -42
- examples/server_sync_check_conn.py +0 -32
- examples/sharing_groups.py +0 -15
- examples/show_sightings.py +0 -168
- examples/stats_report.py +0 -405
- examples/sync_sighting.py +0 -171
- examples/tags.py +0 -25
- examples/test_sign.py +0 -19
- examples/trustar_misp.py +0 -59
- examples/up.py +0 -21
- examples/upload.py +0 -60
- examples/users_list.py +0 -15
- examples/vmray_automation.py +0 -281
- examples/vt_to_misp.py +0 -182
- examples/warninglists.py +0 -22
- examples/yara.py +0 -38
- examples/yara_dump.py +0 -98
- {pymisp-2.5.7.1.dist-info → pymisp-2.5.8.dist-info}/LICENSE +0 -0
- {pymisp-2.5.7.1.dist-info → pymisp-2.5.8.dist-info}/WHEEL +0 -0
pymisp/api.py
CHANGED
|
@@ -2600,6 +2600,7 @@ class PyMISP:
|
|
|
2600
2600
|
uid = get_uuid_or_id_from_abstract_misp(user_id)
|
|
2601
2601
|
url = f'users/edit/{uid}'
|
|
2602
2602
|
if self._current_role.perm_admin or self._current_role.perm_site_admin:
|
|
2603
|
+
# Privilege check.
|
|
2603
2604
|
url = f'admin/{url}'
|
|
2604
2605
|
r = self._prepare_request('POST', url, data=user)
|
|
2605
2606
|
updated_user = self._check_json_response(r)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: pymisp
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.8
|
|
4
4
|
Summary: Python API for MISP.
|
|
5
5
|
License: BSD-2-Clause
|
|
6
6
|
Author: Raphaël Vinot
|
|
@@ -32,8 +32,8 @@ Requires-Dist: RTFDE (>=0.1.2) ; (python_version <= "3.9") and (extra == "email"
|
|
|
32
32
|
Requires-Dist: beautifulsoup4 (>=4.13.3) ; extra == "openioc"
|
|
33
33
|
Requires-Dist: deprecated (>=1.2.18)
|
|
34
34
|
Requires-Dist: docutils (>=0.21.2) ; (python_version >= "3.11") and (extra == "docs")
|
|
35
|
-
Requires-Dist: extract_msg (>=0.53.
|
|
36
|
-
Requires-Dist: lief (>=0.16.
|
|
35
|
+
Requires-Dist: extract_msg (>=0.53.2) ; extra == "email"
|
|
36
|
+
Requires-Dist: lief (>=0.16.4) ; extra == "fileobjects"
|
|
37
37
|
Requires-Dist: myst-parser (>=4.0.1) ; (python_version >= "3.11") and (extra == "docs")
|
|
38
38
|
Requires-Dist: oletools (>=0.60.2) ; extra == "email"
|
|
39
39
|
Requires-Dist: pydeep2 (>=0.5.1) ; extra == "fileobjects"
|
|
@@ -42,7 +42,7 @@ Requires-Dist: python-dateutil (>=2.9.0.post0)
|
|
|
42
42
|
Requires-Dist: python-magic (>=0.4.27) ; extra == "fileobjects"
|
|
43
43
|
Requires-Dist: reportlab (>=4.3.1) ; extra == "pdfexport"
|
|
44
44
|
Requires-Dist: requests (>=2.32.3)
|
|
45
|
-
Requires-Dist: sphinx (>=8.2.
|
|
45
|
+
Requires-Dist: sphinx (>=8.2.3) ; (python_version >= "3.11") and (extra == "docs")
|
|
46
46
|
Requires-Dist: sphinx-autodoc-typehints (>=3.1.0) ; (python_version >= "3.11") and (extra == "docs")
|
|
47
47
|
Requires-Dist: urllib3 (>=2.3.0) ; extra == "brotli"
|
|
48
48
|
Requires-Dist: validators (>=0.34.0) ; extra == "virustotal"
|
|
@@ -1,69 +1,6 @@
|
|
|
1
|
-
CHANGELOG.txt,sha256=2pi0zreoqfIInNCyU_XcDvaizt1G3VSLH9COAQ37PYY,181076
|
|
2
|
-
examples/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
examples/add_attributes_from_csv.py,sha256=k-9AAips6PqBZ70hRD2422wn6rRWHqNDkhpm6yIv7vw,2479
|
|
4
|
-
examples/add_email_object.py,sha256=y-HfUMsl-lETBISfAA0d8U6aVlwtpitRXEIPY-nKPQU,992
|
|
5
|
-
examples/add_fail2ban_object.py,sha256=c2LSh7AqsuvCj_53laM1MYP_i0ZkZuz0d8GbKEeQK1U,3353
|
|
6
|
-
examples/add_feed.py,sha256=d1y-eFgEA3afqKFA_ziOTqEoJ3XQbrZZfkw1VBr6nis,1075
|
|
7
|
-
examples/add_file_object.py,sha256=qIh6Tho76PBYV9Jgid3dSoMEQIagDXXPFwjiw2cohlA,1742
|
|
8
|
-
examples/add_filetype_object_from_csv.py,sha256=k6qnO4Hn4vGmraeDR4vdOxGRJoAxSgJD9COmZXRHCsE,1878
|
|
9
|
-
examples/add_generic_object.py,sha256=oqJeBhV3Q-0OPNOdSsiXXIOwbMY9abP9myYZKgrp3qs,1031
|
|
10
|
-
examples/add_github_user.py,sha256=tuhXlXnpf2IEHke6eg704Zg8k1EW6fb9w6rbTWi4Jtw,2898
|
|
11
|
-
examples/add_gitlab_user.py,sha256=UsbgZ5tOjqHtu1icsgmhTljTkapqa37GDLQ6caBLNZw,2146
|
|
12
|
-
examples/add_named_attribute.py,sha256=fAuuG9UebnSYvLPSw6oUOXtwxfAFzZxbLVSE8yL3jlo,855
|
|
13
|
-
examples/add_organisations.py,sha256=OM0gsUHFnS5YqILWhf20Y9IiHAeMKb0KZuM66G3wlsg,2085
|
|
14
|
-
examples/add_ssh_authorized_keys.py,sha256=vZtBG7He9Xe_60euSupd6SkUTNqmziPPF-EI8ja0n0o,1006
|
|
15
|
-
examples/add_user.py,sha256=y_LRAZRYQuNbfwvB-cyOYpVvTiUVlcWeO_Pv4Tsb7WU,832
|
|
16
|
-
examples/add_vehicle_object.py,sha256=0PxMUgAQcvVhAf2gQD75hngNiPz4PmfsbbEByQOHf_o,896
|
|
17
|
-
examples/addtag2.py,sha256=rUD0oeyaR40onttjGtrWbfkmQWj703OS4PPDb5e6qWg,1442
|
|
18
|
-
examples/asciidoc_generator.py,sha256=NoxjA-dB7Sso8VnCtY7xLNsR4OVOvAggkZnQHgDCjkI,4224
|
|
19
|
-
examples/cache_all.py,sha256=aR5VQorF1z2WAxBqUrOuT1hrtB8jsgb4me4WkugqA_Q,253
|
|
20
|
-
examples/copyTagsFromAttributesToEvent.py,sha256=_ljnpTCWrm9Z80SyGffKPsu1hOac2pyC5AvDBPRRGCQ,2034
|
|
21
|
-
examples/copy_list.py,sha256=vB6e9CjGt7vmcbke89fAnd7wXXLR-qBw6RWoHCtdi8k,2554
|
|
22
|
-
examples/create_events.py,sha256=MAgkmIa09fTSysuAOYrLtncfDdGB0rt7qb-F_4EyHqA,1128
|
|
23
|
-
examples/cytomic_orion.py,sha256=HvYzo1_TBJihdaJtdD8RORnEQ2V88H4ulK9TD3-fbLI,26264
|
|
24
|
-
examples/del.py,sha256=5Bo_2p9BzMxcdIIXbMDWcDUtjM6TAvcycLb23S9YaZU,661
|
|
25
|
-
examples/delete_user.py,sha256=jZRjJDbvJ1e3q6EjfYZ1rb0yOq1ltY6wloMpod0xmSQ,635
|
|
26
|
-
examples/edit_organisation.py,sha256=t80TBMepUmfJqCB1Bs1Wb5PW0cJtGGv0LLvX_cDrxLA,791
|
|
27
|
-
examples/edit_user.py,sha256=ArdGPfe5w9EEBo-QmYNVBcIDXR1wZ736iql6rbWF7xY,722
|
|
28
|
-
examples/falsepositive_disabletoids.py,sha256=s-QkP0xJ9G-KYq9Td9U0mXM7lZcx1RaYOK94TZiNp64,6167
|
|
29
|
-
examples/fetch_events_feed.py,sha256=HKNH2peH0NSjmhs554TtyXdb7xRm-xp3q14i5GuoS9Q,475
|
|
30
|
-
examples/fetch_warninglist_hits.py,sha256=4owQ6CkU2CmHPpq_ldP1CWC3qKc94QQ3uopf7_b2rd8,1641
|
|
31
|
-
examples/freetext.py,sha256=CVPApHjY-KpCpSnOxzPcD9KlHpmJKWdC_XfnBdRkuSY,633
|
|
32
|
-
examples/generate_file_objects.py,sha256=7VUVCnDV9vJmxto16Wy9tFaMyrwO93sEAeBd2OO4xR0,2582
|
|
33
|
-
examples/generate_meta_feed.py,sha256=wJ73Tb5AUenBbgZUyVXGWkrw03HC2VIw_XaZ3XcGbxE,426
|
|
34
|
-
examples/get.py,sha256=Kp7UgO8pKNePpHdO1v86bqSn6IDZosdlFtX1y5ZzEJ0,969
|
|
35
|
-
examples/get_csv.py,sha256=PEOh06abRGp5YjCxNVYFo45Ne3Yv9YeOFl6Jii_jZ4k,1643
|
|
36
|
-
examples/get_network_activity.py,sha256=LFzSGrBsF_A9lGd8j07SHF28oAo4hk5hnAFKaZoBsVk,6744
|
|
37
|
-
examples/last.py,sha256=hlyYSpG3uP4uqUGv0Le1AEat2xKfivn7PSgF9kV0tEo,1814
|
|
38
|
-
examples/load_csv.py,sha256=pEu9jNof8HgHcZ-Tv6wr65PttV1knNmjlUMxG-k42QA,3930
|
|
39
|
-
examples/lookup.py,sha256=fB7Le-AgSe8BxwxHhzJ1X9mQYd50BicTX3onjzjhDWI,713
|
|
40
|
-
examples/misp2cef.py,sha256=d-xRD4NDD7RzwY4sgKlMj10rPe361DR2xquRB1jDzEE,2361
|
|
41
|
-
examples/misp2clamav.py,sha256=lLJ7NPwgd8O_8h8DNmbHMMB3vQ6FiT1y83WG3el00c0,1488
|
|
42
|
-
examples/openioc_to_misp.py,sha256=BDUsN0E6bgjq6RCB96MVo5vNK5tLhjKkk8CUE_nUMqk,930
|
|
43
|
-
examples/proofpoint_tap.py,sha256=6i4OeGQ9XosRQZ6ZvFWv1mif0fATGCe3HjfGRH4qGm0,9337
|
|
44
|
-
examples/proofpoint_vap.py,sha256=u2Zn6jESg89Ay0TNQ6Jryzifmvfj68n33WQ4nEaS9QE,2715
|
|
45
|
-
examples/search.py,sha256=dSrg7xKcJpNq6-LIRMZS8no16DeMP-lWudY2-XxqZ78,1668
|
|
46
|
-
examples/search_attributes_yara.py,sha256=6JqopJBBbyPbcKRP3MvYcPQEOp20pvsTMH3_WSOXOr8,1347
|
|
47
|
-
examples/search_sighting.py,sha256=Z7H0BX9YlalQBrCgC_T09vubrpzFYn53uIBUiX-haJs,1274
|
|
48
|
-
examples/server_sync_check_conn.py,sha256=DtQz4d5_XrNWJFjmQyFS4Y6RbBESl9uT9K7YtZkn9Tw,782
|
|
49
|
-
examples/sharing_groups.py,sha256=aP7HFeFlTMziD-L-OOzY7Pu3yyFNniAtQQi_PBJDIj8,436
|
|
50
|
-
examples/show_sightings.py,sha256=6FatE_bSaL5a2TVZ95dpKBBwSGf23eu3BZNdDJdx_UA,6295
|
|
51
|
-
examples/stats_report.py,sha256=oKDOuFTXpfYXaPHVsCSMM2iFIAQh6n2Zm_ilgaCadXo,22882
|
|
52
|
-
examples/sync_sighting.py,sha256=KJWDINw3RuqUI7NT3OyhuUj5zBE8HBQUbBEab7Pulrg,5958
|
|
53
|
-
examples/tags.py,sha256=x7hGxANTGixjJD_VhTLrAxzRlh6j4SjSDg1w3aFjVUQ,556
|
|
54
|
-
examples/test_sign.py,sha256=Zl83MAZk0Ey4q2UidyXbh1J2aFDA9wFq1jLgRtpZbi8,480
|
|
55
|
-
examples/trustar_misp.py,sha256=OA9qspSDSAL0hyuOjAsV0iah5PZpLRAXZWXn2KomUjU,1964
|
|
56
|
-
examples/up.py,sha256=ZaWwTUm3YdUBdo2Qj0PQdcDzDPklFXWwOCgHwGWfBV4,617
|
|
57
|
-
examples/upload.py,sha256=U-s7F4LT5VQoG2tKKFI_JjNVhAgyNdPRge_N9fOpGcU,2359
|
|
58
|
-
examples/users_list.py,sha256=laVSrCivtXokgCuzgowLipGztzA9h2neZIt-5gtJtK0,419
|
|
59
|
-
examples/vmray_automation.py,sha256=FRF6IiLpVy4L91UAn_g8BlxdBSLl5BjdifQoRruqjXY,9211
|
|
60
|
-
examples/vt_to_misp.py,sha256=lXqaaXusDpyy8n5IR1J2U1LR43f2CRjHhFdcJwOycSE,7514
|
|
61
|
-
examples/warninglists.py,sha256=x8_raV2Ss0RBuSuC3ZXVHBOJXiwDmPKjWtCzgT2862E,726
|
|
62
|
-
examples/yara.py,sha256=OmQsKQeXH5NlwYtIfOe8wIPsWeep7BAkKSwyRkSN9AA,946
|
|
63
|
-
examples/yara_dump.py,sha256=wZlIUlZEbuyUcKx-Gp5NrL_Vi_ZevAVx7GmuVk_mXek,3725
|
|
64
1
|
pymisp/__init__.py,sha256=NxD9URYrwmEvYsZdUDTtBqBuIsvzRjXnRr8QVPsuOGE,4004
|
|
65
2
|
pymisp/abstract.py,sha256=hdf3heAGnEi3rFIxaAsCOKfO4Y1kT_UoDNpr564GiIk,15745
|
|
66
|
-
pymisp/api.py,sha256=
|
|
3
|
+
pymisp/api.py,sha256=o-LEgdYLtpAMjJ4KgmbYddFuHq-JBs9xU_4FfKRUJMU,209471
|
|
67
4
|
pymisp/data/describeTypes.json,sha256=hoOy6U_FDVmfk9EdaFgGfEe_GMifmRnIrW8FAJ1ylJ4,45889
|
|
68
5
|
pymisp/data/misp-objects/objects/ADS/definition.json,sha256=EtPXOaNcngjtH0ylJ0gw9UfErgkjzUWFOyzvzC6pGfM,3048
|
|
69
6
|
pymisp/data/misp-objects/objects/abuseipdb/definition.json,sha256=xWtZfdAwWWTR5_J76K8chrxFViJeH9T8CQQ6aRhEk3Q,1070
|
|
@@ -460,7 +397,7 @@ pymisp/tools/update_objects.py,sha256=sp_XshzgtRjAU0Mqg8FgRTaokjVKLImyQ02xIcPSrH
|
|
|
460
397
|
pymisp/tools/urlobject.py,sha256=PIucy1356zaljUm1NbeKmEpHpAUK9yiK2lAugcMp2t8,2489
|
|
461
398
|
pymisp/tools/vehicleobject.py,sha256=bs7f4d47IBi2-VumssSM3HlqkH0viyHTLmIHQxe8Iz8,3687
|
|
462
399
|
pymisp/tools/vtreportobject.py,sha256=NsdYzgqm47dywYeW8UnWmEDeIsf07xZreD2iJzFm2wg,3217
|
|
463
|
-
pymisp-2.5.
|
|
464
|
-
pymisp-2.5.
|
|
465
|
-
pymisp-2.5.
|
|
466
|
-
pymisp-2.5.
|
|
400
|
+
pymisp-2.5.8.dist-info/LICENSE,sha256=1oPSVvs96qLjbJVi3mPn0yvWs-6aoIF6BNXi6pVlFmY,1615
|
|
401
|
+
pymisp-2.5.8.dist-info/METADATA,sha256=B9sJiYfBYOAjRC0_JnQJRN788bXUNqQymcD80bWhSTQ,8881
|
|
402
|
+
pymisp-2.5.8.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
403
|
+
pymisp-2.5.8.dist-info/RECORD,,
|