Cyberwatch Agent
Paquet d’installation silencieuse pour Cyberwatch Agent
4.20-0
Security
Security
Les paquets PREPROD sont des paquets construits via LUTI.
Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.
- package: tis-cyberwatch-agent
- name: Cyberwatch Agent
- version: 4.20-0
- categories: Security
- maintainer: WAPT Team,Tranquil IT
- editor: Cyberwatch
- locale: all
- target_os: macos
- architecture: x64
- signature_date:
- size: 535.28 Ko
- installed_size: 179.06 Mo
- homepage : https://cyberwatch.fr
package : tis-cyberwatch-agent
version : 4.20-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 : PREPROD
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 : aab01d85-f712-4a33-8a1b-99f16a21b1c0
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 : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-01-26T09:31:21.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 : nXUvJhj4TtXUKTap2Iob4b61qiysTmh1JOMMYgT5cD7hk4JY9CzoBtCa0aZDiNWlOawpOo/AHdrIYdszh8DYUekWrlhsnGSPKSnsxUWKVS+DKmQ/39h9VNLvV6i/hYQvtTaCMFbbRXfecNG3kVmxez3Yfg3NuAJTvR0E8VL10OfZ23VHGaMLCo8HRLpJgXBEsR+9LWd9D79ckUtdhjHECSjPEZHtdT4hnjDemyPuga+nH5BG02/88W9coeMucRdAun6bw8PE0eF1BDZ1T4VinDKXtlVD4G/9dAqQWZoNUrp9PkibcrlirxY2Mc02fcNzU+Uj2N9ahKNSGOgfytvodw==
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
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
de5ee199be75bd2e1294559fd22d8dbd55f869b7e0114dcf38a4367deb781048 : WAPT/control
84c8d943064b7613cd3ed456ddd81ab07c487931ae81fbbe029c670255d379d2 : WAPT/icon.png
799318fa7e48d8ae06345d3cd2c677f1e75371d8ceddb191a41ddd06c3cccf72 : cyberwatch-agent.pkg
60697cc09fed4627e6e6d534d5678d788051fb06b7c708edea47d33b46534be0 : luti.json
e2295bd3762fd129bea70d76aab6735d16d13204b8737f6c8828b05ff537cdfc : setup.py
096094e1a6ae7e9df86b2d8ac7a4ec294bccd86cbecf7357f9ac829ab9475e21 : update_package.py