
lacework
Paquet d’installation silencieuse pour lacework
2.1.10-1
- package: tis-lacework-cli
- name: lacework
- version: 2.1.10-1
- maintainer: Amel FRADJ
- licence: Apache-2.0 license
- target_os: windows
- architecture: x86
- signature_date:
- size: 26.65 Mo
- homepage : https://github.com/lacework/go-sdk
package : tis-lacework-cli
version : 2.1.10-1
architecture : x86
section : base
priority : optional
name : lacework
categories :
maintainer : Amel FRADJ
description : Lacework as a platform provides a set of robust APIs for configuring accounts within the platform
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : Lacework, en tant que plateforme, fournit un ensemble d'API robustes pour configurer les comptes au sein de la plateforme
description_pl : Lacework jako platforma zapewnia zestaw solidnych interfejsów API do konfigurowania kont na platformie
description_de : Lacework als Plattform bietet eine Reihe von robusten APIs für die Konfiguration von Konten innerhalb der Plattform
description_es : Lacework como plataforma proporciona un conjunto de API sólidas para configurar cuentas dentro de la plataforma
description_pt : A plataforma Lacework fornece um conjunto de APIs robustas para a configuração de contas na plataforma
description_it : Lacework come piattaforma fornisce una serie di robuste API per la configurazione degli account all'interno della piattaforma
description_nl : Lacework als platform biedt een reeks robuuste API's voor het configureren van accounts binnen het platform
description_ru : Lacework как платформа предоставляет набор надежных API для настройки учетных записей в рамках платформы
audit_schedule :
editor :
keywords :
licence : Apache-2.0 license
homepage : https://github.com/lacework/go-sdk
package_uuid : 001130da-1f06-4358-ac91-0dfc6dcde020
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 3a1ab9d0a729b2f99b250d176e0a32a88fac2f96c3a050aa70ba36358078ea67
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-05-20T21:16:37.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 : vepTApETwsmPlWWPqLmkgXH+pVMece44PRjTA72/OFv1Bej37Cfp0K0R2FvPORN0ts7LO5Vdu179/ZVygRJKpv1jN5F77tMEZeALiuWqRIaa9wri7F8JRbmYovhF1NRuHi8QaKAi/TzC3OoZAxxzanZRqBQ0M56FkDiWkJGnRjOjgWVmltLtX21WR4dWg2FiyIl3El3g9hTkzAq4rGKJGtd/CPvjTvdFrrA2Ub6IzUZBEOyeQCf9siBLQd4PhSi8I5EMR1qqwQ2UIcM8B0TYKFu33fhCCyyOW6ufUbcIIk5p0K90C3k9rR/Mj/4/ZwFcokHX0HYvlZTktGK2Yyx9sg==
# -*- coding: utf-8 -*-
from setuphelpers import *
"""
"""
app_name = "lacework "
editor_dir = makepath(programfiles, "lacework")
app_dir = makepath(editor_dir, "lacework")
app_path = makepath(app_dir, "bin","lacework.exe")
audit_version = False
def get_installed_version(app_path):
return get_file_properties(app_path).get("FileVersion", "")
def install():
# Declaring local variables
zip_name = glob.glob(f"lacework-*.zip")[0]
unzipped_dir = "lacework"
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
mkdirs(app_dir)
print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
unzip(zip_name, unzipped_dir)
print('Copy lacework to %s' % app_dir)
copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
add_to_system_path(app_dir)
def audit():
# Auditing software
audit_status = "OK"
installed_version = get_installed_version(app_path)
if Version(installed_version) < Version(control.get_software_version()) and audit_version:
print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
audit_status = "WARNING"
elif isdir(app_dir) and not dir_is_empty(app_dir):
print("%s (%s) is installed" % (app_name, installed_version))
audit_status = "OK"
else:
print("%s is not installed" % app_name)
audit_status = "ERROR"
return audit_status
def uninstall():
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir):
remove_tree(app_dir)
if dir_is_empty(editor_dir):
remove_tree(editor_dir)
# -*- coding: utf-8 -*-
from setuphelpers import *
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
dict_arch = {
"x64" :"windows-amd64.exe.zip",
"x86" : "-windows-386.exe.zip"
}
git_repo = "lacework/go-sdk"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if download["browser_download_url"].endswith(".zip") and dict_arch[control.architecture] in download["browser_download_url"] :
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v","")
filename = download["name"]
break
if not isfile(filename):
package_updated = True
wget(url_dl, filename, proxies=proxies)
# nettoyer les fichiers temporaires
for f in glob.glob("*.zip"):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
6b306334fbd7cfbfaf9f16bd2d1e0ae4b3d19948caab0258c887d66d66a9ab12 : WAPT/control
3a1ab9d0a729b2f99b250d176e0a32a88fac2f96c3a050aa70ba36358078ea67 : WAPT/icon.png
f3925875ffe0f93557d4515478de7d98efe56f4b6555fc7d43ad840082519058 : lacework-cli-windows-386.exe.zip
945830cc2a73f1041a75188948f1e42bbf652002438ce028d55cd37ad8a15875 : luti.json
0b26dbbf8a06b386f3a0fd19ce66699ca9f39364bdf662f7b00c6d9e6f99c926 : setup.py
42ea7c812f40e6f677c7818b5635d7b8461da36cda2f9b6a0209cd28375079b0 : update_package.py