vysion 2.0.0__py3-none-any.whl → 2.0.1__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.
vysion/dto/util.py CHANGED
@@ -98,12 +98,12 @@ class MISPProcessor:
98
98
  )
99
99
 
100
100
  misp_object.add_attribute("id", type="text", value=hit.id)
101
- misp_object.add_attribute("company", type="target-org", value=hit.company)
102
- misp_object.add_attribute("company_link", type="link", value=hit.company_link)
103
- misp_object.add_attribute("link", type="link", value=hit.link)
104
- misp_object.add_attribute("group", type="threat-actor", value=hit.group)
105
- misp_object.add_attribute("date", type="datetime", value=hit.date)
106
- misp_object.add_attribute("info", type="text", value=hit.info)
101
+ misp_object.add_attribute("companyName", type="target-org", value=hit.companyName)
102
+ misp_object.add_attribute("companyLink", type="link", value=hit.companyLink)
103
+ misp_object.add_attribute("url", type="link", value=hit.url)
104
+ misp_object.add_attribute("ransomwareGroup", type="threat-actor", value=hit.ransomwareGroup)
105
+ misp_object.add_attribute("detectionDate", type="datetime", value=hit.detectionDate)
106
+ misp_object.add_attribute("text", type="text", value=hit.text)
107
107
  misp_object.add_attribute("country", type="text", value=hit.country)
108
108
  misp_object.add_attribute(
109
109
  "url_vysion_ransom",
@@ -114,6 +114,7 @@ class MISPProcessor:
114
114
  self.misp_event.add_object(misp_object)
115
115
 
116
116
  def process(self, result: dto.Result, **kwargs) -> MISPEvent:
117
+
117
118
  processor = {
118
119
  DocumentHit: self.parse_hit,
119
120
  RansomFeedHit: self.parse_ransom_feed_hit,
vysion/version.py CHANGED
@@ -15,4 +15,4 @@ See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  """
17
17
 
18
- __version__ = "2.0.0"
18
+ __version__ = "2.0.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vysion
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: The official Python client library for Vysion
5
5
  Home-page: https://vysion.ai
6
6
  License: Apache-2.0
@@ -29,7 +29,7 @@ Welcome to the PyPi webpage for Vysion, our implementation as a Python library t
29
29
 
30
30
  You can request a demo for the web app or an API-key to use in this library at [vysion.ai](https://vysion.ai).
31
31
 
32
- Latest version: [2.0.0](https://pypi.org/project/vysion/)
32
+ Latest version: [2.0.1](https://pypi.org/project/vysion/)
33
33
 
34
34
  You can visit [the documentation](https://developers.vysion.ai/?python) for more information on the searches and requests performed with the library or directly on the API.
35
35
 
@@ -5,7 +5,7 @@ vysion/client/error.py,sha256=-3NGr9ngTGSy-ctqk6S9eMBAvtY3lnjv9i0KiuRjd5g,1158
5
5
  vysion/dto/__init__.py,sha256=ct8JxVMfJ0APiOTgr9ju-JIuBlXOrPkx7n2qISSXUts,605
6
6
  vysion/dto/dto.py,sha256=H7uQMwcbFsVh2TTESdCooA-l6cP8XQ8iS9hrNC2F-UQ,13054
7
7
  vysion/dto/tag.py,sha256=_Dn4-_xiC1PD4udp3m4FsDdyHVCSgrq7NFJomjsMYtU,1503
8
- vysion/dto/util.py,sha256=y8qrAaevUu9ulZFOZcYPAKmYkEdMbnblHZMZveo858g,4520
8
+ vysion/dto/util.py,sha256=UNpy_A7rsfH57xgEmDultCIOtyM0a9OzI1PpWUSJi_U,4571
9
9
  vysion/model/__init__.py,sha256=rJX9eNW9-jQGTgwm97W04jhZa-dV_dSTTTFcbWg73w0,606
10
10
  vysion/model/enum/__init__.py,sha256=lhG6rgaYjrFBR8_IfJL0OoT0L7vooR5_ht4zUahQcOc,690
11
11
  vysion/model/enum/languages.py,sha256=yrYDwLEM2lK5iqdLR16n8xeCeSmsCsIj4sTiuNz33FM,4204
@@ -15,8 +15,8 @@ vysion/model/enum/services.py,sha256=fUfZEO0RNNctU4Gzae5TV3c7BU5A_cEwaEb1tzqgcr0
15
15
  vysion/taxonomy/__init__.py,sha256=Bc364AYxRCyjIn26-XBPeEDCPe3Hma4r5RAI8R8eblU,635
16
16
  vysion/taxonomy/flavours.py,sha256=ubImHBE8v0zhzFy_2YozAQk2SzN1XDQwHAxb2RebtCo,2347
17
17
  vysion/taxonomy/taxonomy.py,sha256=mG6vHX5Eyp38AKyJBgfBDqdpEmDMbkv8TA8YUBzko54,12227
18
- vysion/version.py,sha256=TMXg_ZHrnw4rie-3MmR_J98LqbA02qJ1h91_Yuo_E-Q,610
19
- vysion-2.0.0.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
20
- vysion-2.0.0.dist-info/METADATA,sha256=ZAMh2t3J4GB7khW1mD7P6GwAcWd_btfvFOi72OzvMAo,2122
21
- vysion-2.0.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
22
- vysion-2.0.0.dist-info/RECORD,,
18
+ vysion/version.py,sha256=UZ0L2QPjFezLeUXGLXw32JOqE2BwkSNth2rnLnRXYlw,610
19
+ vysion-2.0.1.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
20
+ vysion-2.0.1.dist-info/METADATA,sha256=vlt_td133OtsJuwEo6_58i3alvbhGlPU0Wc1jBE_6Bo,2122
21
+ vysion-2.0.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
22
+ vysion-2.0.1.dist-info/RECORD,,
File without changes