- package: tis-cyberwatch-agent
- name: Cyberwatch Agent
- version: 4.15-0
- categories: Security
- maintainer: WAPT Team,Tranquil IT
- editor: Cyberwatch
- locale: all
- target_os: macos
- architecture: x64
- signature_date:
- size: 532.62 Ko
- installed_size: 179.06 Mo
- homepage : https://cyberwatch.fr
package : tis-cyberwatch-agent
version : 4.15-0
architecture : x64
section : base
priority : optional
name : Cyberwatch Agent
categories : Security
maintainer : WAPT Team,Tranquil IT
description : Cyberwatch Vulnerability Manager is a vulnerability management platform with Assets mapping, Vulnerability scanning, Prioritization. Vulnerability Manage
depends :
conflicts :
maturity : PROD
locale : all
target_os : macos
min_wapt_version : 2.0
sources :
installed_size : 179061248
impacted_process :
description_fr : Cyberwatch Vulnerability Manager est une plateforme de gestion des vulnérabilités avec cartographie des actifs, analyse des vulnérabilités et priorisation. Gestion des vulnérabilités
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : Cyberwatch
keywords :
licence :
homepage : https://cyberwatch.fr
package_uuid : 700bfc70-f4a4-40c7-9cf7-e339dda98404
valid_from :
valid_until :
forced_install_on :
changelog : https://docs.cyberwatch.fr/help/fr/general_administration_software/changelog/agent/
min_os_version :
max_os_version :
icon_sha256sum : 84c8d943064b7613cd3ed456ddd81ab07c487931ae81fbbe029c670255d379d2
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-03-01T15:07:15.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : SNDM+wMVpP95LZyjf2/whY9dJWpH6AnHVTbQXYjcE4zlLWibCAOm5WlecmaC/aVKkbUSCI0ZwjLoVbnQ+P2spnvQPOdcTA2yR/SJtO0NiCmqcW8zG35A5aR0NCSO5UVI92H8kmdwBHnUJF59kgGtr1sB0gkFyopQ0NhDu0fV5hUp2KxLlClb99hBwdM/6mq3jgkLkxnExT+C2ZLm/0HW+zK1FoD+znukhkeBhX/YY/HLvkoZ4JTeB2aKbNY0jcSB0SAdEFVMV2318YTTvCMekkTcj/DRSqMobph77ZTgeo/Zrwb7Qehn4CkROtj/1B0dESPWUTdHo6NTczJyv5gfZg==
from setuphelpers import *
def install():
# Declaring local variables
bin_name = glob.glob("*.pkg")[0]
install_pkg(bin_name,key="pkgid:fr.cyberwatch.agent.pkg",min_version=control.get_software_version())
from setupdevhelpers import *
import xml.etree.ElementTree as ET
import json
import glob
def update_package():
# Declaring local variables
result = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
wget("https://demo.cyberwatch.fr/repos/mac/cyberwatch-agent.pkg","cyberwatch-agent.pkg",proxies=proxies)
version = get_version_cyb("cyberwatch-agent.pkg")
# Changing version of the package
if Version(version, 4) > Version(control.get_software_version(), 4):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
return result
def get_version_cyb(pkg_path):
'''
Get the properties of a .pkg file by getting the Info.plist of the package
Args:
pkg_path: path to .pkg file
app_name: name of the app contained in the .pkg file
Returns:
plist_read: dict of Info.plist file
'''
# Extracting .pkg file
run(rf"pkgutil --expand-full {pkg_path} extracted_pkg/")
with open(r"extracted_pkg/Distribution") as f :
data = f.read()
tree = ET.ElementTree(ET.fromstring(data))
root = tree.getroot()
g = root.findall('pkg-ref')[0]
version = g.attrib['version']
remove_tree("extracted_pkg/")
return version
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
72fbe1f09ff3ac6068b1937763f04c7c1c89a300cf27b0844c28ae06e12da0c8 : WAPT/control
84c8d943064b7613cd3ed456ddd81ab07c487931ae81fbbe029c670255d379d2 : WAPT/icon.png
d86ca691e824110a6d5815d748c5a3e14d29626e937eb5d3eceb9c636cead3c2 : cyberwatch-agent.pkg
694796df3e45b131d3cadfab5ec7cccbeb1d9f28833cc7f3bb18e36a313516bb : luti.json
e2295bd3762fd129bea70d76aab6735d16d13204b8737f6c8828b05ff537cdfc : setup.py
096094e1a6ae7e9df86b2d8ac7a4ec294bccd86cbecf7357f9ac829ab9475e21 : update_package.py