crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
787a1116
ROOT
/
pkg
/
classification
/
db
/
db.go
Search
History
428 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
PHIDataCategoryGroupUUID
recipesDir
:
embed.FS
dataTypesDir
:
embed.FS
dataCategoriesDir
:
embed.FS
dataTypeClassificationPatternsDir
:
embed.FS
knownPersonObjectPatternsDir
:
embed.FS
subjectMappingFile
:
embed.FS
categoryGroupingFile
:
embed.FS
DefaultDB
Recipes
:
[]Recipe
DataTypes
:
[]DataType
DataCategories
:
[]DataCategory
DataTypeClassificationPatterns
:
[]DataTypeClassificationPattern
KnownPersonObjectPatterns
:
[]KnownPersonObjectPattern
Recipe
URLS
:
[]string
ExcludeURLS
:
[]string
Name
:
string
Type
:
string
SubType
:
string
Packages
:
[]Package
UUID
:
string
Package
Name
:
string
PackageManager
:
string
Group
:
string
RecipeType
RecipeTypeDataStore
RecipeTypeService
DataType
Name
:
string
UUID
:
string
CategoryUUID
:
string
DataCategory
Name
:
string
UUID
:
string
Groups
:
map[string]DataCategoryGroup
DataCategoryGroup
Name
:
string
UUID
:
string
DataCategoryGrouping
Groups
:
map[string]struct { Name string `json:"name" yaml:"name"` ParentUUIDs []string `json:"parent_uuids,omitempty" yaml:"parent_uuids,omitempty"` }
CategoryMapping
:
map[string]struct { Name string `json:"name" yaml:"name"` GroupUUIDs []string `json:"group_uuids" yaml:"group_uuids"` }
ObjectType
KnownObject
:
ObjectType
ExtendedUnknownObject
:
ObjectType
UnknownObject
:
ObjectType
AssociatedObject
:
ObjectType
KnownDataObject
:
ObjectType
DataTypeClassificationPattern
Id
:
int
DataTypeUUID
:
string
DataType
:
DataType
IncludeRegexp
:
string
IncludeRegexpMatcher
:
*regexp.Regexp
ExcludeRegexp
:
string
ExcludeRegexpMatcher
:
*regexp.Regexp
ExcludeTypes
:
[]string
ExcludeTypesMapping
:
map[string]struct{}
FriendlyName
:
string
HealthContextDataTypeUUID
:
string
HealthContextDataType
:
DataType
MatchColumn
:
bool
MatchObject
:
bool
ObjectType
:
[]string
ObjectTypeMapping
:
map[string]struct{}
KnownPersonObjectPattern
Id
:
int
DataType
:
DataType
IncludeRegexp
:
string
IncludeRegexpMatcher
:
*regexp.Regexp
ExcludeRegexp
:
string
ExcludeRegexpMatcher
:
*regexp.Regexp
Category
:
string
SubjectName
:
string
ActAsIdentifier
:
bool
IdentifierRegexpMatcher
:
*regexp.Regexp
Default
()
:
DefaultDB
DefaultWithMapping
(subjectMappingPath string)
:
DefaultDB
DefaultWithContext
(context flag.Context)
:
DefaultDB
defaultDB
(context flag.Context, subjectMappingPath string)
:
DefaultDB
defaultRecipes
()
:
[]Recipe
defaultDataCategories
(context flag.Context)
:
[]DataCategory
defaultDataTypes
()
:
[]DataType
defaultDataTypeClassificationPatterns
(dataTypes []DataType)
:
[]DataTypeClassificationPattern
defaultKnownPersonObjectPatterns
(dataTypes []DataType, subjectMappingPath string)
:
[]KnownPersonObjectPattern
handleError
(err error)
All occurrences
Please wait...
Page is in error, reload to recover