tis-audit-glpi-inventory

0-11
GLPI Inventory with wapt
4836 downloads
Download
See build result See VirusTotal scan
tis-audit-glpi-inventory icon
  • package : tis-audit-glpi-inventory
  • name : GLPI Inventory with wapt
  • version : 0-11
  • categories :
  • maintainer : Simon Fonteneau
  • installed_size :
  • editor :
  • licence : GPL-2.0
  • signature_date : 2024-03-13T17:01:43.421743
  • size : 6.18 Ko
  • locale : all
  • target_os : linux
  • impacted_process :
  • architecture : all
  • Homepage : https://github.com/glpi-project/glpi-agent
  • Depends :
package           : tis-audit-glpi-inventory
version           : 0-11
architecture      : all
section           : base
priority          : optional
name              : GLPI Inventory with wapt
categories        : 
maintainer        : Simon Fonteneau
description       : GLPI Inventory with wapt
depends           : tis-glpi-agent
conflicts         : 
maturity          : PROD
locale            : all
target_os         : linux
min_wapt_version  : 2.0
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 7d
editor            : 
keywords          : glpi
licence           : GPL-2.0
homepage          : https://github.com/glpi-project/glpi-agent
package_uuid      : 3cf82100-af74-465b-bb4f-a53017a26e9c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : ff336ad8093a16abe7028748cdebfd0b9e789dd85f0b38d35d3dbdadbc8b6e97
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : elcYxj5cIVhB9JsMnYekenBT9X6ESxW642A/Ri1kduoImym2IrzOeKBXepjIQzcRth6J9352GSh2VJF7DfmnVrTvCbbyhteH+nhMiJazU7Vz2yOg7Qygt/S6gIwF+RSRGF+g4AFtgSsD4ttr31sRqMpM6W1zgYAu3Wsf7m7/bln5GbJbNoyYqIQ+oalhPy0wxoPg8i9wyasXLVnLa1wzLUS6ETTUktSta/umTCrzThS494lud8XwczjmnsyzP5adt/RLWYSBu3gLZlFKyLcSppO7Bwd27CO66PrE9C2evQF0adJGwC8mDpz/ST7/xJSXtGMDBcrcp0oQjEDWM+35Bg==
signature_date    : 2024-03-13T17:01:43.421743
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
# -*- coding: utf-8 -*-
from setuphelpers import *
import json


def install():
    pass


def audit():
    jsonfile = '/tmp/inventory.json'
    run('"/usr/bin/glpi-inventory" --json > "%s"' % (jsonfile))
    with open(jsonfile,'rb') as f:
        datajson = json.load(f)

    WAPT.write_audit_data_if_changed("audit-glpi-inventory", "audit-glpi-inventory", datajson, keep_days=365,max_count=1)

    return "OK"
41e20ca39b819f7dec3ce2cc23e9e13ebeb20f6c34966ff1406087811fd1e3f7 : setup.py
ff336ad8093a16abe7028748cdebfd0b9e789dd85f0b38d35d3dbdadbc8b6e97 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
5d2e63126b9c530a1fcec265777bf6186f008dc81eff8084c94d65bb4e645d10 : luti.json
2838b66474149c0970358d533456865d4273d9b43725cd43a51b967178e6f15f : WAPT/control