Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Seclib.Network.Graph

Host — ⚪ definition

structure · source

Host classification tags. Go source: graph.go:10-24

structure Host where

Host.isProduction — ⚪ definition

def · source

Go source: graph.go:20

def Host.isProduction (h : Host) : Bool

Host.isBastion — ⚪ definition

def · source

Go source: graph.go:21

def Host.isBastion (h : Host) : Bool

Host.isDevelopment — ⚪ definition

def · source

Go source: graph.go:22

def Host.isDevelopment (h : Host) : Bool

Host.isDatabaseTier — ⚪ definition

def · source

Go source: graph.go:23

def Host.isDatabaseTier (h : Host) : Bool

Host.isIsolated — ⚪ definition

def · source

Go source: graph.go:24

def Host.isIsolated (h : Host) : Bool

SGRule — ⚪ definition

structure · source

Go source: graph.go:27-33

structure SGRule where

VPCPeering — ⚪ definition

structure · source

Go source: graph.go:36-40

structure VPCPeering where

Subnet — ⚪ definition

structure · source

Go source: graph.go:43-48

structure Subnet where

Subnet.isPrivate — ⚪ definition

def · source

Go source: graph.go:51

def Subnet.isPrivate (s : Subnet) : Bool

Route — ⚪ definition

structure · source

Go source: graph.go:54-58

structure Route where

classifyRoute — ⚪ definition

def · source

Go source: proof.go:439-456

def classifyRoute (targetType : String) : RouteClass

broadCIDRs — ⚪ definition

def · source

RFC1918 + internet CIDRs treated as broad. Go source: reachability.go:17-23

def broadCIDRs : List String

NetGraph — ⚪ definition

structure · source

Go source: graph.go:68-76

structure NetGraph where

NetGraph.productionHosts — ⚪ definition

def · source

Go source: graph.go:198-206

def NetGraph.productionHosts (g : NetGraph) : List Host

NetGraph.bastionHosts — ⚪ definition

def · source

Go source: graph.go:209-217

def NetGraph.bastionHosts (g : NetGraph) : List Host

NetGraph.developmentHosts — ⚪ definition

def · source

Go source: graph.go:220-228

def NetGraph.developmentHosts (g : NetGraph) : List Host

NetGraph.databaseHosts — ⚪ definition

def · source

Go source: graph.go:231-239

def NetGraph.databaseHosts (g : NetGraph) : List Host

NetGraph.isolatedHosts — ⚪ definition

def · source

Go source: graph.go:242-250

def NetGraph.isolatedHosts (g : NetGraph) : List Host

NetGraph.privateSubnets — ⚪ definition

def · source

Go source: graph.go:253-261

def NetGraph.privateSubnets (g : NetGraph) : List Subnet

NetGraph.rulesFor — ⚪ definition

def · source

Look up SG rules by SG ID. Go source: graph.go:68-76 (Graph.SGRules map access)

def NetGraph.rulesFor (g : NetGraph) (sgId : String) : List SGRule

NetGraph.routesFor — ⚪ definition

def · source

Look up routes by route table ID. Go source: graph.go:68-76 (Graph.Routes map access)

def NetGraph.routesFor (g : NetGraph) (rtId : String) : List Route

NetGraph.findSubnet — ⚪ definition

def · source

Find subnet by ID. Go source: graph.go:68-76 (Graph.Subnets map access)

def NetGraph.findSubnet (g : NetGraph) (subnetId : String) : Option Subnet