Z
zzqv9p
I am trying to figure out the proper table layout for my database.
I have 3 tables at this time:
THREAT, VULNERABILITY & CONTROL
A THREAT entry will generate 1 to many VULNERABILITIES
A VULNERABILITY will generate 1 to many CONTROLS.
But a VULNEARBILITY after applying CONTROLS can have residual VULNERABILITY
which in itself is a VULNERABILITY. I thought of creating a
RESIDUAL_VULNERABILITY table which could generate 1 to many CONTROLS. But the
information in VULNERABILITY and RESIDUAL_VULNERABILITY will have the exact
same fields and link to the same CONTROL table.
Now CONTROL can generate THREAT entries and I really don’t want to create a
second THREAT table, because as I stated earlier a THREAT can generate 1 to
many VULNERABILITY entries.
Does anyone have any suggestions of how I could link VULNERABILITY back to
itself and CONTROL to THREAT. I am not sure if I should have some
intermediate tables that I perform this recursive activity.
I have 3 tables at this time:
THREAT, VULNERABILITY & CONTROL
A THREAT entry will generate 1 to many VULNERABILITIES
A VULNERABILITY will generate 1 to many CONTROLS.
But a VULNEARBILITY after applying CONTROLS can have residual VULNERABILITY
which in itself is a VULNERABILITY. I thought of creating a
RESIDUAL_VULNERABILITY table which could generate 1 to many CONTROLS. But the
information in VULNERABILITY and RESIDUAL_VULNERABILITY will have the exact
same fields and link to the same CONTROL table.
Now CONTROL can generate THREAT entries and I really don’t want to create a
second THREAT table, because as I stated earlier a THREAT can generate 1 to
many VULNERABILITY entries.
Does anyone have any suggestions of how I could link VULNERABILITY back to
itself and CONTROL to THREAT. I am not sure if I should have some
intermediate tables that I perform this recursive activity.