lacework
Silent install package for lacework
2.14.1-1
Preprod packages are packages built on LUTI.
They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.
- package: tis-lacework-cli
- name: lacework
- version: 2.14.1-1
- maintainer: Amel FRADJ
- licence: Apache-2.0 license
- target_os: windows
- architecture: x64
- signature_date:
- size: 30.86 Mo
- homepage : https://github.com/lacework/go-sdk
package : tis-lacework-cli
version : 2.14.1-1
architecture : x64
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 : PREPROD
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 : dcd41e80-e801-45dd-8120-33f6c2f24510
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 3a1ab9d0a729b2f99b250d176e0a32a88fac2f96c3a050aa70ba36358078ea67
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-06-23T21:01:41.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 : Qu4cjajAkrENzoJUdB85GGJMSLGYQ88JPRLH9D8/SlfDPJdJFBCqiAEsDHWKWHPLWOGpLxEBRrme1eb33Saqiuqgu52U5ZUjogsb9AMwvJL8WvWC+uQxLs9ku3wG9CjGhFm6fXfC8yFAXGlGToFsApPdkFoJfuP5kNecHEVFygnY+VrK6thTh7OhgV15zlnkEkpxqXk6+MhMpn8tleuzaHgb5yP0aeAZGZYj7CNzfH+eWKw+pHf5vG8TR5pjhx3qySuz8iXMDDnGDdS2tWLL1O8wBE/WfORAh11Dk+aQcLyTike4+nbVIwS6urRdPNagSnDdDN7hJGw7/gaG2bJDAA==
# -*- 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()
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
5c9d697585f8c575b7c945d53f271520995409dbd565048ee458f837045c62e8 : WAPT/control
3a1ab9d0a729b2f99b250d176e0a32a88fac2f96c3a050aa70ba36358078ea67 : WAPT/icon.png
3e4dc8560b4c16de9d3188abc2807ca1cb22768f996ceac2c7eb044541c669dc : lacework-cli-windows-amd64.exe.zip
d46e08d86e8ec24bc86b9dc4cf8a7a82f619b11ba8d8f66a4d6524426d80742e : luti.json
0b26dbbf8a06b386f3a0fd19ce66699ca9f39364bdf662f7b00c6d9e6f99c926 : setup.py
42ea7c812f40e6f677c7818b5635d7b8461da36cda2f9b6a0209cd28375079b0 : update_package.py