Code Project Data Model
The Code Project data model represents a collection of files scanned by a static code scanner. It extends the Asset data model.
The following table details the default attributes of the Code Project data model:
| Attribute Name | Attribute Type | Relationship Type | Required | 
|---|---|---|---|
| applications | Reference (Application) | SUPPORTS | No | 
| baseRiskScore | Calculated (Number) | N/A | No | 
| businessServices | Reference (Business service) | SUPPORTS | No | 
| categories | Text (Multivalued) | N/A | No | 
| cloudHostType | Single Choice | N/A | No | 
| cloudProvider | Text | N/A | No | 
| complianceFlags | Text (Multivalued) | N/A | No | 
| complianceStatus | Single Choice | N/A | No | 
| connectorCategories | Text (Multivalued) | N/A | No | 
| connectorNames | Text (Multivalued) | N/A | No | 
| createdBy | Text | N/A | No | 
| dataIntegrationTitles | Text (Multivalued) | N/A | No | 
| dataModelName | Calculated (Text) | N/A | No | 
| dateCreated | Date Time | N/A | No | 
| description | Text Area | N/A | No | 
| displayName | Calculated (Text) | N/A | Yes | 
| domains | Category (Asset domain) | IS | No | 
| environments | Category (Environment) | WITHIN | No | 
| firstSeen | Date Time | N/A | No | 
| flowState | Text | N/A | No | 
| informedUsers | Category (Informed user) | INFORMED_OF | No | 
| lastAssessed | Date Time | N/A | No | 
| lastEnrollment | Date Time | N/A | No | 
| lastInventoryUpdate | Date Time | N/A | No | 
| lastSeen | Date Time | N/A | No | 
| lastUpdated | Date Time | N/A | No | 
| lifecycleInactiveDate | Calculated (Date Time) | N/A | No | 
| lifecyclePurgeDate | Calculated (Date Time) | N/A | No | 
| lifecycleStatus | Calculated (Single Choice) | N/A | No | 
| name | Text | N/A | No | 
| numberOfDataIntegrationSources | Calculated (Number) | N/A | No | 
| numberOfDataIntegrationsWithMultipleSourceDatasets | Calculated (Number) | N/A | No | 
| numberOfSourceDatasets | Calculated (Number) | N/A | No | 
| numberOutOfCompliance | Number | N/A | No | 
| openFindingCount | Number | N/A | No | 
| owners | Reference (Person) | OWNS | No | 
| profiles | Category (Asset profile) | IS | No | 
| publiclyAccessible | True False | N/A | No | 
| remediationOwner | Category (Remediation owner) | OWNS_REMEDIATION | No | 
| riskFactorOffset | Number | N/A | No | 
| riskFactors | Risk Factors | N/A | No | 
| riskOwner | Category (Risk owner) | OWNS_RISK | No | 
| riskRating | Single Choice | N/A | No | 
| riskScore | Number | N/A | No | 
| riskScoringModel | Risk Scoring Model | N/A | No | 
| scannedForVulnerabilities | Calculated (True False) | N/A | No | 
| sourceStatus | Single Choice | N/A | No | 
| sourceUids | Text (Multivalued) | N/A | No | 
| sources | Reference (Source model) | SOURCED_FROM | No | 
| sourcesIcons | Source data models icons | N/A | No | 
| status | Calculated (Single Choice) | N/A | No | 
| statusCategory | Calculated (Single Choice) | N/A | No | 
| statusConfigurationModel | Status Configuration Model | N/A | No | 
| summary | Text | N/A | No | 
| tags | Text (Multivalued) | N/A | No | 
| technologies | Category (Asset technology) | IS | No | 
| type | Category (Asset type) | IS | No | 
| uid | Text | N/A | Yes | 
| updatedBy | Text | N/A | No | 
FOOTNOTES
- The attribute names are used in Brinqa Query Language (BQL) queries and Brinqa Condition Language (BCL) predicates.
- In the Type column, Calculated means that the value of the attribute is computed by executing a script. The text in the parentheses after Calculated denotes the type of the outcome. For additional information, see Calculated attributes.
- In the Type column, Reference means that two data models are related. The name in the parentheses after Reference indicates the other data model.
- The Relationship Type column only applies to the Category and Reference type attributes. You can use the relationship type keyword in BQL queries.