voc

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 5

Documentation

Overview

Package voc contains the vocabulary for Cloud resources and their properties that can be discovered using Clouditor

Index

Constants

This section is empty.

Variables

View Source
var AccountType = []string{"Account", "Resource"}
View Source
var ApplicationType = []string{"Application", "Resource"}
View Source
var BlockStorageType = []string{"BlockStorage", "Storage", "Resource"}
View Source
var CICDServiceType = []string{"CI/CD Service", "Resource"}
View Source
var ComputeType = []string{"Compute", "Resource"}
View Source
var ContainerImageType = []string{"Container Image", "Image", "Resource"}
View Source
var ContainerOrchestrationType = []string{"ContainerOrchestration", "Resource"}
View Source
var ContainerRegistryType = []string{"ContainerRegistry", "Resource"}
View Source
var ContainerType = []string{"Container", "Compute", "Resource"}
View Source
var DatabaseServiceType = []string{"DatabaseService", "StorageService", "NetworkService", "Networking", "Resource"}
View Source
var DatabaseStorageType = []string{"DatabaseStorage", "Storage", "Resource"}
View Source
var DeviceProvisioningServiceType = []string{"DeviceProvisioningService", "IoT", "Resource"}
View Source
var DocumentDatabaseServiceType = []string{"DocumentDatabaseService", "DatabaseService", "StorageService", "NetworkService", "Networking", "Resource"}
View Source
var (
	ErrConvertingStructToString = errors.New("error converting struct to string")
)
View Source
var FileStorageServiceType = []string{"FileStorageService", "StorageService", "NetworkService", "Networking", "Resource"}
View Source
var FileStorageType = []string{"FileStorage", "Storage", "Resource"}
View Source
var FunctionType = []string{"Function", "Compute", "Resource"}
View Source
var IdentifiableType = []string{"Identifiable", "Resource"}
View Source
var IdentityType = []string{"Identity", "Identifiable", "Resource"}
View Source
var ImageType = []string{"Image", "Resource"}
View Source
var IoTType = []string{"IoT", "Resource"}
View Source
var JobType = []string{"Job", "CI/CD Service", "Resource"}
View Source
var KeyValueDatabaseServiceType = []string{"KeyValueDatabaseService", "DatabaseService", "StorageService", "NetworkService", "Networking", "Resource"}
View Source
var LibraryType = []string{"Library", "Resource"}
View Source
var LoadBalancerType = []string{"LoadBalancer", "NetworkService", "Networking", "Resource"}
View Source
var LoggingServiceType = []string{"LoggingService", "NetworkService", "Networking", "Resource"}
View Source
var MessagingHubType = []string{"MessagingHub", "IoT", "Resource"}
View Source
var NetworkInterfaceType = []string{"NetworkInterface", "Networking", "Resource"}
View Source
var NetworkSecurityGroupType = []string{"NetworkSecurityGroup", "Networking", "Resource"}
View Source
var NetworkServiceType = []string{"NetworkService", "Networking", "Resource"}
View Source
var NetworkingType = []string{"Networking", "Resource"}
View Source
var ObjectStorageServiceType = []string{"ObjectStorageService", "StorageService", "NetworkService", "Networking", "Resource"}
View Source
var ObjectStorageType = []string{"ObjectStorage", "Storage", "Resource"}
View Source
var PasswordPolicyType = []string{"PasswordPolicy", "Resource"}
View Source
var RelationalDatabaseServiceType = []string{"RelationalDatabaseService", "DatabaseService", "StorageService", "NetworkService", "Networking", "Resource"}
View Source
var RoleAssignmentType = []string{"RoleAssignment", "Identifiable", "Resource"}
View Source
var StorageServiceType = []string{"StorageService", "NetworkService", "Networking", "Resource"}
View Source
var StorageType = []string{"Storage", "Resource"}
View Source
var TranslationUnitDeclarationType = []string{"TranslationUnitDeclaration", "Resource"}
View Source
var VMImageType = []string{"VM Image", "Image", "Resource"}
View Source
var VirtualMachineType = []string{"VirtualMachine", "Compute", "Resource"}
View Source
var VirtualNetworkType = []string{"VirtualNetwork", "Networking", "Resource"}
View Source
var VirtualSubNetworkType = []string{"VirtualSubNetwork", "Networking", "Resource"}
View Source
var WorkflowType = []string{"Workflow", "CI/CD Service", "Resource"}

