We are using Discovery to retrieve our net data. We developed a pattern to read the database's users and relative grants.
For each database, we collect a list of users, and we collected it as a Database object- ExtendedInformation. We use "**" to separate the information of each user, the result is similar to this string:" user1 databasename1 READ,WRITE ** user2 databasename2 READ"
It's not really usable.
We try to create a new object type DB_User and to organize in the xml discovery file the result as the other object type:
<DB_Users>
<DB_UserEntry>
<Name>user1</Name>
<database>databasename1</database>
<grants>READ,WRITE</grants>
</DB_UserEntry>
<DB_UserEntry>
<Name>user2</Name>
<database>databasename2</database>
<grants>READ,WRITE</grants>
</DB_UserEntry>
</DB_Users>
But when we try to create an object mapping on DB_User object, we can't select DB_User as selector, the system messages "A valid selector is required. Valid values are: [HOST, CONNECTED_DEVICE, DEVICE, COLLECTOR, DISCOVERY, SCAN_SETTING, FILESYSTEM, STORAGE_DEVICE, OS, CPU, APPLICATION, APPLICATION_SERVICE, PATCH, LICENSE, NETWORK_INTERFACE, SCANNING_INFORMATION, DATABASE, VIRTUAL_GUEST, USER, GROUP]"
So the question is: "Can we create a new object type and manage it with xml discovery file in the Discovery Results Import schema? Is it possible or due to discovery rules is not possibile to manage not default object type?"
Thanks