Directories
¶
Path | Synopsis |
---|---|
Package cmd is our cobra cli implementation
|
Package cmd is our cobra cli implementation |
cli/cmd
Package cmd is the cobra cli implementation for the core server
|
Package cmd is the cobra cli implementation for the core server |
cli/cmd/apitokens
Package apitokens is our cobra cli for api token endpoints
|
Package apitokens is our cobra cli for api token endpoints |
cli/cmd/contact
Package contact is our cobra cli for contact endpoints
|
Package contact is our cobra cli for contact endpoints |
cli/cmd/contacthistory
Package contacthistory is our cobra cli for contactHistory endpoints
|
Package contacthistory is our cobra cli for contactHistory endpoints |
cli/cmd/control
Package control is our cobra cli for control endpoints
|
Package control is our cobra cli for control endpoints |
cli/cmd/controlhistory
Package controlhistory is our cobra cli for controlHistory endpoints
|
Package controlhistory is our cobra cli for controlHistory endpoints |
cli/cmd/controlimplementation
Package controlimplementation is our cobra cli for controlImplementation endpoints
|
Package controlimplementation is our cobra cli for controlImplementation endpoints |
cli/cmd/controlimplementationhistory
Package controlimplementationhistory is our cobra cli for controlImplementationHistory endpoints
|
Package controlimplementationhistory is our cobra cli for controlImplementationHistory endpoints |
cli/cmd/controlobjective
Package controlobjective is our cobra cli for controlObjective endpoints
|
Package controlobjective is our cobra cli for controlObjective endpoints |
cli/cmd/controlobjectivehistory
Package controlobjectivehistory is our cobra cli for controlObjectiveHistory endpoints
|
Package controlobjectivehistory is our cobra cli for controlObjectiveHistory endpoints |
cli/cmd/documentdatahistory
Package documentdatahistory is our cobra cli for documentDataHistory endpoints
|
Package documentdatahistory is our cobra cli for documentDataHistory endpoints |
cli/cmd/entity
Package entity is our cobra cli for entity endpoints
|
Package entity is our cobra cli for entity endpoints |
cli/cmd/entityhistory
Package entityhistory is our cobra cli for entityHistory endpoints
|
Package entityhistory is our cobra cli for entityHistory endpoints |
cli/cmd/entitytype
Package entitytype is our cobra cli for entity type endpoints
|
Package entitytype is our cobra cli for entity type endpoints |
cli/cmd/entitytypehistory
Package entitytypehistory is our cobra cli for entityTypeHistory endpoints
|
Package entitytypehistory is our cobra cli for entityTypeHistory endpoints |
cli/cmd/evidence
Package evidence is our cobra cli for evidence endpoints
|
Package evidence is our cobra cli for evidence endpoints |
cli/cmd/evidencehistory
Package evidencehistory is our cobra cli for evidenceHistory endpoints
|
Package evidencehistory is our cobra cli for evidenceHistory endpoints |
cli/cmd/file
Package file is our cobra cli for file endpoints
|
Package file is our cobra cli for file endpoints |
cli/cmd/filehistory
Package filehistory is our cobra cli for fileHistory endpoints
|
Package filehistory is our cobra cli for fileHistory endpoints |
cli/cmd/group
Package group is our cobra cli for group endpoints
|
Package group is our cobra cli for group endpoints |
cli/cmd/grouphistory
Package grouphistory is our cobra cli for groupHistory endpoints
|
Package grouphistory is our cobra cli for groupHistory endpoints |
cli/cmd/groupmembers
Package groupmembers is our cobra cli for group member endpoints
|
Package groupmembers is our cobra cli for group member endpoints |
cli/cmd/groupmembershiphistory
Package groupmembershiphistory is our cobra cli for groupMembershipHistory endpoints
|
Package groupmembershiphistory is our cobra cli for groupMembershipHistory endpoints |
cli/cmd/groupsetting
Package groupsetting provides commands for managing group settings
|
Package groupsetting provides commands for managing group settings |
cli/cmd/groupsettinghistory
Package groupsettinghistory is our cobra cli for groupSettingHistory endpoints
|
Package groupsettinghistory is our cobra cli for groupSettingHistory endpoints |
cli/cmd/hushhistory
Package hushhistory is our cobra cli for hushHistory endpoints
|
Package hushhistory is our cobra cli for hushHistory endpoints |
cli/cmd/integrationhistory
Package integrationhistory is our cobra cli for integrationHistory endpoints
|
Package integrationhistory is our cobra cli for integrationHistory endpoints |
cli/cmd/internalpolicy
Package internalpolicy is our cobra cli for internalPolicy endpoints
|
Package internalpolicy is our cobra cli for internalPolicy endpoints |
cli/cmd/internalpolicyhistory
Package internalpolicyhistory is our cobra cli for internalPolicyHistory endpoints
|
Package internalpolicyhistory is our cobra cli for internalPolicyHistory endpoints |
cli/cmd/invite
Package invite creates invitation emails + tokens for external users to join an organization
|
Package invite creates invitation emails + tokens for external users to join an organization |
cli/cmd/login
Package login is our cobra cli for authentication endpoints
|
Package login is our cobra cli for authentication endpoints |
cli/cmd/mappedcontrol
Package mappedcontrol is our cobra cli for mappedControl endpoints
|
Package mappedcontrol is our cobra cli for mappedControl endpoints |
cli/cmd/mappedcontrolhistory
Package mappedcontrolhistory is our cobra cli for mappedControlHistory endpoints
|
Package mappedcontrolhistory is our cobra cli for mappedControlHistory endpoints |
cli/cmd/narrative
Package narrative is our cobra cli for narrative endpoints
|
Package narrative is our cobra cli for narrative endpoints |
cli/cmd/narrativehistory
Package narrativehistory is our cobra cli for narrativeHistory endpoints
|
Package narrativehistory is our cobra cli for narrativeHistory endpoints |
cli/cmd/organization
Package org is our cobra cli for organization endpoints
|
Package org is our cobra cli for organization endpoints |
cli/cmd/organizationhistory
Package organizationhistory is our cobra cli for organizationHistory endpoints
|
Package organizationhistory is our cobra cli for organizationHistory endpoints |
cli/cmd/organizationsetting
Package orgsetting provides commands for managing organization settings
|
Package orgsetting provides commands for managing organization settings |
cli/cmd/organizationsettinghistory
Package organizationsettinghistory is our cobra cli for organizationSettingHistory endpoints
|
Package organizationsettinghistory is our cobra cli for organizationSettingHistory endpoints |
cli/cmd/orgmembers
Package orgmembers is our cobra cli for org member endpoints
|
Package orgmembers is our cobra cli for org member endpoints |
cli/cmd/orgmembershiphistory
Package orgmembershiphistory is our cobra cli for orgMembershipHistory endpoints
|
Package orgmembershiphistory is our cobra cli for orgMembershipHistory endpoints |
cli/cmd/orgsubscription
Package orgsubscription is our cobra cli for orgSubscription endpoints
|
Package orgsubscription is our cobra cli for orgSubscription endpoints |
cli/cmd/personalaccesstokens
Package tokens is our cobra cli for token endpoints
|
Package tokens is our cobra cli for token endpoints |
cli/cmd/procedure
Package procedure is our cobra cli for procedure endpoints
|
Package procedure is our cobra cli for procedure endpoints |
cli/cmd/procedurehistory
Package procedurehistory is our cobra cli for procedureHistory endpoints
|
Package procedurehistory is our cobra cli for procedureHistory endpoints |
cli/cmd/program
Package program is our cobra cli for program endpoints
|
Package program is our cobra cli for program endpoints |
cli/cmd/programhistory
Package programhistory is our cobra cli for programHistory endpoints
|
Package programhistory is our cobra cli for programHistory endpoints |
cli/cmd/programmembers
Package programmembers is our cobra cli for program member endpoints
|
Package programmembers is our cobra cli for program member endpoints |
cli/cmd/reconcile
Package reconcile contains the command for reconciling billing data as a Kubernetes job
|
Package reconcile contains the command for reconciling billing data as a Kubernetes job |
cli/cmd/register
Package register allows user registration
|
Package register allows user registration |
cli/cmd/reset
Package reset allows user password reset
|
Package reset allows user password reset |
cli/cmd/risk
Package risk is our cobra cli for risk endpoints
|
Package risk is our cobra cli for risk endpoints |
cli/cmd/riskhistory
Package riskhistory is our cobra cli for riskHistory endpoints
|
Package riskhistory is our cobra cli for riskHistory endpoints |
cli/cmd/search
Package search is our cobra cli for search endpoint
|
Package search is our cobra cli for search endpoint |
cli/cmd/standard
Package standard is our cobra cli for standard endpoints
|
Package standard is our cobra cli for standard endpoints |
cli/cmd/standardhistory
Package standardhistory is our cobra cli for standardHistory endpoints
|
Package standardhistory is our cobra cli for standardHistory endpoints |
cli/cmd/subcontrol
Package subcontrol is our cobra cli for subcontrol endpoints
|
Package subcontrol is our cobra cli for subcontrol endpoints |
cli/cmd/subcontrolhistory
Package subcontrolhistory is our cobra cli for subcontrolHistory endpoints
|
Package subcontrolhistory is our cobra cli for subcontrolHistory endpoints |
cli/cmd/subprocessor
Package subprocessor contains the subcommands for working with subprocessors
|
Package subprocessor contains the subcommands for working with subprocessors |
cli/cmd/subscriber
Package subscribers is our cobra cli for subscriber endpoints
|
Package subscribers is our cobra cli for subscriber endpoints |
cli/cmd/switchcontext
Package switchcontext provides a basic interface to switch between organization contexts
|
Package switchcontext provides a basic interface to switch between organization contexts |
cli/cmd/task
Package task is our cobra cli for task endpoints
|
Package task is our cobra cli for task endpoints |
cli/cmd/taskhistory
Package taskhistory is our cobra cli for taskHistory endpoints
|
Package taskhistory is our cobra cli for taskHistory endpoints |
cli/cmd/templatehistory
Package templatehistory is our cobra cli for templateHistory endpoints
|
Package templatehistory is our cobra cli for templateHistory endpoints |
cli/cmd/trustcenter
Package trustcenter is our cobra cli for trustcenter endpoints
|
Package trustcenter is our cobra cli for trustcenter endpoints |
cli/cmd/trustcentersubprocessors
Package trustcentersubprocessors contains the subcommands for working with trust center subprocessors
|
Package trustcentersubprocessors contains the subcommands for working with trust center subprocessors |
cli/cmd/user
Package user is our cobra cli for user endpoints
|
Package user is our cobra cli for user endpoints |
cli/cmd/userhistory
Package userhistory is our cobra cli for userHistory endpoints
|
Package userhistory is our cobra cli for userHistory endpoints |
cli/cmd/usersetting
Package usersetting is our cobra cli for user setting endpoints
|
Package usersetting is our cobra cli for user setting endpoints |
cli/cmd/usersettinghistory
Package usersettinghistory is our cobra cli for userSettingHistory endpoints
|
Package usersettinghistory is our cobra cli for userSettingHistory endpoints |
cli/cmd/version
Package version contains the version information for the CLI
|
Package version contains the version information for the CLI |
Package config holds configuration stuff to configure the things
|
Package config holds configuration stuff to configure the things |
Package db provides an embedded filesystem containing all the database migrations
|
Package db provides an embedded filesystem containing all the database migrations |
internal
|
|
constants
Package constants contains constants used throughout the application
|
Package constants contains constants used throughout the application |
ent/entconfig
Package entconfig holds configuration stuff for the ent server
|
Package entconfig holds configuration stuff for the ent server |
ent/generated
Code generated by entfga, DO NOT EDIT.
|
Code generated by entfga, DO NOT EDIT. |
ent/hooks
Package hooks is middleware to alter the graphql mutation
|
Package hooks is middleware to alter the graphql mutation |
ent/interceptors
Package interceptors is middleware to alter the graphql query
|
Package interceptors is middleware to alter the graphql query |
ent/mixin
Package mixin contains the mixin package
|
Package mixin contains the mixin package |
ent/privacy/rule
Package rule contains policy rules
|
Package rule contains policy rules |
ent/privacy/token
Package token provides policy wrappers / getters for queries and mutations during password reset, sign-up
|
Package token provides policy wrappers / getters for queries and mutations during password reset, sign-up |
ent/privacy/utils
Package utils is a helper for working with ent policies
|
Package utils is a helper for working with ent policies |
ent/schema
Code generated by entx.history, DO NOT EDIT.
|
Code generated by entx.history, DO NOT EDIT. |
entdb
Package entdb extends the ent db library and satisfies matt's needs for consistency
|
Package entdb extends the ent db library and satisfies matt's needs for consistency |
entitlements
Package entitlements provides internal functionality for managing entitlemnets via combinations of pkg/entitlements and pkg/catalog
|
Package entitlements provides internal functionality for managing entitlemnets via combinations of pkg/entitlements and pkg/catalog |
entitlements/entmapping
Package entmapping provides some builders to assist in the type mapping between Stripe + the external generic definitions in pkg/catalog and pkg/entitlements and the internal ent generated types not intended for external use, but rather as a helper for the Openlane core application
|
Package entmapping provides some builders to assist in the type mapping between Stripe + the external generic definitions in pkg/catalog and pkg/entitlements and the internal ent generated types not intended for external use, but rather as a helper for the Openlane core application |
entitlements/features
Code generated by entx feature mapping, DO NOT EDIT.
|
Code generated by entx feature mapping, DO NOT EDIT. |
features
Code generated by entx feature mapping, DO NOT EDIT.
|
Code generated by entx feature mapping, DO NOT EDIT. |
graphapi
Package graphapi is the graph api package
|
Package graphapi is the graph api package |
graphapi/gqlerrors
Package gqlerrors is a wrapper to define custom errors for the GraphQL server
|
Package gqlerrors is a wrapper to define custom errors for the GraphQL server |
httpserve/authmanager
Package authmanager provides the authentication manager for the server to handle session issuance and validation
|
Package authmanager provides the authentication manager for the server to handle session issuance and validation |
httpserve/config
Package config holds the echo server configuration utilities
|
Package config holds the echo server configuration utilities |
httpserve/handlers
Package handlers contains custom handler functions
|
Package handlers contains custom handler functions |
httpserve/route
Package route will hold the routes and route groups
|
Package route will hold the routes and route groups |
httpserve/server
Package server contains the server functions
|
Package server contains the server functions |
httpserve/serveropts
Package serveropts contains an echo server options wrapper
|
Package serveropts contains an echo server options wrapper |
middleware/objects
Package objects provides the customizations for the object upload middleware
|
Package objects provides the customizations for the object upload middleware |
pkg
|
|
catalog
Package catalog provides the core functionality for managing and validating the catalog of products, features, and prices in the Openlane project
|
Package catalog provides the core functionality for managing and validating the catalog of products, features, and prices in the Openlane project |
catalog/gencatalog
Package gencatalog is the output of parsing the catalog file
|
Package gencatalog is the output of parsing the catalog file |
catalog/genjsonschema
Package genjsonschema generates JSON schema files from Go structs for use in validating catalogs
|
Package genjsonschema generates JSON schema files from Go structs for use in validating catalogs |
catalog/genyaml
Package main inside of genyaml generates Go source files from a catalog YAML file
|
Package main inside of genyaml generates Go source files from a catalog YAML file |
corejobs
Package corejobs holds jobs definitions for riverqueue that interact with the core api
|
Package corejobs holds jobs definitions for riverqueue that interact with the core api |
entitlements
Package entitlements is a wrapper package for the entitlements service and a basic stripe integration
|
Package entitlements is a wrapper package for the entitlements service and a basic stripe integration |
enums
Package enums has enums
|
Package enums has enums |
events/soiree
Package soiree provides a simple event emitter that allows you to emit events and listen for them
|
Package soiree provides a simple event emitter that allows you to emit events and listen for them |
logx
Package logx is a package for logging with echo and
|
Package logx is a package for logging with echo and |
logx/consolelog
Package console log is a zerolog consolewriter output formatter that can be used generically with any zerolog instantiation so that it's not specific to a particular application
|
Package console log is a zerolog consolewriter output formatter that can be used generically with any zerolog instantiation so that it's not specific to a particular application |
metrics
Package metrics holds configuration and middleware for prometheus style metrics
|
Package metrics holds configuration and middleware for prometheus style metrics |
middleware
Package middleware provides middleware for http Handlers.
|
Package middleware provides middleware for http Handlers. |
middleware/auth
Package auth handles auth
|
Package auth handles auth |
middleware/authtest
Package authtest is a mini server and token generator with a mock test to confirm keygen works correctly; not intended to test the whole api but rather just the token issuance and authentication
|
Package authtest is a mini server and token generator with a mock test to confirm keygen works correctly; not intended to test the whole api but rather just the token issuance and authentication |
middleware/cachecontrol
Package cachecontrol creates a cache control echo middleware
|
Package cachecontrol creates a cache control echo middleware |
middleware/cors
Package cors does cors stuff
|
Package cors does cors stuff |
middleware/csrf
Package CSRF provides middleware for handling Cross-Site Request Forgery (CSRF) protection in web applications
|
Package CSRF provides middleware for handling Cross-Site Request Forgery (CSRF) protection in web applications |
middleware/debug
Package debug contains utility helper functions for debugging when working with echo server
|
Package debug contains utility helper functions for debugging when working with echo server |
middleware/mime
Package mime does mime stuff
|
Package mime does mime stuff |
middleware/ratelimit
Package ratelimit implements a rate limiting middleware
|
Package ratelimit implements a rate limiting middleware |
middleware/ratelimiter
Package ratelimiter is a ratelimiter based on cloudflare's approach
|
Package ratelimiter is a ratelimiter based on cloudflare's approach |
middleware/redirect
Package redirect does redirect stuff
|
Package redirect does redirect stuff |
middleware/secure
Package secure is middleware that provides protection against cross-site scripting (XSS) attack, content type sniffing, clickjacking, insecure connection and other code injection attacks
|
Package secure is middleware that provides protection against cross-site scripting (XSS) attack, content type sniffing, clickjacking, insecure connection and other code injection attacks |
middleware/transaction
Package transaction implements a transaction middleware for REST endpoints using the ent db client
|
Package transaction implements a transaction middleware for REST endpoints using the ent db client |
models
Package models provides http request and response structs
|
Package models provides http request and response structs |
objects
Package objects provides interfaces and helpers for management of objects (files) either received via our endpoints or created and stored by the system
|
Package objects provides interfaces and helpers for management of objects (files) either received via our endpoints or created and stored by the system |
objects/storage
Package storage provides basic storage interfaces for storage providers to write / read objects to and from
|
Package storage provides basic storage interfaces for storage providers to write / read objects to and from |
openlaneclient
Package openlaneclient contains the client to interact with the openlane server
|
Package openlaneclient contains the client to interact with the openlane server |
permissioncache
Package permissioncache handles permissioncache for things like features
|
Package permissioncache handles permissioncache for things like features |
registry
Package registry provides a basic jsonschema registry for creating / viewing jsonschema definitions
|
Package registry provides a basic jsonschema registry for creating / viewing jsonschema definitions |
slacktemplates
Package slacktemplates provides templates for Slack messages
|
Package slacktemplates provides templates for Slack messages |
sleuth
Package sleuth performs a number of reconnaissance activities against a set of domains and urls.
|
Package sleuth performs a number of reconnaissance activities against a set of domains and urls. |
sleuth/certx
Package certx is a package that provides functionality for certificate transparency log analysis.
|
Package certx is a package that provides functionality for certificate transparency log analysis. |
sleuth/dnsx
Package dnsx leverages the dnsx utility and other opensource dns projects to run dns queries for varies records including dmarc, dkim, and other technology oriented analysis related to domains
|
Package dnsx leverages the dnsx utility and other opensource dns projects to run dns queries for varies records including dmarc, dkim, and other technology oriented analysis related to domains |
sleuth/ports
Package ports utilities nmap + naabu for performing port scanning against provided domains which are generated via the other utilities within the sleuth package
|
Package ports utilities nmap + naabu for performing port scanning against provided domains which are generated via the other utilities within the sleuth package |
sleuth/scan
Package scan provides the ability to perform reconnaissance scans
|
Package scan provides the ability to perform reconnaissance scans |
sleuth/spider
Package spider utilizes a combination of tooling including Katana to perform analysis on http server urls and feed them into the other subpacakges of sleuth for analysis
|
Package spider utilizes a combination of tooling including Katana to perform analysis on http server urls and feed them into the other subpacakges of sleuth for analysis |
sleuth/static/config
Package config holds configuration for the static files used in sleuth
|
Package config holds configuration for the static files used in sleuth |
sleuth/sub
Package sub utilizes the subfinder utility as a package to perform subdomain enumeration on the provided domains and returns the result in the form of a report that can be used for further analysis
|
Package sub utilizes the subfinder utility as a package to perform subdomain enumeration on the provided domains and returns the result in the form of a report that can be used for further analysis |
sleuth/tech
Package tech is responsible for performing a technology discovery via wappalyzergo
|
Package tech is responsible for performing a technology discovery via wappalyzergo |
ssoutils
Package ssoutils provides helper functionality for OIDC-based SSO integration, helping to bridge the gap between our choices on HTTP Server, token issuance, and overall SSO flow Several of the functions in this package are used to generate URLs for SSO login and callback due to limitations within echox not allowing for easy access to route paths
|
Package ssoutils provides helper functionality for OIDC-based SSO integration, helping to bridge the gap between our choices on HTTP Server, token issuance, and overall SSO flow Several of the functions in this package are used to generate URLs for SSO login and callback due to limitations within echox not allowing for easy access to route paths |
testutils
Package testutils provides utilities for use in tests
|
Package testutils provides utilities for use in tests |
Click to show internal directories.
Click to hide internal directories.