centreon-plugins icon indicating copy to clipboard operation
centreon-plugins copied to clipboard

CTOR-1200: Add OS and IPs information to autodiscovery module

Open scresto31 opened this issue 6 months ago • 1 comments

Description

CTOR-1200: Add OS and IPs information to autodiscovery module

Fixes # CTOR-1200

Type of change

  • [ ] Patch fixing an issue (non-breaking change)
  • [ ] New functionality (non-breaking change)
  • [x] Functionality enhancement or optimization (non-breaking change)
  • [ ] Breaking change (patch or feature) that might cause side effects breaking part of the Software

How this pull request can be tested ?

Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested. Mention the automated tests included in this FOR (what they test like mode/option combinations).

Checklist

  • [ ] I have followed the coding style guidelines provided by Centreon
  • [ ] I have commented my code, especially hard-to-understand areas of the PR.
  • [ ] I have rebased my development branch on the base branch (develop).
  • [ ] In case of a new plugin, I have created the new packaging directory accordingly.
  • [ ] I have implemented automated tests related to my commits.
    • [ ] Data used for automated tests are anonymized.
  • [ ] I have reviewed all the help messages in all the .pm files I have modified.
    • [ ] All sentences begin with a capital letter.
    • [ ] All sentences end with a period.
    • [ ] I am able to understand all the help messages, if not, exchange with the PO or TW to rewrite them.
  • [ ] After having created the PR, I will make sure that all the tests provided in this PR have run and passed.

scresto31 avatar Jun 24 '25 10:06 scresto31

Logo Checkmarx One – Scan Summary & Details18b3e5f1-7105-4abe-b4c2-f79ed99639a8

New Issues (14)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Dangerous_Functions /dependencies/perl-filesys-smbclient/src/libauthSamba.c: 27
detailsThe dangerous function, strcpy, was found in use at line 27 in /dependencies/perl-filesys-smbclient/src/libauthSamba.c file. Such functions may...
ID: %2Bs%2BdtOTDTS0pY7f6EWQryJhws9Y%3D
Attack Vector
MEDIUM Dangerous_Functions /dependencies/perl-filesys-smbclient/src/libauthSamba.c: 21
detailsThe dangerous function, strcpy, was found in use at line 21 in /dependencies/perl-filesys-smbclient/src/libauthSamba.c file. Such functions may...
ID: fjZBzFlj3A6iYPo7Yb%2BTcoEI0qs%3D
Attack Vector
MEDIUM Dangerous_Functions /dependencies/perl-filesys-smbclient/src/libauthSamba.c: 20
detailsThe dangerous function, strcpy, was found in use at line 20 in /dependencies/perl-filesys-smbclient/src/libauthSamba.c file. Such functions may...
ID: xWrpITI%2BsrCHa4fefQHt3WNOM6A%3D
Attack Vector
MEDIUM Dangerous_Functions /dependencies/perl-filesys-smbclient/src/libauthSamba.c: 52
detailsThe dangerous function, strcpy, was found in use at line 52 in /dependencies/perl-filesys-smbclient/src/libauthSamba.c file. Such functions may...
ID: gzvBNrCfhraACCZ2YDg0k6foQsk%3D
Attack Vector
MEDIUM Dangerous_Functions /dependencies/perl-filesys-smbclient/src/libauthSamba.c: 54
detailsThe dangerous function, strcpy, was found in use at line 54 in /dependencies/perl-filesys-smbclient/src/libauthSamba.c file. Such functions may...
ID: PNP312vMK9lhaLnehIkicEwl9N8%3D
Attack Vector
MEDIUM Dangerous_Functions /dependencies/perl-filesys-smbclient/src/libauthSamba.c: 49
detailsThe dangerous function, strcpy, was found in use at line 49 in /dependencies/perl-filesys-smbclient/src/libauthSamba.c file. Such functions may...
ID: 78IUK8t3ietNFerVhWJJnAMZR4A%3D
Attack Vector
MEDIUM Use_of_Broken_or_Risky_Cryptographic_Algorithm /as400/connector.as400/src/main/java/com/centreon/connector/as400/utils/BlowFishUtils.java: 66
detailsIn decrypt, the application protects sensitive data using a cryptographic algorithm, getInstance, that is considered weak or even trivially broken,...
ID: MFsux2jPCARnm70Vt9zQRR0O278%3D
Attack Vector
MEDIUM Use_of_Broken_or_Risky_Cryptographic_Algorithm /as400/connector.as400/src/main/java/com/centreon/connector/as400/utils/BlowFishUtils.java: 74
detailsIn encrypt, the application protects sensitive data using a cryptographic algorithm, getInstance, that is considered weak or even trivially broken,...
ID: YXdlUT4yNfblbRIR2YuaXF7OffU%3D
Attack Vector
MEDIUM Use_of_Hard_coded_Cryptographic_Key /as400/connector.as400/src/main/java/com/centreon/connector/as400/utils/BlowFishUtils.java: 35
detailsThe variable ""3fe7b4d9e0b50a"" at line 35 of /as400/connector.as400/src/main/java/com/centreon/connector/as400/utils/BlowFishUtils.java is assig...
ID: 2MhVgNfoZAP%2BbVWCXkq4GJvATQ0%3D
Attack Vector
MEDIUM Use_of_Hard_coded_Cryptographic_Key /as400/connector.as400/src/main/java/com/centreon/connector/as400/utils/BlowFishUtils.java: 35
detailsThe variable ""3fe7b4d9e0b50a"" at line 35 of /as400/connector.as400/src/main/java/com/centreon/connector/as400/utils/BlowFishUtils.java is assig...
ID: fOokBgPT391Uv7I00Pz5Pl3TfVo%3D
Attack Vector
LOW Heap_Inspection /dependencies/perl-filesys-smbclient/src/libauthSamba.c: 6
detailsMethod at line 6 of /dependencies/perl-filesys-smbclient/src/libauthSamba.c defines Password, which is designated to contain user passwords. H...
ID: E%2F2PQs6mhCM0yRsNsoU77NQx2mA%3D
Attack Vector
LOW Heap_Inspection /as400/connector.as400/src/main/java/com/centreon/connector/as400/parser/OptionFactory.java: 55
detailsMethod addAs400Options at line 55 of /as400/connector.as400/src/main/java/com/centreon/connector/as400/parser/OptionFactory.java defines password...
ID: zgrpr0usveB7%2FWZBkCUUWRoh0qw%3D
Attack Vector
LOW Heap_Inspection /as400/connector.as400/src/main/java/com/centreon/connector/as400/daemon/MapIdentityManager.java: 76
detailsMethod verifyCredential at line 76 of /as400/connector.as400/src/main/java/com/centreon/connector/as400/daemon/MapIdentityManager.java defines ex...
ID: Jywe88g%2Bq%2FcWwE78LYohTqX3RCk%3D
Attack Vector
LOW Heap_Inspection /as400/connector.as400/src/main/java/com/centreon/connector/as400/daemon/MapIdentityManager.java: 75
detailsMethod verifyCredential at line 75 of /as400/connector.as400/src/main/java/com/centreon/connector/as400/daemon/MapIdentityManager.java defines pa...
ID: 0t9ypv09nwBVmOpNx7Dd2SQMNUI%3D
Attack Vector

github-actions[bot] avatar Jun 24 '25 10:06 github-actions[bot]

⚠️ Do not merge this before monday

lucie-tirand avatar Jul 04 '25 14:07 lucie-tirand