Functions

func ToStringInterface added in v1.9.0

func ToStringInterface(r []interface{}) (s string, err error)

ToStringInterface returns a string representation of the input

func ToStruct added in v1.3.4

func ToStruct(r IsCloudResource) (s *structpb.Value, err error)

Types

type ABAC added in v1.3.5

type ABAC struct {
	*Authorization
}

func (*ABAC) Type added in v1.6.2

func (*ABAC) Type() string

type AccessRestriction added in v1.3.3

type AccessRestriction struct {
	*Authorization
}

func (*AccessRestriction) Type added in v1.6.2

func (*AccessRestriction) Type() string

type Account added in v1.3.5

type Account struct {
	*Resource
}

Account is an entity in our Cloud ontology. This represents the cloud account as a whole, e.g., an Azure subscription.

type ActivityLogging added in v1.4.0

type ActivityLogging struct {
	*Logging
}

type AnomalyDetection added in v1.3.7

type AnomalyDetection struct {
	*Auditing
	ApplicationLogging *ApplicationLogging `json:"applicationLogging"`
	Enabled            bool                `json:"enabled"`
}

AnomalyDetection is an entity in our Cloud ontology. analyzes the activity of a NetworkService (which includes DatabaseServices)

type Application added in v1.3.5

type Application struct {
	*Resource
	Functionalities     []*Functionality `json:"functionalities"`
	Compute             []ResourceID     `json:"compute"`
	ProgrammingLanguage string           `json:"programmingLanguage"`
	TranslationUnits    []ResourceID     `json:"translationUnits"`
	Dependencies        []ResourceID     `json:"dependencies"`
}

Application is an entity in our Cloud ontology. This encapsulates the whole (source) code of an application.

func (Application) Related added in v1.10.0

func (a Application) Related() []string

type ApplicationLogging added in v1.4.0

type ApplicationLogging struct {
	*Logging
}

type AtRestEncryption

type AtRestEncryption struct {
	*Confidentiality
	Algorithm string `json:"algorithm"`
	Enabled   bool   `json:"enabled"`
}

func (*AtRestEncryption) IsEnabled added in v1.6.2

func (a *AtRestEncryption) IsEnabled() bool

func (*AtRestEncryption) Type added in v1.6.2

func (*AtRestEncryption) Type() string

type Auditing added in v1.3.5

type Auditing struct {
	*SecurityFeature
}

type Authenticity added in v1.3.5

type Authenticity struct {
	*SecurityFeature
}

type Authorization added in v1.3.5

type Authorization struct {
	*SecurityFeature
}

type AutomaticUpdates added in v1.3.7

type AutomaticUpdates struct {
	*Integrity
	Enabled      bool `json:"enabled"`
	SecurityOnly bool `json:"securityOnly"`
	// The interval refers to the update interval in days.
	Interval time.Duration `json:"interval"`
}

AutomaticUpdates is an entity in our Cloud ontology. This feature is, e.g., available on some VM services to automatically update their software. It ensures that a resource is protected from tampering with its state.

type Availability added in v1.3.5

type Availability struct {
	*SecurityFeature
}

type Backup added in v1.3.5

type Backup struct {
	*Availability
	TransportEncryption IsTransportEncryption `json:"transportEncryption"`
	Storage             ResourceID            `json:"storage"`
	Enabled             bool                  `json:"enabled"`
	RetentionPeriod     time.Duration         `json:"retentionPeriod"`
	// The interval refers to the update interval in days.
	Interval time.Duration `json:"interval"`
}

Backup is an entity in our Cloud ontology. RetentionPeriod in hours

type BlockStorage added in v1.3.5

type BlockStorage struct {
	*Storage
}

type BootLogging added in v1.4.0

type BootLogging struct {
	*Logging
}

type CICDService added in v1.3.5

type CICDService struct {
	*Resource
}

type CertificateBasedAuthentication added in v1.3.5

type CertificateBasedAuthentication struct {
	*Authenticity
	Enabled bool `json:"enabled"`
}

