Skip to content
Discussion options

You must be logged in to vote

Hi,

We had the same problem with our custom databases. With the update to 2.11 I think there was an addition of a Uniq identifier to the database in three tables (assets, threads, vulnerabilities). This is formed by "code" and "ANR_ID". If in the knowledge base in the table "assets" of a risk analysis the code (A-006) occurs several times, the new identifier is no longer unique and therefore runs on an error during the creation. To do this, simply adjust the codes via DB update.

The incorrect entries can be identified with the following command:
SELECT * from `assets` WHERE `anr_id` = 41 AND `code` LIKE 'A-006%';

Afterwards the entry can be adjusted with this command.
UPDATE `assets` SET …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Pyr0technicien
Comment options

@K8Sudo
Comment options

@ruslanbaidan
Comment options

@Pyr0technicien
Comment options

Answer selected by Pyr0technicien
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants