Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApprovalGapRow ¶
type ApprovalGapRow struct {
ToolID string `json:"tool_id" yaml:"tool_id"`
AgentID string `json:"agent_id" yaml:"agent_id"`
ToolType string `json:"tool_type" yaml:"tool_type"`
Org string `json:"org" yaml:"org"`
ApprovalClass string `json:"approval_classification" yaml:"approval_classification"`
AdoptionPattern string `json:"adoption_pattern" yaml:"adoption_pattern"`
RiskTier string `json:"risk_tier" yaml:"risk_tier"`
}
type BuildOptions ¶
type BuildOptions struct {
Anonymize bool
}
type InventoryRow ¶
type InventoryRow struct {
ToolID string `json:"tool_id" yaml:"tool_id"`
AgentID string `json:"agent_id" yaml:"agent_id"`
ToolType string `json:"tool_type" yaml:"tool_type"`
ToolCategory string `json:"tool_category" yaml:"tool_category"`
ConfidenceScore float64 `json:"confidence_score" yaml:"confidence_score"`
Org string `json:"org" yaml:"org"`
RepoCount int `json:"repo_count" yaml:"repo_count"`
PermissionTier string `json:"permission_tier" yaml:"permission_tier"`
RiskTier string `json:"risk_tier" yaml:"risk_tier"`
AdoptionPattern string `json:"adoption_pattern" yaml:"adoption_pattern"`
ApprovalClass string `json:"approval_classification" yaml:"approval_classification"`
LifecycleState string `json:"lifecycle_state" yaml:"lifecycle_state"`
}
type PrivilegeRow ¶
type PrivilegeRow struct {
AgentID string `json:"agent_id" yaml:"agent_id"`
ToolID string `json:"tool_id" yaml:"tool_id"`
ToolType string `json:"tool_type" yaml:"tool_type"`
Org string `json:"org" yaml:"org"`
RepoCount int `json:"repo_count" yaml:"repo_count"`
PermissionCount int `json:"permission_count" yaml:"permission_count"`
EndpointClass string `json:"endpoint_class" yaml:"endpoint_class"`
DataClass string `json:"data_class" yaml:"data_class"`
AutonomyLevel string `json:"autonomy_level" yaml:"autonomy_level"`
RiskScore float64 `json:"risk_score" yaml:"risk_score"`
WriteCapable bool `json:"write_capable" yaml:"write_capable"`
CredentialAccess bool `json:"credential_access" yaml:"credential_access"`
ExecCapable bool `json:"exec_capable" yaml:"exec_capable"`
ProductionWrite bool `json:"production_write" yaml:"production_write"`
MatchedTargetCount int `json:"matched_production_targets" yaml:"matched_production_targets"`
}
type RegulatoryMatrixRow ¶
type RegulatoryMatrixRow struct {
ToolID string `json:"tool_id" yaml:"tool_id"`
AgentID string `json:"agent_id" yaml:"agent_id"`
ToolType string `json:"tool_type" yaml:"tool_type"`
Org string `json:"org" yaml:"org"`
Regulation string `json:"regulation" yaml:"regulation"`
ControlID string `json:"control_id" yaml:"control_id"`
Status string `json:"status" yaml:"status"`
RiskTier string `json:"risk_tier" yaml:"risk_tier"`
PermissionTier string `json:"permission_tier" yaml:"permission_tier"`
}
type Snapshot ¶
type Snapshot struct {
ExportVersion string `json:"export_version" yaml:"export_version"`
SchemaVersion string `json:"schema_version" yaml:"schema_version"`
ExportedAt string `json:"exported_at" yaml:"exported_at"`
Org string `json:"org" yaml:"org"`
InventoryRows []InventoryRow `json:"inventory_rows" yaml:"inventory_rows"`
PrivilegeRows []PrivilegeRow `json:"privilege_rows" yaml:"privilege_rows"`
ApprovalGapRows []ApprovalGapRow `json:"approval_gap_rows" yaml:"approval_gap_rows"`
RegulatoryRows []RegulatoryMatrixRow `json:"regulatory_rows" yaml:"regulatory_rows"`
}
func BuildWithOptions ¶
func BuildWithOptions(inv agginventory.Inventory, now time.Time, opts BuildOptions) Snapshot
Click to show internal directories.
Click to hide internal directories.