func (*CertificateBasedAuthentication) Type added in v1.6.2

type CloudSDK added in v1.3.5

type CloudSDK struct {
	*Framework
}

type Compute added in v1.3.5

type Compute struct {
	*Resource
	NetworkInterfaces []ResourceID     `json:"networkInterfaces"`
	ResourceLogging   *ResourceLogging `json:"resourceLogging"`
}

func (Compute) Related added in v1.10.0

func (c Compute) Related() []string

type Confidentiality added in v1.3.5

type Confidentiality struct {
	*SecurityFeature
}

type Container added in v1.3.5

type Container struct {
	*Compute
	Image ResourceID `json:"image"`
}

type ContainerImage added in v1.3.5

type ContainerImage struct {
	*Image
}

type ContainerOrchestration added in v1.3.5

type ContainerOrchestration struct {
	*Resource
	ResourceLogging *ResourceLogging `json:"resourceLogging"`
	Containers      []ResourceID     `json:"containers"`
	ManagementUrl   string           `json:"managementUrl"`
}

type ContainerRegistry added in v1.3.5

type ContainerRegistry struct {
	*Resource
}

type CustomerKeyEncryption added in v1.3.5

type CustomerKeyEncryption struct {
	*AtRestEncryption
	KeyUrl string `json:"keyUrl"`
}

func (*CustomerKeyEncryption) Type added in v1.6.2

func (*CustomerKeyEncryption) Type() string

type DDoSProtection added in v1.3.5

type DDoSProtection struct {
	*Availability
}

type DatabaseConnect added in v1.3.5

type DatabaseConnect struct {
	*DatabaseOperation
}

type DatabaseOperation added in v1.3.5

type DatabaseOperation struct {
	*Operation
	Storage         []ResourceID `json:"storage"`
	DatabaseService []ResourceID `json:"databaseService"`
	Calls           []string     `json:"calls"`
}

type DatabaseQuery added in v1.3.5

type DatabaseQuery struct {
	*DatabaseOperation
	Modify bool `json:"modify"`
}

type DatabaseService added in v1.3.5

type DatabaseService struct {
	*StorageService
	AnomalyDetection *AnomalyDetection `json:"anomalyDetection"`
}

DatabaseService is an entity in our Cloud ontology. This class represents a database service. For example, a postgres SQL server would be modelled as a database service (with a host and IP) and the individual tables or collections would be modelled as a DatabaseStorage entity.

type DatabaseStorage added in v1.3.7

type DatabaseStorage struct {
	*Storage
	Parent []ResourceID `json:"parent"`
}

DatabaseStorage is an entity in our Cloud ontology. describes the actual database or a table in a database

type DeviceProvisioningService added in v1.3.5

type DeviceProvisioningService struct {
	*IoT
}

type DocumentDatabaseService added in v1.3.5

type DocumentDatabaseService struct {
	*DatabaseService
}

type FileStorage added in v1.3.5

type FileStorage struct {
	*Storage
	PublicAccess bool `json:"publicAccess"`
}

type FileStorageService added in v1.9.0

type FileStorageService struct {
	*StorageService
	HttpEndpoint *HttpEndpoint `json:"httpEndpoint"`
}

FileStorageService is an entity in our Cloud ontology. An file storage service represents the network service that is used to access a list of file storage shares. The storage itself is modelled as a FileStorage. The service has an http endpoint.

type Firewall added in v1.8.0

type Firewall struct {
	*AccessRestriction
}

func (*Firewall) Type added in v1.9.0

func (*Firewall) Type() string

type Framework added in v1.3.5

type Framework struct {
}

type Function added in v1.3.5

type Function struct {
	*Compute
	RuntimeVersion  string `json:"runtimeVersion"`
	RuntimeLanguage string `json:"runtimeLanguage"`
}

type Functionality added in v1.3.5

type Functionality struct {
}

type GeoLocation

type GeoLocation struct {
	*Availability
	Region string `json:"region"`
}

type HasHttpEndpoint

type HasHttpEndpoint interface {
	GetHttpEndpoint() *HttpEndpoint
}

type HttpClientLibrary added in v1.3.5

