1
0
-1

As first discover I made a "Discover a single device", it was an esxi 7.01 Server, with the right ssh credentials. In the log file I get a"HTTP/1.1 400 Bad Request", and a "Cannot create resource with supplied data (m_discoveries::create (discoveries))."After the discovery the device ist not in the device list.

    CommentAdd your comment...

    5 answers

    1.  
      1
      0
      -1

      I can confirm the single device discovery has a bug. Please use a Subnet discovery with a single IP until such time as we can release a fix.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        I'm running Open-AudIT on a ubuntu 20.04.2

        My Open-AudIT is version community 3.5.4

        The Apache service account:

        drwxrwsr-x 10 root www-data 4096 Jan 6 03:12 open-audit/

        what means Nmap installed and in the $PATH of the Apache user?

        If I make a discover direct in nmap it works:

        nmap -O 192.168.100.10

        Starting Nmap 7.80 ( https://nmap.org ) at 2021-04-30 06:05 UTC
        Nmap scan report for 0cac9b60-180a-43e8-a2b4-3dbbde28bb3b._msdcs.nazareth.local (192.168.100.10)
        Host is up (0.00030s latency).
        Not shown: 985 filtered ports
        PORT STATE SERVICE
        53/tcp open domain
        80/tcp open http
        88/tcp open kerberos-sec
        135/tcp open msrpc
        139/tcp open netbios-ssn
        389/tcp open ldap
        445/tcp open microsoft-ds
        464/tcp open kpasswd5
        593/tcp open http-rpc-epmap
        636/tcp open ldapssl
        3268/tcp open globalcatLDAP
        3269/tcp open globalcatLDAPssl
        3389/tcp open ms-wbt-server
        5357/tcp open wsdapi
        8100/tcp open xprint-server
        MAC Address: 00:0C:29:43:77:CA (VMware)
        Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port
        OS fingerprint not ideal because: Missing a closed TCP port so results incomplete
        No OS matches for host
        Network Distance: 1 hop

        OS detection performed. Please report any incorrect results at https://nmap.org/submit/ .
        Nmap done: 1 IP address (1 host up) scanned in 8.51 seconds

        If I make the single host discover in Open-AudIT, it doesn't work

        After the execute there is no discover in the list. I only can see this log:

        If I make a subnet discovery I can see it in the discovery list.

        I hope the attached logs are OK, because the discription is not so clear.

          CommentAdd your comment...
        1.  
          1
          0
          -1

          Ich made only a single device IP discovery, which doesn't work

          1. Mark Unwin

            I'll need more to go on than "it doesn't work".

            What doesn't work?

            Is the discovery created?

            Does the discovery run?

            Do you have Nmap installed and in the $PATH of the Apache user?

            Have you changed the Apache service account to that of a regular user?

            What version of Open-AudIT are you using?

            Are you running Open-AudIT on Windows or Linux?

            Can you attach the discovery and install support output as per Open-AudIT Support Information.

          CommentAdd your comment...
        2.  
          1
          0
          -1

          Please try creating a discovery using a single IP, instead of a subnet and advise if this works.

            CommentAdd your comment...