Menu

Audit and Audit category in a contrib ?

schirrms
2022-11-02
2022-11-03
  • schirrms

    schirrms - 2022-11-02

    Hi,

    Maybe a silly question :

    Is it possible to add/update an audit or an audit category from a contribution ?

    Thanks,

    Pascal

     
  • Vincent @ Combodo

    Hi Pascal,
    "Could you repeat the question?" ;-)
    Well in fact, could you rephrase it, I don't understand what you mean... by "contribution"

     
  • schirrms

    schirrms - 2022-11-03

    Hi Vincent,

    I usualy "speak" too much, but this time, my question was a little "too short" :)

    OK, better explain the situation :
    I am currently working on a contribution to deal with SSL certificate. The main goal is to know in wich CI a certificate is in use, but mostly when will those certificates expire.
    This contribution will be "feeded" with the work of one of my coworker, who setup a nice tool to scan our systems for each and every certificates (many thanks to your incredible synchronisation system !).

    So I would also provide some audit rules. I didn't start to work on these reports (my contribution is far from finished) but the idea would be to create probably :

    • An audit category with all devices in 'production' state and with at least one certificate.
    • one or two audit giving the device with certificate about to expire in less than 30 days and less than 7 days

    I'm fairly confiddent that I can create such audit category and audit rules through the Web interface, but I would like to know if there is a way to "embed" those audit ibnformation in a contribution ?

    Thanks,

    Pascal

     
  • Vincent @ Combodo

    Hi Pascal,
    It still doesn't tell me what is a "contribution", do you mean "an iTop extension" or do you mean "a github Pull Request".
    Audit Category and Rules are data information, the mean to embed data within an Extension is seldomly done (apart from the demo data), this module is doing it and can be used as example, the files with the data are in XML under /data, an XML export from an iTop can generate them. The "module" file does the data loading in iTop using a logic to avoid loading the same data in duplicates, to preserve or overwrite any changes done in iTop... It can also decide to only do something at the first installation of the module...
    Vincent

     
  • schirrms

    schirrms - 2022-11-03

    Hi Vincent,

    Sorry !!! Yes, I'm speaking of a custom extension (still handmade at this date, hopefully in the itsm designer in a short while ;))

    I think the link you provided is the answer to my question.

    Thanks again,

    Pascal

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.