type HttpClientLibrary struct {
	*Framework
}

type HttpEndpoint

type HttpEndpoint struct {
	*Functionality
	Authenticity        IsAuthenticity       `json:"authenticity"`
	TransportEncryption *TransportEncryption `json:"transportEncryption"`
	Url                 string               `json:"url"`
	Method              string               `json:"method"`
	Handler             string               `json:"handler"`
	Path                string               `json:"path"`
}

HttpEndpoint is an entity in our Cloud ontology. Via the Authenticity relationship, the access type can be specified, e.g. public access (no authentication), password-based, etc.

type HttpRequest added in v1.3.5

type HttpRequest struct {
	*Operation
	HttpEndpoint *HttpEndpoint `json:"httpEndpoint"`
	Call         string        `json:"call"`
	ReqBody      string        `json:"reqBody"`
}

type HttpRequestHandler added in v1.3.5

type HttpRequestHandler struct {
	*Functionality
	Application   *Application    `json:"application"`
	HttpEndpoints []*HttpEndpoint `json:"httpEndpoints"`
	Path          string          `json:"path"`
}

type HttpServer added in v1.3.5

type HttpServer struct {
	*Framework
	HttpRequestHandler *HttpRequestHandler `json:"httpRequestHandler"`
}

type Identifiable added in v1.6.2

type Identifiable struct {
	*Resource
	Authenticity  IsAuthenticity  `json:"authenticity"`
	Authorization IsAuthorization `json:"authorization"`
	Activated     bool            `json:"activated"`
}

type Identity added in v1.3.5

type Identity struct {
	*Identifiable
	Authenticities        []IsAuthenticity `json:"authenticities"`
	Privileged            bool             `json:"privileged"`
	LastActivity          time.Time        `json:"lastActivity"`
	DisablePasswordPolicy bool             `json:"disablePasswordPolicy"`
}

type Image added in v1.3.5

type Image struct {
	*Resource
	Application *Application `json:"application"`
}

type Immutability added in v1.3.5

type Immutability struct {
	*Integrity
	Enabled bool `json:"enabled"`
}

type Integrity added in v1.3.5

type Integrity struct {
	*SecurityFeature
}

type IoT added in v1.3.5

type IoT struct {
	*Resource
}

type IsAccessRestriction added in v1.8.0

type IsAccessRestriction interface {
	IsSecurityFeature
	// contains filtered or unexported methods
}

type IsAtRestEncryption added in v1.6.2

type IsAtRestEncryption interface {
	IsSecurityFeature

	IsEnabled() bool
	// contains filtered or unexported methods
}

type IsAuthenticity added in v1.6.2

type IsAuthenticity interface {
	IsSecurityFeature
	// contains filtered or unexported methods
}

type IsAuthorization added in v1.6.2

type IsAuthorization interface {
	IsSecurityFeature
	// contains filtered or unexported methods
}

type IsCloudResource added in v1.3.5

type IsCloudResource interface {
	GetID() ResourceID
	GetServiceID() string
	SetServiceID(ID string)
	GetName() string
	GetType() []string
	HasType(string) bool
	GetCreationTime() *time.Time
	GetRaw() string
	Related() []string
}

type IsCompute added in v1.3.3

type IsCompute interface {
	IsCloudResource
}

type IsNetwork added in v1.3.5

type IsNetwork interface {
	IsCloudResource
}

type IsSecurityFeature added in v1.6.2

type IsSecurityFeature interface {
	Type() string
}

type IsStorage

type IsStorage interface {
	IsCloudResource
	IsAtRestEncryption
}

type IsTransportEncryption added in v1.9.0

type IsTransportEncryption interface {
	IsSecurityFeature

	IsEnabled() bool
	// contains filtered or unexported methods
}

type Job added in v1.3.5

type Job struct {
	*CICDService
}

type KeyValueDatabaseService added in v1.3.5

type KeyValueDatabaseService struct {
	*DatabaseService
}

type L3Firewall added in v1.3.7

type L3Firewall struct {
	*Firewall
	Inbound         bool   `json:"inbound"`
	Enabled         bool   `json:"enabled"`
	RestrictedPorts string `json:"restrictedPorts"`
}

type Library added in v1.10.0

type Library struct {
	*Resource
	Functionalities     []*Functionality `json:"functionalities"`
	ProgrammingLanguage string           `json:"programmingLanguage"`
	TranslationUnits    []ResourceID     `json:"translationUnits"`
	Dependencies        []ResourceID     `json:"dependencies"`
	GroupID             string           `json:"groupId"`
	ArtifactID          string           `json:"artifactId"`
	Version             string           `json:"version"`
	DependencyType      string           `json:"dependencyType"` // DependencyType denotes which type of dependency it is, e.g., maven or npm
	URL                 string           `json:"url"`
}

Library is an entity in our Cloud ontology. It encapsulates the (source) code of a library, similar to an application. TODO(oxisto): Add this to the ontology and auto-generate it

type LoadBalancer added in v1.3.5

type LoadBalancer struct {
	*NetworkService
	AccessRestriction IsAccessRestriction `json:"accessRestriction"`
	HttpEndpoints     []*HttpEndpoint     `json:"httpEndpoints"`
	NetworkServices   []ResourceID        `json:"networkServices"`
	Url               string              `json:"url"`
}

LoadBalancer is an entity in our Cloud ontology. A Load Balancer may have multiple access restriction features, e.g. a L3 firewall and a WAF

type LogOperation added in v1.4.0

type LogOperation struct {
	*Operation
	Logging *Logging `json:"logging"`
	Call    string   `json:"call"`
	Value   string   `json:"value"`
}

LogOperation is an entity in our Cloud ontology. A LogOperation is used by an application

type Logger added in v1.3.5

type Logger struct {
	*Framework
}

type Logging added in v1.3.5

type Logging struct {
	*Auditing
	LoggingService           []ResourceID  `json:"loggingService"`
	Enabled                  bool          `json:"enabled"`
	RetentionPeriod          time.Duration `json:"retentionPeriod"`
	MonitoringLogDataEnabled bool          `json:"monitoringLogDataEnabled"`
	SecurityAlertsEnabled    bool          `json:"securityAlertsEnabled"`
}

func (*Logging) Related added in v1.10.0

func (r *Logging) Related() []string

type LoggingService added in v1.4.0

type LoggingService struct {
	*NetworkService
	Storage []ResourceID `json:"storage"`
}

LoggingService is an entity in our Cloud ontology. A logging-as-a-service offering, e.g. for analyzing logs; has a Storage resource that stores the logs

func (LoggingService) Related added in v1.6.2

func (l LoggingService) Related() []string

Related returns related resources for the logging service, e.g., its storage.

type MalwareProtection added in v1.3.7

type MalwareProtection struct {
	*Auditing
	ApplicationLogging   *ApplicationLogging `json:"applicationLogging"`
	DaysSinceActive      time.Duration       `json:"daysSinceActive"`
	NumberOfThreatsFound int                 `json:"numberOfThreatsFound"`
	Enabled              bool                `json:"enabled"`
}

MalwareProtection is an entity in our Cloud ontology. analyzes the activity within a Compute resource

type ManagedKeyEncryption added in v1.3.5

type ManagedKeyEncryption struct {
	*AtRestEncryption
}

func (*ManagedKeyEncryption) Type added in v1.6.2

func (*ManagedKeyEncryption) Type() string

type MessagingHub added in v1.3.5

type MessagingHub struct {
	*IoT
}

type NetworkInterface added in v1.3.5

type NetworkInterface struct {
	*Networking
	AccessRestriction IsAccessRestriction `json:"accessRestriction"`
	NetworkService    ResourceID          `json:"networkService"`
}

type NetworkSecurityGroup added in v1.3.5

type NetworkSecurityGroup struct {
	*Networking
}

type NetworkService added in v1.3.5

type NetworkService struct {
	*Networking
	Authenticity        IsAuthenticity       `json:"authenticity"`
	Compute             ResourceID           `json:"compute"`
	TransportEncryption *TransportEncryption `json:"transportEncryption"`
	Ips                 []string             `json:"ips"`
	Ports               []uint16             `json:"ports"`
}

NetworkService is an entity in our Cloud ontology. A NetworkService is an application (on the network layer) running on a Compute resource. It provides access to a resource

type Networking added in v1.3.5

type Networking struct {
	*Resource
}

type NoAuthentication added in v1.3.5

type NoAuthentication struct {
	*Authenticity
}

func (*NoAuthentication) Type added in v1.6.2

func (*NoAuthentication) Type() string

type OSLogging added in v1.4.0

type OSLogging struct {
	*Logging
}

type OTPBasedAuthentication added in v1.3.5

type OTPBasedAuthentication struct {
	*Authenticity
	Activated bool `json:"activated"`
}

func (*OTPBasedAuthentication) Type added in v1.6.2

type ObjectStorage added in v1.3.5

type ObjectStorage struct {
	*Storage
	PublicAccess bool `json:"publicAccess"`
}

type ObjectStorageRequest added in v1.3.5

type ObjectStorageRequest struct {
	*Operation
	ObjectStorage []ResourceID `json:"objectStorage"`
	Source        string       `json:"source"`
	Type          string       `json:"type"`
}

type ObjectStorageService added in v1.6.2

type ObjectStorageService struct {
	*StorageService
	HttpEndpoint *HttpEndpoint `json:"httpEndpoint"`
}

ObjectStorageService is an entity in our Cloud ontology. An object storage service represents the network service that is used to access a list of object storage containers. The storage itself is modelled as a ObjectStorage. The service has an http endpoint.

type Operation added in v1.4.0

type Operation struct {
	*Functionality
}

type PasswordBasedAuthentication added in v1.3.5

type PasswordBasedAuthentication struct {
	*Authenticity
	Activated bool `json:"activated"`
}

func (*PasswordBasedAuthentication) Type added in v1.6.2

type PasswordPolicy added in v1.6.2

type PasswordPolicy struct {
	*Resource
}

type ProxiedEndpoint added in v1.3.5

type ProxiedEndpoint struct {
	*HttpEndpoint
	ProxyTarget *HttpEndpoint `json:"proxyTarget"`
}

ProxiedEndpoint is an entity in our Cloud ontology. An HTTP endpoint, that is routed through a (reverse) proxy, e.g. a load balancer.

type RBAC added in v1.3.5

type RBAC struct {
	*Authorization
	// see Privacy Smells: Detecting Privacy Problems in Cloud Architectures (2020)
	MixedDuties float32 `json:"mixedDuties"`
	// see Privacy Smells: Detecting Privacy Problems in Cloud Architectures (2020)
	BroadAssignments float32 `json:"broadAssignments"`
}

func (*RBAC) Type added in v1.6.2

func (*RBAC) Type() string

type RelationalDatabaseService added in v1.3.5

type RelationalDatabaseService struct {
	*DatabaseService
}

type Resource

type Resource struct {
	ID ResourceID `json:"id"`
	// ServiceID contains the ID of the cloud service to which this resource belongs. When creating new resources using
	// the NewResource function of the discovery API, this gets filled automatically.
	ServiceID    string `json:"serviceId"`
	Name         string `json:"name"`
	CreationTime int64  `json:"creationTime"` // is set to 0 if no creation time is available
	// The resource type. It is an array, because a type can be derived from another
	Type        []string          `json:"type"`
	GeoLocation GeoLocation       `json:"geoLocation"`
	Labels      map[string]string `json:"labels"`
	Raw         string            `json:"raw"`
	Parent      ResourceID        `json:"parent"`
}

Resource file from Ontology currently not used. How do we merge this file with the 'Resource Ontology file'

func (*Resource) GetCreationTime

func (r *Resource) GetCreationTime() *time.Time

func (*Resource) GetID

func (r *Resource) GetID() ResourceID

func (*Resource) GetName

func (r *Resource) GetName() string

func (*Resource) GetRaw added in v1.9.0

func (r *Resource) GetRaw() string

func (*Resource) GetServiceID added in v1.5.2

func (r *Resource) GetServiceID() string

func (*Resource) GetType added in v1.4.0

func (r *Resource) GetType() []string

func (*Resource) HasType added in v1.4.0

func (r *Resource) HasType(resourceType string) (ok bool)

HasType checks whether the resource has the particular resourceType

func (*Resource) Related added in v1.6.2

func (r *Resource) Related() []string

func (*Resource) SetServiceID added in v1.6.2

func (r *Resource) SetServiceID(ID string)

type ResourceGroup added in v1.10.0

type ResourceGroup struct {
	*Resource
}

type ResourceID added in v1.3.5

type ResourceID string

type ResourceLogging added in v1.3.5

type ResourceLogging struct {
	*Logging
}

type RoleAssignment added in v1.3.5

type RoleAssignment struct {
	*Identifiable
}

type SecurityFeature added in v1.3.5

type SecurityFeature struct {
}

type SingleSignOn added in v1.3.5

type SingleSignOn struct {
	*Authenticity
	Enabled bool `json:"enabled"`
}

func (*SingleSignOn) Type added in v1.6.2

func (*SingleSignOn) Type() string

type Storage added in v1.3.5

type Storage struct {
	*Resource
	AtRestEncryption IsAtRestEncryption `json:"atRestEncryption"`
	Backups          []*Backup          `json:"backups"`
	Immutability     *Immutability      `json:"immutability"`
	ResourceLogging  *ResourceLogging   `json:"resourceLogging"`
}

func (Storage) Related added in v1.10.0

func (s Storage) Related() []string

type StorageService added in v1.4.0

type StorageService struct {
	*NetworkService
	Storage []ResourceID `json:"storage"`
}

StorageService is an entity in our Cloud ontology. This entity represents a network-based service that can be used to access a particular storage backend. It has multiple subclasses, e.g., for databases or object stores. It has a list of storage resources associated to it.

func (StorageService) Related added in v1.10.0

func (s StorageService) Related() []string

type TokenBasedAuthentication added in v1.6.2

type TokenBasedAuthentication struct {
	*Authenticity
	Enforced bool `json:"enforced"`
	Enabled  bool `json:"enabled"`
}

func (*TokenBasedAuthentication) Type added in v1.6.2

type TranslationUnitDeclaration added in v1.10.0

type TranslationUnitDeclaration struct {
	*Resource
	Code string `json:"code"`
}

TranslationUnitDeclaration is an entity in our Cloud ontology. It refers to https://fraunhofer-aisec.github.io/cpg/CPG/specs/graph/#translationunitdeclaration

type TransportEncryption

type TransportEncryption struct {
	*Confidentiality
	Enforced   bool   `json:"enforced"`
	Enabled    bool   `json:"enabled"`
	TlsVersion string `json:"tlsVersion"`
	Algorithm  string `json:"algorithm"`
}

TransportEncryption is an entity in our Cloud ontology. enabled means the resource _can_ be reached via https, while enforced means it _can only_ be reached via https (or http traffic is redirected)

func (*TransportEncryption) IsEnabled added in v1.9.0

func (a *TransportEncryption) IsEnabled() bool

func (*TransportEncryption) Type added in v1.6.2

func (*TransportEncryption) Type() string

type VMImage added in v1.3.5

type VMImage struct {
	*Image
}

type VirtualMachine added in v1.3.5

type VirtualMachine struct {
	*Compute
	BlockStorage      []ResourceID       `json:"blockStorage"`
	AutomaticUpdates  *AutomaticUpdates  `json:"automaticUpdates"`
	BootLogging       *BootLogging       `json:"bootLogging"`
	MalwareProtection *MalwareProtection `json:"malwareProtection"`
	OsLogging         *OSLogging         `json:"osLogging"`
	ActivityLogging   *ActivityLogging   `json:"activityLogging"`
}

func (VirtualMachine) Related added in v1.6.2

func (v VirtualMachine) Related() []string

Related returns related resources for the virtual machine, e.g., its attached storage and network interfaces.

type VirtualNetwork added in v1.3.5

type VirtualNetwork struct {
	*Networking
}

type VirtualSubNetwork added in v1.3.5

type VirtualSubNetwork struct {
	*Networking
}

type WebApplicationFirewall added in v1.3.7

type WebApplicationFirewall struct {
	*Firewall
	Enabled bool `json:"enabled"`
}

WebApplicationFirewall is an entity in our Cloud ontology. A WAF is a L7 firewall that includes L3 capabilities

type Workflow added in v1.3.5

type Workflow struct {
	*CICDService
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL