SYMBOL INDEX (631 symbols across 148 files) FILE: actions/aws_securityhub.go type securityHubAPI (line 18) | type securityHubAPI interface type Finding (line 22) | type Finding struct type Report (line 70) | type Report struct type AWSSecurityHubClient (line 74) | type AWSSecurityHubClient struct method GetName (line 80) | func (sh AWSSecurityHubClient) GetName() string { method Init (line 84) | func (sh *AWSSecurityHubClient) Init() error { method Send (line 99) | func (sh AWSSecurityHubClient) Send(m map[string]string) error { method Terminate (line 170) | func (sh AWSSecurityHubClient) Terminate() error { method GetLayoutProvider (line 174) | func (sh AWSSecurityHubClient) GetLayoutProvider() layout.LayoutProvid... function chunkBy (line 180) | func chunkBy[T any](items []T, chunkSize int) (chunks [][]T) { FILE: actions/aws_securityhub_test.go constant GoodFindings (line 16) | GoodFindings = `{ type mockAWSSHClient (line 123) | type mockAWSSHClient struct method BatchImportFindings (line 129) | func (mc mockAWSSHClient) BatchImportFindings(ctx context.Context, par... function TestAWSSecurityHubClient_Send (line 136) | func TestAWSSecurityHubClient_Send(t *testing.T) { FILE: actions/dependencytrack.go type DependencyTrackAction (line 16) | type DependencyTrackAction struct method GetName (line 22) | func (dta *DependencyTrackAction) GetName() string { method Init (line 26) | func (dta *DependencyTrackAction) Init() error { method Send (line 31) | func (dta *DependencyTrackAction) Send(content map[string]string) error { method Terminate (line 70) | func (dta *DependencyTrackAction) Terminate() error { method GetLayoutProvider (line 75) | func (dta *DependencyTrackAction) GetLayoutProvider() layout.LayoutPro... FILE: actions/dependencytrack_test.go function TestDependencyTrackAction_Send (line 12) | func TestDependencyTrackAction_Send(t *testing.T) { FILE: actions/docker.go type DockerClient (line 22) | type DockerClient struct method GetName (line 34) | func (d DockerClient) GetName() string { method Init (line 38) | func (d *DockerClient) Init() error { method Send (line 50) | func (d DockerClient) Send(m map[string]string) error { method Terminate (line 109) | func (d DockerClient) Terminate() error { method GetLayoutProvider (line 117) | func (d DockerClient) GetLayoutProvider() layout.LayoutProvider { method parseCmd (line 121) | func (d DockerClient) parseCmd(input map[string]string) (parsedCmds []... FILE: actions/docker_test.go type mockDockerClient (line 21) | type mockDockerClient struct method ImagePull (line 32) | func (m mockDockerClient) ImagePull(ctx context.Context, ref string, o... method ContainerCreate (line 40) | func (m mockDockerClient) ContainerCreate(ctx context.Context, config ... method ContainerStart (line 50) | func (m mockDockerClient) ContainerStart(ctx context.Context, containe... method ContainerWait (line 58) | func (m mockDockerClient) ContainerWait(ctx context.Context, container... method ContainerLogs (line 77) | func (m mockDockerClient) ContainerLogs(ctx context.Context, container... method ContainerRemove (line 85) | func (m mockDockerClient) ContainerRemove(ctx context.Context, contain... type mockUUID (line 93) | type mockUUID struct method New (line 96) | func (mockUUID) New() uuid.UUID { function TestDocketClient_Send (line 100) | func TestDocketClient_Send(t *testing.T) { FILE: actions/email.go type EmailAction (line 22) | type EmailAction struct method GetName (line 35) | func (email *EmailAction) GetName() string { method Init (line 39) | func (email *EmailAction) Init() error { method Terminate (line 54) | func (email *EmailAction) Terminate() error { method GetLayoutProvider (line 59) | func (email *EmailAction) GetLayoutProvider() layout.LayoutProvider { method Send (line 63) | func (email *EmailAction) Send(content map[string]string) error { method sendEmailWithCustomClient (line 102) | func (email EmailAction) sendEmailWithCustomClient(addr string, a smtp... method sendViaMxServers (line 149) | func (email EmailAction) sendViaMxServers(port string, msg string, rec... FILE: actions/email_test.go function mockSend (line 12) | func mockSend(errToReturn error, emailSent *int) (func(string, smtp.Auth... type emailRecorder (line 23) | type emailRecorder struct function TestEmailAction_Send (line 31) | func TestEmailAction_Send(t *testing.T) { FILE: actions/exec.go type ExecClient (line 17) | type ExecClient struct method GetName (line 26) | func (e *ExecClient) GetName() string { method Init (line 30) | func (e *ExecClient) Init() error { method Send (line 35) | func (e *ExecClient) Send(m map[string]string) error { method Terminate (line 59) | func (e *ExecClient) Terminate() error { method GetLayoutProvider (line 64) | func (e *ExecClient) GetLayoutProvider() layout.LayoutProvider { FILE: actions/exec_test.go function fakeExecCmdFailure (line 14) | func fakeExecCmdFailure(command string, args ...string) *exec.Cmd { function TestShellProcessFail (line 22) | func TestShellProcessFail(t *testing.T) { function TestExecClient_Init (line 30) | func TestExecClient_Init(t *testing.T) { function TestExecClient_GetName (line 35) | func TestExecClient_GetName(t *testing.T) { function TestExecClient_Send (line 41) | func TestExecClient_Send(t *testing.T) { FILE: actions/http.go type HTTPClient (line 23) | type HTTPClient struct method GetName (line 33) | func (hc *HTTPClient) GetName() string { method Init (line 37) | func (hc *HTTPClient) Init() error { method Send (line 41) | func (hc HTTPClient) Send(m map[string]string) error { method Terminate (line 108) | func (hc HTTPClient) Terminate() error { method GetLayoutProvider (line 113) | func (hc HTTPClient) GetLayoutProvider() layout.LayoutProvider { function parseBody (line 90) | func parseBody(inputEvent map[string]string, bodyContent string) string { FILE: actions/http_test.go function TestHTTPClient_Init (line 14) | func TestHTTPClient_Init(t *testing.T) { function TestHTTPClient_GetName (line 19) | func TestHTTPClient_GetName(t *testing.T) { function TestHTTPClient_Send (line 25) | func TestHTTPClient_Send(t *testing.T) { FILE: actions/jira.go constant defaultIssueType (line 23) | defaultIssueType = "Task" constant defaultIssuePriority (line 24) | defaultIssuePriority = "High" constant defaultSprintPlugin (line 25) | defaultSprintPlugin = "com.pyxis.greenhopper.jira:gh-sprint" constant NotConfiguredSprintId (line 26) | NotConfiguredSprintId = -1 type JiraAPI (line 29) | type JiraAPI struct method GetName (line 53) | func (ctx *JiraAPI) GetName() string { method fetchBoardId (line 57) | func (ctx *JiraAPI) fetchBoardId(boardName string) { method fetchSprintId (line 88) | func (ctx *JiraAPI) fetchSprintId(client *jira.Client) { method Terminate (line 107) | func (ctx *JiraAPI) Terminate() error { method Init (line 112) | func (ctx *JiraAPI) Init() error { method GetLayoutProvider (line 125) | func (jira *JiraAPI) GetLayoutProvider() layout.LayoutProvider { method buildTransportClient (line 129) | func (ctx *JiraAPI) buildTransportClient() (*http.Client, error) { method Send (line 172) | func (ctx *JiraAPI) Send(content map[string]string) error { method openIssue (line 251) | func (ctx *JiraAPI) openIssue(client *jira.Client, issue *jira.Issue) ... function createMetaProject (line 262) | func createMetaProject(c *jira.Client, project string) (*jira.MetaProjec... function getIssueType (line 277) | func getIssueType(ctx *JiraAPI, metaProject *jira.MetaProject) (string, ... function validateIssueType (line 296) | func validateIssueType(issueType string, metaProject *jira.MetaProject) ... function validateIssuePriority (line 330) | func validateIssuePriority(priority string, priorityList []jira.Priority... function createFieldsConfig (line 339) | func createFieldsConfig(ctx *JiraAPI, client *jira.Client, content *map[... function createMetaIssueType (line 395) | func createMetaIssueType(metaProject *jira.MetaProject, issueType string... function InitIssue (line 404) | func InitIssue(c *jira.Client, metaProject *jira.MetaProject, metaIssuet... function findUserOnJiraServer (line 528) | func findUserOnJiraServer(c *jira.Client, email string) ([]jira.User, *j... function isServerJira (line 540) | func isServerJira(rawUrl string) bool { FILE: actions/jira_test.go function TestJiraAPI_GetName (line 139) | func TestJiraAPI_GetName(t *testing.T) { function TestJiraAPI_FetchBoardId (line 148) | func TestJiraAPI_FetchBoardId(t *testing.T) { function TestJiraAPI_FetchSprintId (line 212) | func TestJiraAPI_FetchSprintId(t *testing.T) { function TestJiraAPI_InitIssue (line 256) | func TestJiraAPI_InitIssue(t *testing.T) { function TestJiraAPI_GetLayoutProvider (line 395) | func TestJiraAPI_GetLayoutProvider(t *testing.T) { function TestJiraAPI_BuildTransportClient (line 404) | func TestJiraAPI_BuildTransportClient(t *testing.T) { function TestJiraApi_createClient (line 446) | func TestJiraApi_createClient(t *testing.T) { function TestJiraAPI_Send (line 481) | func TestJiraAPI_Send(t *testing.T) { function TestJiraAPI_OpenIssue (line 587) | func TestJiraAPI_OpenIssue(t *testing.T) { function TestJiraAPI_CreateMetaProject (line 625) | func TestJiraAPI_CreateMetaProject(t *testing.T) { function TestJiraAPI_CreateIssueType (line 684) | func TestJiraAPI_CreateIssueType(t *testing.T) { function TestJiraAPI_GetIssuePriority (line 738) | func TestJiraAPI_GetIssuePriority(t *testing.T) { function TestJiraAPI_CreateFieldsConfig (line 804) | func TestJiraAPI_CreateFieldsConfig(t *testing.T) { function TestJiraAPI_CreateMetaIssueType (line 948) | func TestJiraAPI_CreateMetaIssueType(t *testing.T) { function TestJiraAPI_Init (line 982) | func TestJiraAPI_Init(t *testing.T) { function buildHttpHandler (line 1023) | func buildHttpHandler(successResponse interface{}, errorResponse string)... FILE: actions/kubernetes.go constant regoInputPrefix (line 20) | regoInputPrefix = "event.input" constant KubernetesLabelKey (line 22) | KubernetesLabelKey = "labels" constant KubernetesAnnotationKey (line 23) | KubernetesAnnotationKey = "annotations" function IsK8s (line 26) | func IsK8s() bool { function updateMap (line 31) | func updateMap(old map[string]string, new map[string]string) map[string]... type KubernetesClient (line 42) | type KubernetesClient struct method GetName (line 52) | func (k KubernetesClient) GetName() string { method Init (line 56) | func (k *KubernetesClient) Init() error { method prepareInputs (line 82) | func (k KubernetesClient) prepareInputs(input map[string]string) (stri... method Send (line 110) | func (k KubernetesClient) Send(m map[string]string) error { method Terminate (line 168) | func (k KubernetesClient) Terminate() error { method GetLayoutProvider (line 173) | func (k KubernetesClient) GetLayoutProvider() layout.LayoutProvider { function jsonOrString (line 72) | func jsonOrString(input map[string]string, filter string) string { FILE: actions/kubernetes_test.go function TestKubernetesClientSend_Labels (line 18) | func TestKubernetesClientSend_Labels(t *testing.T) { function TestKubernetesClientSend_Annotations (line 140) | func TestKubernetesClientSend_Annotations(t *testing.T) { FILE: actions/message.go constant posteeDocsUrl (line 12) | posteeDocsUrl = "https://aquasecurity.github.io/postee/settings/" function buildShortMessage (line 14) | func buildShortMessage(server, urls string, provider layout.LayoutProvid... FILE: actions/message_test.go function Test_buildShortMessage (line 12) | func Test_buildShortMessage(t *testing.T) { FILE: actions/nexusiq.go function sanitizedAppName (line 21) | func sanitizedAppName(appName string) string { type NexusIqAction (line 25) | type NexusIqAction struct method GetName (line 33) | func (nexus *NexusIqAction) GetName() string { method Init (line 37) | func (nexus *NexusIqAction) Init() error { method auth (line 41) | func (nexus *NexusIqAction) auth() string { method execute (line 45) | func (nexus *NexusIqAction) execute(method string, url string, payload... method getAppByNameAndOrg (line 94) | func (nexus *NexusIqAction) getAppByNameAndOrg(organizationId string, ... method createApp (line 110) | func (nexus *NexusIqAction) createApp(organizationId string, appName s... method createOrGetApp (line 134) | func (nexus *NexusIqAction) createOrGetApp(appName string) (string, er... method registerBom (line 147) | func (nexus *NexusIqAction) registerBom(appId string, bom string) error { method Send (line 158) | func (nexus *NexusIqAction) Send(content map[string]string) error { method Terminate (line 175) | func (nexus *NexusIqAction) Terminate() error { method GetLayoutProvider (line 180) | func (nexus *NexusIqAction) GetLayoutProvider() layout.LayoutProvider { FILE: actions/nexusiq_test.go constant createdAppId (line 16) | createdAppId = "cd8fd2f4f289445b8975092e7d3045ba" function TestSanitizedAppName (line 18) | func TestSanitizedAppName(t *testing.T) { function TestNexusiq_Init (line 45) | func TestNexusiq_Init(t *testing.T) { function TestNexusiq_GetName (line 50) | func TestNexusiq_GetName(t *testing.T) { function TestNexusiq_Send (line 56) | func TestNexusiq_Send(t *testing.T) { function configureHttp (line 112) | func configureHttp(t *testing.T, applicationsJson, expctdCreateAppPld, e... FILE: actions/opsgenie.go constant defaultPriority (line 17) | defaultPriority = alert.P3 type OpsGenieAction (line 19) | type OpsGenieAction struct method GetName (line 34) | func (ops *OpsGenieAction) GetName() string { method Init (line 38) | func (ops *OpsGenieAction) Init() (err error) { method convertResultToOpsGenie (line 68) | func (ops *OpsGenieAction) convertResultToOpsGenie(title string, conte... method Send (line 110) | func (ops *OpsGenieAction) Send(input map[string]string) error { method Terminate (line 127) | func (*OpsGenieAction) Terminate() error { method GetLayoutProvider (line 132) | func (ops *OpsGenieAction) GetLayoutProvider() layout.LayoutProvider { function getUserResponders (line 56) | func getUserResponders(users []string) []alert.Responder { FILE: actions/opsgenie_test.go function TestGetUserResponders (line 10) | func TestGetUserResponders(t *testing.T) { function TestConvertResultToOpsGenie (line 37) | func TestConvertResultToOpsGenie(t *testing.T) { FILE: actions/pagerduty.go type Clock (line 14) | type Clock interface type realClock (line 18) | type realClock struct method Now (line 20) | func (rc *realClock) Now() time.Time { type PagerdutyClient (line 24) | type PagerdutyClient struct method GetName (line 33) | func (p *PagerdutyClient) GetName() string { method Init (line 37) | func (p *PagerdutyClient) Init() error { method Send (line 50) | func (p *PagerdutyClient) Send(m map[string]string) error { method Terminate (line 71) | func (p *PagerdutyClient) Terminate() error { method GetLayoutProvider (line 75) | func (p *PagerdutyClient) GetLayoutProvider() layout.LayoutProvider { FILE: actions/pagerduty_test.go type fakeClock (line 17) | type fakeClock struct method Now (line 19) | func (fc *fakeClock) Now() time.Time { function TestPagerdutyClient_Init (line 24) | func TestPagerdutyClient_Init(t *testing.T) { function TestPagerdutyClient_Send (line 48) | func TestPagerdutyClient_Send(t *testing.T) { FILE: actions/plugin.go constant ApplicationScopeOwner (line 12) | ApplicationScopeOwner = "<%application_scope_owner%>" type Action (line 15) | type Action interface function getHandledRecipients (line 23) | func getHandledRecipients(recipients []string, content *map[string]strin... function getAppScopeOwners (line 40) | func getAppScopeOwners(content *map[string]string) ([]string, error) { FILE: actions/servicenow.go type ServiceNowAction (line 14) | type ServiceNowAction struct method GetName (line 23) | func (sn *ServiceNowAction) GetName() string { method Init (line 27) | func (sn *ServiceNowAction) Init() error { method Send (line 34) | func (sn *ServiceNowAction) Send(content map[string]string) error { method Terminate (line 75) | func (sn *ServiceNowAction) Terminate() error { method GetLayoutProvider (line 80) | func (sn *ServiceNowAction) GetLayoutProvider() layout.LayoutProvider { FILE: actions/slack.go constant slackBlockLimit (line 18) | slackBlockLimit = 49 type SlackAction (line 21) | type SlackAction struct method GetName (line 28) | func (slack *SlackAction) GetName() string { method Init (line 32) | func (slack *SlackAction) Init() error { method Send (line 57) | func (slack *SlackAction) Send(input map[string]string) error { method Terminate (line 112) | func (slack *SlackAction) Terminate() error { method GetLayoutProvider (line 117) | func (slack *SlackAction) GetLayoutProvider() layout.LayoutProvider { function clearSlackText (line 38) | func clearSlackText(text string) string { function buildSlackBlock (line 45) | func buildSlackBlock(title string, data []byte) []byte { FILE: actions/splunk.go constant defaultSizeLimit (line 21) | defaultSizeLimit = 10000 type SplunkAction (line 23) | type SplunkAction struct method GetName (line 32) | func (splunk *SplunkAction) GetName() string { method Init (line 36) | func (splunk *SplunkAction) Init() error { method Send (line 42) | func (splunk *SplunkAction) Send(d map[string]string) error { method Terminate (line 144) | func (splunk *SplunkAction) Terminate() error { method GetLayoutProvider (line 149) | func (splunk *SplunkAction) GetLayoutProvider() layout.LayoutProvider { FILE: actions/stdout.go type StdoutAction (line 11) | type StdoutAction struct method GetName (line 15) | func (stdout StdoutAction) GetName() string { return stdout.Name } method Init (line 16) | func (stdout StdoutAction) Init() error { method Send (line 19) | func (stdout StdoutAction) Send(data map[string]string) error { method Terminate (line 23) | func (stdout StdoutAction) Terminate() error { method GetLayoutProvider (line 26) | func (stdout StdoutAction) GetLayoutProvider() layout.LayoutProvider { FILE: actions/teams.go constant teamsSizeLimit (line 15) | teamsSizeLimit = 18000 type TeamsAction (line 18) | type TeamsAction struct method GetName (line 25) | func (teams *TeamsAction) GetName() string { method Init (line 29) | func (teams *TeamsAction) Init() error { method Send (line 35) | func (teams *TeamsAction) Send(input map[string]string) error { method Terminate (line 70) | func (teams *TeamsAction) Terminate() error { method GetLayoutProvider (line 75) | func (teams *TeamsAction) GetLayoutProvider() layout.LayoutProvider { function escapeJSON (line 79) | func escapeJSON(s string) (string, error) { FILE: actions/webhook.go type WebhookAction (line 15) | type WebhookAction struct method GetName (line 21) | func (webhook *WebhookAction) GetName() string { method Init (line 25) | func (webhook *WebhookAction) Init() error { method Send (line 31) | func (webhook *WebhookAction) Send(content map[string]string) error { method Terminate (line 59) | func (webhook *WebhookAction) Terminate() error { method GetLayoutProvider (line 64) | func (webhook *WebhookAction) GetLayoutProvider() layout.LayoutProvider { FILE: actions/webhook_test.go function TestWebhook_GetName (line 14) | func TestWebhook_GetName(t *testing.T) { function TestWebhook_Send (line 20) | func TestWebhook_Send(t *testing.T) { function TestNewClient (line 107) | func TestNewClient(t *testing.T) { FILE: controller/controller.go constant NATSEventSubject (line 20) | NATSEventSubject = "postee.events" constant NATSConfigSubject (line 21) | NATSConfigSubject = "postee.config" type Controller (line 24) | type Controller struct method Setup (line 33) | func (c Controller) Setup(r *router.Router) error { FILE: data/inpteval.go type Inpteval (line 3) | type Inpteval interface FILE: data/slack.go type SlackTextBlock (line 3) | type SlackTextBlock struct type SlackBlock (line 8) | type SlackBlock struct FILE: data/types.go type ScanImageInfo (line 3) | type ScanImageInfo struct type SensitiveData (line 17) | type SensitiveData struct type MalwareData (line 24) | type MalwareData struct type ImageAssuranceResults (line 30) | type ImageAssuranceResults struct type ControlCheck (line 35) | type ControlCheck struct type ScanOptions (line 41) | type ScanOptions struct type VulnerabilitySummary (line 46) | type VulnerabilitySummary struct type InfoResources (line 57) | type InfoResources struct type ResourceDetails (line 61) | type ResourceDetails struct type Vulnerability (line 66) | type Vulnerability struct FILE: data/utils.go function ClearField (line 7) | func ClearField(source string) string { FILE: data/utils_test.go function TestClearField (line 7) | func TestClearField(t *testing.T) { FILE: dbservice/actions.go function MayBeStoreMessage (line 9) | func MayBeStoreMessage(message []byte, messageKey string, expired *time.... FILE: dbservice/changedbpath_test.go function TestChangeDbPath (line 5) | func TestChangeDbPath(t *testing.T) { FILE: dbservice/checker.go function CheckSizeLimit (line 12) | func CheckSizeLimit() { function CheckExpiredData (line 54) | func CheckExpiredData() { function getExpired (line 76) | func getExpired(db *bolt.DB) (keys [][]byte, err error) { FILE: dbservice/checker_test.go function TestExpiredDates (line 12) | func TestExpiredDates(t *testing.T) { function TestCheckSizeLimit (line 55) | func TestCheckSizeLimit(t *testing.T) { function TestWrongBuckets (line 133) | func TestWrongBuckets(t *testing.T) { function TestDbDelete (line 168) | func TestDbDelete(t *testing.T) { function TestWithoutAccessToDb (line 210) | func TestWithoutAccessToDb(t *testing.T) { function dbBucketExists (line 227) | func dbBucketExists(db *bolt.DB, bucket string) (bool, error) { FILE: dbservice/dbaggregator.go function AggregateScans (line 9) | func AggregateScans(output string, FILE: dbservice/dbaggregator_test.go function TestAggregateScans (line 8) | func TestAggregateScans(t *testing.T) { FILE: dbservice/dbparam.go function ChangeDbPath (line 26) | func ChangeDbPath(newPath string) { function SetNewDbPathFromEnv (line 32) | func SetNewDbPathFromEnv() { FILE: dbservice/dbparam_test.go function TestSetNewDbPathFromEnv (line 10) | func TestSetNewDbPathFromEnv(t *testing.T) { FILE: dbservice/dbservice_test.go function TestStoreMessage (line 78) | func TestStoreMessage(t *testing.T) { function TestInitError (line 114) | func TestInitError(t *testing.T) { function TestSelectError (line 141) | func TestSelectError(t *testing.T) { function TestInsertError (line 168) | func TestInsertError(t *testing.T) { function testBucketInsert (line 180) | func testBucketInsert(t *testing.T, testBucket string) { FILE: dbservice/delete.go function dbDelete (line 5) | func dbDelete(db *bolt.DB, bucket string, keys [][]byte) error { FILE: dbservice/invalidinit_test.go function TestInvalidDbPath (line 52) | func TestInvalidDbPath(t *testing.T) { function TestBucketInitialization (line 69) | func TestBucketInitialization(t *testing.T) { FILE: dbservice/plgnstats.go function RegisterPlgnInvctn (line 9) | func RegisterPlgnInvctn(name string) error { FILE: dbservice/plgnstats_test.go function TestRegisterPlgnInvctn (line 11) | func TestRegisterPlgnInvctn(t *testing.T) { function getPlgnStats (line 36) | func getPlgnStats() (r map[string]int, err error) { FILE: dbservice/sharedcfg.go constant apiKeyName (line 14) | apiKeyName = "POSTEE_API_KEY" function getDbPath (line 17) | func getDbPath() string { function EnsureApiKey (line 27) | func EnsureApiKey() error { function GetApiKey (line 51) | func GetApiKey() (string, error) { function generateApiKey (line 76) | func generateApiKey(length int) (string, error) { FILE: dbservice/sharedcfg_test.go function TestApiKey (line 8) | func TestApiKey(t *testing.T) { function TestApiKeyWithoutInit (line 27) | func TestApiKeyWithoutInit(t *testing.T) { function TestApiKeyRenewal (line 42) | func TestApiKeyRenewal(t *testing.T) { FILE: formatting/eval.go type legacyScnEvaluator (line 15) | type legacyScnEvaluator struct method Eval (line 19) | func (legacyScnEvaluator *legacyScnEvaluator) Eval(in map[string]inter... method IsAggregationSupported (line 33) | func (legacyScnEvaluator *legacyScnEvaluator) IsAggregationSupported()... method BuildAggregatedContent (line 37) | func (legacyScnEvaluator *legacyScnEvaluator) BuildAggregatedContent(s... function toScanImage (line 66) | func toScanImage(in map[string]interface{}) (*data.ScanImageInfo, error) { function BuildLegacyScnEvaluator (line 81) | func BuildLegacyScnEvaluator(layoutType string) (data.Inpteval, error) { FILE: formatting/eval_test.go function TestEval (line 22) | func TestEval(t *testing.T) { function TestAggregationSupport (line 58) | func TestAggregationSupport(t *testing.T) { function TestBuildAggregatedContent (line 65) | func TestBuildAggregatedContent(t *testing.T) { function TestBuildLegacyScnEvaluator (line 128) | func TestBuildLegacyScnEvaluator(t *testing.T) { function TestToScanImage (line 159) | func TestToScanImage(t *testing.T) { FILE: formatting/htmlprovider.go type HtmlProvider (line 9) | type HtmlProvider struct method P (line 11) | func (html *HtmlProvider) P(p string) string { method TitleH1 (line 15) | func (html *HtmlProvider) TitleH1(title string) string { method TitleH2 (line 19) | func (html *HtmlProvider) TitleH2(title string) string { method TitleH3 (line 23) | func (html *HtmlProvider) TitleH3(title string) string { method ColourText (line 27) | func (html *HtmlProvider) ColourText(text, color string) string { method Table (line 31) | func (html *HtmlProvider) Table(rows [][]string) string { method A (line 54) | func (html *HtmlProvider) A(url, title string) string { FILE: formatting/htmlprovider_test.go function TestHtmlProvider_Table (line 7) | func TestHtmlProvider_Table(t *testing.T) { function TestHtmlProviderTags (line 28) | func TestHtmlProviderTags(t *testing.T) { FILE: formatting/jiraprovider.go type JiraLayoutProvider (line 9) | type JiraLayoutProvider struct method P (line 11) | func (jira *JiraLayoutProvider) P(p string) string { method TitleH1 (line 15) | func (jira *JiraLayoutProvider) TitleH1(title string) string { method TitleH2 (line 19) | func (jira *JiraLayoutProvider) TitleH2(title string) string { method TitleH3 (line 23) | func (jira *JiraLayoutProvider) TitleH3(title string) string { method ColourText (line 27) | func (jira *JiraLayoutProvider) ColourText(text, color string) string { method Table (line 31) | func (jira *JiraLayoutProvider) Table(rows [][]string) string { method A (line 47) | func (jira *JiraLayoutProvider) A(url, title string) string { FILE: formatting/jiraprovider_test.go function TestJiraLayoutProvider_Tags (line 5) | func TestJiraLayoutProvider_Tags(t *testing.T) { function TestJiraLayoutProvider_Table (line 22) | func TestJiraLayoutProvider_Table(t *testing.T) { FILE: formatting/markup_test.go type tagsTest (line 9) | type tagsTest struct type tableTest (line 16) | type tableTest struct function tagsTesting (line 21) | func tagsTesting(tests []tagsTest, t *testing.T, provider layout.LayoutP... function tableTesting (line 45) | func tableTesting(tests []tableTest, t *testing.T, provider layout.Layou... FILE: formatting/slackmrkdwnprovider.go function getMrkdwnText (line 12) | func getMrkdwnText(text string) string { type SlackMrkdwnProvider (line 29) | type SlackMrkdwnProvider struct method TitleH1 (line 31) | func (mrkdwn *SlackMrkdwnProvider) TitleH1(title string) string { method TitleH2 (line 35) | func (mrkdwn *SlackMrkdwnProvider) TitleH2(title string) string { method TitleH3 (line 39) | func (mrkdwn *SlackMrkdwnProvider) TitleH3(title string) string { method ColourText (line 43) | func (mrkdwn *SlackMrkdwnProvider) ColourText(text, color string) stri... method Table (line 47) | func (mrkdwn *SlackMrkdwnProvider) Table(rows [][]string) string { method P (line 139) | func (mrkdwn *SlackMrkdwnProvider) P(p string) string { method A (line 143) | func (mrkdwn *SlackMrkdwnProvider) A(url, title string) string { FILE: formatting/slackmrkdwnprovider_test.go function TestSlackMrkdwn (line 5) | func TestSlackMrkdwn(t *testing.T) { function TestSlackMrkdwnProvider_Table (line 22) | func TestSlackMrkdwnProvider_Table(t *testing.T) { FILE: integration/controller_runner_test.go constant RunnerConfig (line 18) | RunnerConfig = ` function TestControllerRunner_Happy (line 38) | func TestControllerRunner_Happy(t *testing.T) { FILE: layout/assurances.go function RenderAssurances (line 9) | func RenderAssurances(provider LayoutProvider, assuranceResults data.Ima... FILE: layout/colors.go function CriticalColor (line 3) | func CriticalColor() string { return "#c00000" } function HighColor (line 4) | func HighColor() string { return "#e0443d" } function MediumColor (line 5) | func MediumColor() string { return "#f79421" } function LowColor (line 6) | func LowColor() string { return "#e1c930" } function NegligibleColor (line 7) | func NegligibleColor() string { return "green" } FILE: layout/malware.go function RenderMalware (line 10) | func RenderMalware(malware []data.MalwareData, provider LayoutProvider, ... FILE: layout/provider.go type LayoutProvider (line 3) | type LayoutProvider interface FILE: layout/sensitive.go function RenderSensitiveData (line 9) | func RenderSensitiveData(sensitive []data.SensitiveData, provider Layout... FILE: layout/ticketLayout.go function GenTestDescription (line 10) | func GenTestDescription(provider LayoutProvider, raw string) string { function GenTicketDescription (line 16) | func GenTicketDescription(provider LayoutProvider, scanInfo, prevScan *d... FILE: layout/vulnerabilities.go constant empty (line 10) | empty = "none" function RenderVulnerabilities (line 12) | func RenderVulnerabilities(resources []data.InfoResources, provider Layo... function VulnerabilitiesTable (line 56) | func VulnerabilitiesTable(provider LayoutProvider, rows [2][]string) str... FILE: main.go constant URL (line 23) | URL = "0.0.0.0:8082" constant TLS (line 24) | TLS = "0.0.0.0:8445" constant URL_USAGE (line 25) | URL_USAGE = "The socket to bind to, specified using host:port." constant TLS_USAGE (line 26) | TLS_USAGE = "The TLS socket to bind to, specified using host:port." constant CFG_FILE (line 27) | CFG_FILE = "/config/cfg.yaml" constant CFG_USAGE (line 28) | CFG_USAGE = "The alert configuration file." function init (line 56) | func init() { function main (line 75) | func main() { function Daemonize (line 174) | func Daemonize() { FILE: msgservice/aggregatebytime_test.go function TestAggregateByTimeout (line 14) | func TestAggregateByTimeout(t *testing.T) { FILE: msgservice/aggregatescan_test.go function TestAggregateIssuesPerTicket (line 12) | func TestAggregateIssuesPerTicket(t *testing.T) { function doAggregate (line 47) | func doAggregate(t *testing.T, caseDesc string, expectedSntCnt int, expe... FILE: msgservice/applicationscopeowner_test.go function TestApplicationScopeOwner (line 23) | func TestApplicationScopeOwner(t *testing.T) { FILE: msgservice/calculateexpired_test.go function TestCalculateExpired (line 10) | func TestCalculateExpired(t *testing.T) { FILE: msgservice/getuniqueid_test.go function TestScanUniqueId (line 47) | func TestScanUniqueId(t *testing.T) { function sendInputs (line 90) | func sendInputs(t *testing.T, caseDesc string, inputs []string, uniqueMe... function TestGetMessageUniqueId (line 128) | func TestGetMessageUniqueId(t *testing.T) { FILE: msgservice/logs.go function prnInputLogs (line 5) | func prnInputLogs(msg string, v ...interface{}) { FILE: msgservice/msghandling.go type MsgService (line 16) | type MsgService struct method MsgHandling (line 19) | func (scan *MsgService) MsgHandling(input []byte, output actions.Actio... method EvaluateRegoRule (line 110) | func (scan *MsgService) EvaluateRegoRule(r *routes.InputRoute, input [... function send (line 137) | func send(otpt actions.Action, cnt map[string]string) { function calculateExpired (line 150) | func calculateExpired(UniqueMessageTimeoutSeconds int) *time.Time { FILE: msgservice/msgservice_mocks_test.go type DemoInptEval (line 19) | type DemoInptEval struct method Eval (line 27) | func (inptEval *DemoInptEval) Eval(in map[string]interface{}, serverUr... method BuildAggregatedContent (line 42) | func (inptEval *DemoInptEval) BuildAggregatedContent(items []map[strin... method IsAggregationSupported (line 59) | func (inptEval *DemoInptEval) IsAggregationSupported() bool { type DemoEmailAction (line 63) | type DemoEmailAction struct method GetName (line 70) | func (plg *DemoEmailAction) GetName() string { method getEmailsCount (line 74) | func (plg *DemoEmailAction) getEmailsCount() int { method Init (line 81) | func (plg *DemoEmailAction) Init() error { return nil } method Send (line 82) | func (plg *DemoEmailAction) Send(data map[string]string) error { method Terminate (line 96) | func (plg *DemoEmailAction) Terminate() error { return nil } method GetLayoutProvider (line 97) | func (plg *DemoEmailAction) GetLayoutProvider() layout.LayoutProvider { FILE: msgservice/msgservice_scan_test.go function getImportantData (line 71) | func getImportantData(scan *data.ScanImageInfo) map[string]string { function Equal (line 106) | func Equal(A, B *data.ScanImageInfo) bool { function BenchmarkGenTicketDescription (line 133) | func BenchmarkGenTicketDescription(b *testing.B) { function TestGenTicketDescription (line 140) | func TestGenTicketDescription(t *testing.T) { function TestGenTicketDescriptionFieldSeeMore (line 167) | func TestGenTicketDescriptionFieldSeeMore(t *testing.T) { FILE: msgservice/msgservice_test.go type FailingInptEval (line 19) | type FailingInptEval struct method Eval (line 24) | func (inptEval *FailingInptEval) Eval(in map[string]interface{}, serve... method BuildAggregatedContent (line 34) | func (inptEval *FailingInptEval) BuildAggregatedContent(items []map[st... method IsAggregationSupported (line 38) | func (inptEval *FailingInptEval) IsAggregationSupported() bool { function TestInputs (line 42) | func TestInputs(t *testing.T) { function validateInputValue (line 64) | func validateInputValue(t *testing.T, caseDesc string, input []byte, sho... function TestEvalError (line 103) | func TestEvalError(t *testing.T) { function TestAggrEvalError (line 136) | func TestAggrEvalError(t *testing.T) { function TestEmptyInput (line 172) | func TestEmptyInput(t *testing.T) { function TestMalformedJSON (line 198) | func TestMalformedJSON(t *testing.T) { FILE: msgservice/regocriteria_test.go function TestRegoCriteria (line 32) | func TestRegoCriteria(t *testing.T) { function validateRegoInput (line 95) | func validateRegoInput(t *testing.T, caseDesc string, input string, rego... FILE: msgservice/scheduler_test.go function TestScheduler (line 13) | func TestScheduler(t *testing.T) { FILE: msgservice/uniquemsgkey.go constant propSep (line 9) | propSep = "." function GetMessageUniqueId (line 12) | func GetMessageUniqueId(in map[string]interface{}, props []string) string { function getSingleValue (line 24) | func getSingleValue(o interface{}, parts []string) string { FILE: regoservice/aggregation_test.go function TestAggregation (line 42) | func TestAggregation(t *testing.T) { function aggregateBuildinRego (line 77) | func aggregateBuildinRego(t *testing.T, regoRule *string, aggregationReg... FILE: regoservice/eval.go constant result_prop (line 16) | result_prop = "result" constant title_prop (line 17) | title_prop = "title" constant url_prop (line 18) | url_prop = "url" constant aggregation_pkg_prop (line 19) | aggregation_pkg_prop = "aggregation_pkg" constant dateProp (line 22) | dateProp = "result_date" constant severityProp (line 23) | severityProp = "result_severity" constant categoryProp (line 24) | categoryProp = "result_category" constant subcategoryProp (line 25) | subcategoryProp = "result_subcategory" constant assignedToProp (line 26) | assignedToProp = "result_assigned_to" constant assignedGroupProp (line 27) | assignedGroupProp = "result_assigned_group" constant summaryProp (line 28) | summaryProp = "result_summary" type regoEvaluator (line 36) | type regoEvaluator struct method IsAggregationSupported (line 42) | func (regoEvaluator *regoEvaluator) IsAggregationSupported() bool { method Eval (line 46) | func (regoEvaluator *regoEvaluator) Eval(in map[string]interface{}, se... method BuildAggregatedContent (line 166) | func (regoEvaluator *regoEvaluator) BuildAggregatedContent(scans []map... function getStringFromData (line 110) | func getStringFromData(data map[string]interface{}, prop string) string { function getFirstElement (line 125) | func getFirstElement(context map[string]interface{}, key string) interfa... function asStringOrJson (line 144) | func asStringOrJson(data map[string]interface{}, prop string) (string, e... function BuildBundledRegoEvaluator (line 253) | func BuildBundledRegoEvaluator(rego_package string) (data.Inpteval, erro... function buildBundledRegoForPackage (line 272) | func buildBundledRegoForPackage(rego_package string) (*rego.PreparedEval... function filterRegoTemplateFiles (line 291) | func filterRegoTemplateFiles(_ string, info fs.FileInfo, _ int) bool { function buildAggregatedRego (line 298) | func buildAggregatedRego(query *rego.PreparedEvalQuery) (*rego.PreparedE... function BuildExternalRegoEvaluator (line 327) | func BuildExternalRegoEvaluator(filename string, body string) (data.Inpt... FILE: regoservice/eval_test.go function TestEval (line 15) | func TestEval(t *testing.T) { function evaluateBuildinRego (line 257) | func evaluateBuildinRego(t *testing.T, inputFile, templateFile, descript... function evaluateExternalRego (line 302) | func evaluateExternalRego(t *testing.T, inputFile, templateFile, descrip... function compareDescriptions (line 352) | func compareDescriptions(t *testing.T, expectedFile, gotFile string) { function TestBuildBundledRegoForPackage (line 361) | func TestBuildBundledRegoForPackage(t *testing.T) { FILE: regoservice/jsonformat.go function jsonFmtFunc (line 12) | func jsonFmtFunc() func(r *rego.Rego) { FILE: regoservice/regocheck.go constant module (line 14) | module = `package postee constant defaultPathToRegoFilters (line 22) | defaultPathToRegoFilters = "./rego-filters" function getFilesWithPathToRegoFilters (line 27) | func getFilesWithPathToRegoFilters(files []string) []string { function buildRegoLoader (line 45) | func buildRegoLoader(files []string, rule string) func(r *rego.Rego) { function IsUsedRegoFiles (line 53) | func IsUsedRegoFiles(files []string) bool { function DoesMatchRegoCriteria (line 56) | func DoesMatchRegoCriteria(input interface{}, files []string, rule strin... FILE: regoservice/regocheck_test.go function TestOpaRego (line 10) | func TestOpaRego(t *testing.T) { function TestGetFilesWithPathToRegoFilters (line 78) | func TestGetFilesWithPathToRegoFilters(t *testing.T) { FILE: router/anonymizeSettings_test.go function TestAnonymizeSettings (line 5) | func TestAnonymizeSettings(t *testing.T) { FILE: router/anonymizer.go function anonymizeSettings (line 5) | func anonymizeSettings(settings *ActionSettings) *ActionSettings { FILE: router/builders.go function buildStdoutAction (line 13) | func buildStdoutAction(sourceSettings *ActionSettings) *actions.StdoutAc... function buildSplunkAction (line 17) | func buildSplunkAction(sourceSettings *ActionSettings) *actions.SplunkAc... function buildWebhookAction (line 27) | func buildWebhookAction(sourceSettings *ActionSettings) *actions.Webhook... function buildTeamsAction (line 35) | func buildTeamsAction(sourceSettings *ActionSettings, aquaServer string)... function buildServiceNow (line 43) | func buildServiceNow(sourceSettings *ActionSettings) *actions.ServiceNow... function buildSlackAction (line 57) | func buildSlackAction(sourceSettings *ActionSettings, aqua string) *acti... function buildEmailAction (line 65) | func buildEmailAction(sourceSettings *ActionSettings) *actions.EmailActi... function buildNexusIqAction (line 78) | func buildNexusIqAction(sourceSettings *ActionSettings) *actions.NexusIq... function buildDependencyTrackAction (line 88) | func buildDependencyTrackAction(sourceSettings *ActionSettings) *actions... function buildOpsGenieAction (line 96) | func buildOpsGenieAction(sourceSettings *ActionSettings) *actions.OpsGen... function buildJiraAction (line 110) | func buildJiraAction(sourceSettings *ActionSettings) *actions.JiraAPI { function buildExecAction (line 137) | func buildExecAction(sourceSettings *ActionSettings) (*actions.ExecClien... function buildHTTPAction (line 162) | func buildHTTPAction(sourceSettings *ActionSettings) (*actions.HTTPClien... function buildKubernetesAction (line 205) | func buildKubernetesAction(sourceSettings *ActionSettings) (*actions.Kub... function buildDockerAction (line 225) | func buildDockerAction(sourceSettings *ActionSettings) (*actions.DockerC... function buildAWSSecurityHubAction (line 240) | func buildAWSSecurityHubAction(sourceSettings *ActionSettings) (*actions... function buildPagerdutyAction (line 244) | func buildPagerdutyAction(sourceSettings *ActionSettings) (*actions.Page... FILE: router/initoutputs_test.go function TestBuildAndInitOtpt (line 11) | func TestBuildAndInitOtpt(t *testing.T) { FILE: router/inittemplate_test.go function TestInitTemplate (line 17) | func TestInitTemplate(t *testing.T) { function doInitTemplate (line 107) | func doInitTemplate(t *testing.T, caseDesc string, template *Template, e... function getMockedHttpClient (line 132) | func getMockedHttpClient() *http.Client { type RoundTripFunc (line 137) | type RoundTripFunc method RoundTrip (line 140) | func (f RoundTripFunc) RoundTrip(req *http.Request) (*http.Response, e... function NewTestClient (line 145) | func NewTestClient(fn RoundTripFunc) *http.Client { function responseWithRego (line 150) | func responseWithRego(req *http.Request) (*http.Response, error) { function newTestResponse (line 162) | func newTestResponse(status int, response string) *http.Response { FILE: router/integrations.go type ActionSettings (line 3) | type ActionSettings struct FILE: router/loads_test.go type ctxWrapper (line 18) | type ctxWrapper struct method MsgHandling (line 35) | func (ctx *ctxWrapper) MsgHandling(input []byte, action actions.Action... method setup (line 44) | func (ctxWrapper *ctxWrapper) setup(cfg string) { method teardown (line 75) | func (ctxWrapper *ctxWrapper) teardown() { method EvaluateRegoRule (line 89) | func (ctx *ctxWrapper) EvaluateRegoRule(r *routes.InputRoute, _ []byte... type invctn (line 29) | type invctn struct function TestLoads (line 96) | func TestLoads(t *testing.T) { function TestReload (line 175) | func TestReload(t *testing.T) { function TestServiceGetters (line 266) | func TestServiceGetters(t *testing.T) { FILE: router/parsecfg.go constant v1Marker (line 12) | v1Marker = "- type: common" constant v1Warning (line 13) | v1Warning = ` function Parsev2cfg (line 27) | func Parsev2cfg(cfgpath string) (*TenantSettings, error) { function checkV1Cfg (line 47) | func checkV1Cfg(data []byte, cfgpath string) { FILE: router/parsecfg_test.go function TestParseCfgWithInvalidFilename (line 9) | func TestParseCfgWithInvalidFilename(t *testing.T) { function TestParseCfgWithInvalidYaml (line 18) | func TestParseCfgWithInvalidYaml(t *testing.T) { FILE: router/routehandling_test.go function TestHandling (line 203) | func TestHandling(t *testing.T) { function runTestRouteHandlingCase (line 272) | func runTestRouteHandlingCase(t *testing.T, caseDesc string, cfg string,... function TestInvalidRouteName (line 323) | func TestInvalidRouteName(t *testing.T) { function TestRouteWithNoValidRego (line 352) | func TestRouteWithNoValidRego(t *testing.T) { function TestSend (line 381) | func TestSend(t *testing.T) { FILE: router/router.go constant ServiceNowTableDefault (line 30) | ServiceNowTableDefault = "incident" constant AnonymizeReplacement (line 31) | AnonymizeReplacement = "" type Router (line 34) | type Router struct method ReloadConfig (line 81) | func (ctx *Router) ReloadConfig() { method Start (line 90) | func (ctx *Router) Start(cfgfile string) error { method Terminate (line 107) | func (ctx *Router) Terminate() { method Send (line 138) | func (ctx *Router) Send(data []byte) { method GetCurrentEvents (line 144) | func (ctx *Router) GetCurrentEvents() []any { method initTemplate (line 152) | func (ctx *Router) initTemplate(template *Template) error { method load (line 213) | func (ctx *Router) load() error { method HandleRoute (line 285) | func (ctx *Router) HandleRoute(routeName string, in []byte) { method handle (line 352) | func (ctx *Router) handle(in []byte) { method listen (line 459) | func (ctx *Router) listen() { function Instance (line 66) | func Instance() *Router { type service (line 272) | type service interface function BuildAndInitOtpt (line 357) | func BuildAndInitOtpt(settings *ActionSettings, aquaServerUrl string) ac... function buildRunnerConfig (line 484) | func buildRunnerConfig(runnerName, cfgFile string) (string, error) { function contains (line 536) | func contains(haystack []Template, needle string) bool { function SetupConnOptions (line 545) | func SetupConnOptions(opts []nats.Option) []nats.Option { FILE: router/router_test.go function Test_buildRunnerConfig (line 9) | func Test_buildRunnerConfig(t *testing.T) { FILE: router/rule.go type Rule (line 3) | type Rule struct FILE: router/sizeparser.go constant B (line 11) | B = 1 constant KB (line 12) | KB = 1024 constant MB (line 13) | MB = 1024 * KB constant GB (line 14) | GB = 1024 * MB function parseSize (line 24) | func parseSize(sizeStr string) int { FILE: router/sizeparser_test.go function TestParseSize (line 10) | func TestParseSize(t *testing.T) { FILE: router/template.go type Template (line 3) | type Template struct FILE: router/tenants.go type TenantSettings (line 7) | type TenantSettings struct FILE: routes/aggrtimeout.go function parseTimeouts (line 9) | func parseTimeouts(v string) (int, error) { function ConfigureTimeouts (line 41) | func ConfigureTimeouts(route *InputRoute) *InputRoute { FILE: routes/aggrtimeout_test.go function TestTimeouts (line 59) | func TestTimeouts(t *testing.T) { FILE: routes/routes.go type InputRoute (line 3) | type InputRoute struct method IsSchedulerRun (line 23) | func (route *InputRoute) IsSchedulerRun() bool { method StartScheduler (line 26) | func (route *InputRoute) StartScheduler() { method StopScheduler (line 30) | func (route *InputRoute) StopScheduler() { type Plugins (line 14) | type Plugins struct FILE: routes/routes_test.go function TestScheduling (line 7) | func TestScheduling(t *testing.T) { FILE: runner/runner.go constant NATSConfigSubject (line 14) | NATSConfigSubject = "postee.config" type Runner (line 17) | type Runner struct method Setup (line 26) | func (r Runner) Setup(rtr *router.Router, cfg *os.File) error { FILE: servicenow/insert_table.go function InsertRecordToTable (line 12) | func InsertRecordToTable(user, password, instance, table string, content... FILE: servicenow/servicenow_base.go constant BaseServer (line 4) | BaseServer = "service-now.com/" constant baseApiUrl (line 5) | baseApiUrl = "api/now/" constant tableApi (line 6) | tableApi = "table/" type ServiceNowData (line 9) | type ServiceNowData struct FILE: slack/sendtoslack.go function SendToUrl (line 11) | func SendToUrl(url string, data []byte) error { FILE: teams/teams_requests.go function CreateMessageByWebhook (line 12) | func CreateMessageByWebhook(webhook, content string) error { FILE: ui/backend/dbservice/getplgnstats.go function GetPlgnStats (line 11) | func GetPlgnStats() (r map[string]int, err error) { FILE: ui/backend/main.go constant ENV_FILELOG (line 11) | ENV_FILELOG = "POSTEE_UI_LOGFILE" constant ENV_CFG (line 12) | ENV_CFG = "POSTEE_UI_CFG" constant ENV_WEB (line 13) | ENV_WEB = "POSTEE_UI_WEB" constant ENV_UPDATE_URL (line 14) | ENV_UPDATE_URL = "POSTEE_UI_UPDATE_URL" constant ENV_PORT (line 15) | ENV_PORT = "POSTEE_UI_PORT" constant ENV_ADMIN_USER (line 16) | ENV_ADMIN_USER = "POSTEE_ADMIN_USER" constant ENV_ADMIN_PASSWORD (line 17) | ENV_ADMIN_PASSWORD = "POSTEE_ADMIN_PASSWORD" constant DEFAULT_WEB_PATH (line 19) | DEFAULT_WEB_PATH = "/uiserver/www" function main (line 22) | func main() { FILE: ui/backend/uiserver/authentication.go constant sessioncookiename (line 8) | sessioncookiename = "postee-session-cookie" method login (line 11) | func (srv *uiServer) login(w http.ResponseWriter, r *http.Request) { method logout (line 37) | func (srv *uiServer) logout(w http.ResponseWriter, r *http.Request) { FILE: ui/backend/uiserver/authentication_middleware.go method authenticationMiddleware (line 8) | func (srv *uiServer) authenticationMiddleware(next http.Handler) http.Ha... method getUserFromRequest (line 30) | func (srv *uiServer) getUserFromRequest(r *http.Request) (string, error) { FILE: ui/backend/uiserver/config.go method getConfig (line 15) | func (srv *uiServer) getConfig(w http.ResponseWriter, r *http.Request) { method updateConfig (line 38) | func (srv *uiServer) updateConfig(w http.ResponseWriter, r *http.Request) { function reloadWebhookCfg (line 82) | func reloadWebhookCfg(url string, key string) error { FILE: ui/backend/uiserver/events.go method getEvents (line 10) | func (srv *uiServer) getEvents(w http.ResponseWriter, r *http.Request) { FILE: ui/backend/uiserver/events_test.go function TestUiServer_getEvents (line 15) | func TestUiServer_getEvents(t *testing.T) { FILE: ui/backend/uiserver/httpserver.go type localWebServer (line 9) | type localWebServer struct method ServeHTTP (line 14) | func (web *localWebServer) ServeHTTP(w http.ResponseWriter, r *http.Re... FILE: ui/backend/uiserver/plgnstats.go method plgnStats (line 10) | func (srv *uiServer) plgnStats(w http.ResponseWriter, r *http.Request) { function handleErr (line 25) | func handleErr(w http.ResponseWriter, err error) { FILE: ui/backend/uiserver/server.go type uiServer (line 12) | type uiServer struct method Start (line 66) | func (srv *uiServer) Start() { method Stop (line 71) | func (srv *uiServer) Stop() { method pingHandler (line 75) | func (ctx *uiServer) pingHandler(w http.ResponseWriter, r *http.Reques... function Instance (line 24) | func Instance(webLocalPath, port, cfg, webhookUrl, admusr string, admpwd... FILE: ui/backend/uiserver/testplg.go method testSettings (line 14) | func (srv *uiServer) testSettings(w http.ResponseWriter, r *http.Request) { FILE: ui/backend/uiserver/update_test.go constant testCfgFile (line 13) | testCfgFile = "test.cfg" constant inputConfigJson (line 15) | inputConfigJson = `[{"type":"common"}]` function TestUpdateConfig (line 18) | func TestUpdateConfig(t *testing.T) { FILE: ui/frontend/src/components/form.js method updateField (line 4) | updateField(e) { method updateCollectionField (line 24) | updateCollectionField(e) { method isFormValid (line 30) | isFormValid() { FILE: ui/frontend/src/components/validator.js class validator (line 1) | class validator { method constructor (line 2) | constructor(fields, validationFn) { method url (line 14) | url(label, value) { method email (line 30) | email(label, value) { method required (line 35) | required(label, value) { method validateJiraPasswordandToken (line 39) | validateJiraPasswordandToken() { method recipients (line 49) | recipients(label, value) { method v (line 63) | v(validationFn) { FILE: ui/frontend/src/store/modules/account.js method login (line 10) | login(context, payload) { method logout (line 28) | logout(context) { method update (line 40) | update(state, info) { FILE: ui/frontend/src/store/modules/actions.js function updateActions (line 2) | function updateActions(context, actions) { method test (line 13) | test(context, settings) { method update (line 30) | update(context, payload) { method remove (line 41) | remove(context, name) { method add (line 46) | add(context, settings) { method set (line 56) | set(state, actions) { FILE: ui/frontend/src/store/modules/error.js method set (line 10) | set(state, error) { method clear (line 13) | clear(state) { FILE: ui/frontend/src/store/modules/events.js method load (line 9) | load(context) { method set (line 19) | set(state, payload) { FILE: ui/frontend/src/store/modules/flags.js method set (line 8) | set(state, flags) { FILE: ui/frontend/src/store/modules/routes.js function updateRoutes (line 3) | function updateRoutes(context, routes) { method update (line 15) | update(context, payload) { method remove (line 26) | remove(context, name) { method add (line 31) | add(context, settings) { method set (line 41) | set(state, routes) { FILE: ui/frontend/src/store/modules/rules.js function updateRules (line 3) | function updateRules(context, rules) { method update (line 15) | update(context, payload) { method remove (line 26) | remove(context, name) { method add (line 31) | add(context, settings) { method set (line 41) | set(state, rules) { FILE: ui/frontend/src/store/modules/settings.js method update (line 7) | update(context, payload) { method set (line 17) | set(state, settings) { FILE: ui/frontend/src/store/modules/stats.js method load (line 8) | load(context) { method set (line 18) | set(state, payload) { FILE: ui/frontend/src/store/modules/templates.js function updateTemplates (line 3) | function updateTemplates(context, templates) { method update (line 15) | update(context, payload) { method remove (line 26) | remove(context, name) { method add (line 31) | add(context, settings) { method set (line 41) | set(state, templates) { FILE: ui/frontend/src/store/store.js method getAppState (line 32) | getAppState(state) { method load (line 37) | load(context) { FILE: utils/cert.go function publicKey (line 19) | func publicKey(priv interface{}) interface{} { function pemBlockForKey (line 30) | func pemBlockForKey(priv interface{}) *pem.Block { function generateCertificate (line 45) | func generateCertificate(hosts []string, keyFile string, certFile string... function getHostnames (line 117) | func getHostnames() ([]string, error) { function GenerateCertificate (line 170) | func GenerateCertificate(keyFile string, certFile string) error { FILE: utils/prnheaders.go function PrnLogResponse (line 8) | func PrnLogResponse(body io.ReadCloser) string { FILE: utils/utils.go function GetEnvironmentVarOrPlain (line 15) | func GetEnvironmentVarOrPlain(value string) string { function InitDebug (line 23) | func InitDebug() { function Debug (line 32) | func Debug(format string, v ...interface{}) { function GetEnv (line 38) | func GetEnv(name string) (string, error) { function GetRootDir (line 48) | func GetRootDir() (string, error) { function PathExists (line 53) | func PathExists(name string) bool { FILE: webserver/reload.go method reload (line 9) | func (web *WebServer) reload(w http.ResponseWriter, r *http.Request) { FILE: webserver/tenant.go method tenantHandler (line 13) | func (ctx *WebServer) tenantHandler(w http.ResponseWriter, r *http.Reque... FILE: webserver/webserver.go type WebServer (line 19) | type WebServer struct method withApiKey (line 36) | func (ctx *WebServer) withApiKey(next http.HandlerFunc) http.HandlerFu... method Start (line 55) | func (ctx *WebServer) Start(host, tlshost string) { method Terminate (line 99) | func (ctx *WebServer) Terminate() { method sessionHandler (line 104) | func (ctx *WebServer) sessionHandler(f func(http.ResponseWriter, *http... method scanHandler (line 110) | func (ctx *WebServer) scanHandler(w http.ResponseWriter, r *http.Reque... method pingHandler (line 124) | func (ctx *WebServer) pingHandler(w http.ResponseWriter, r *http.Reque... method writeResponse (line 128) | func (ctx *WebServer) writeResponse(w http.ResponseWriter, httpStatus ... method writeResponseError (line 140) | func (ctx *WebServer) writeResponseError(w http.ResponseWriter, httpEr... method eventsHandler (line 149) | func (ctx *WebServer) eventsHandler(w http.ResponseWriter, r *http.Req... function Instance (line 27) | func Instance() *WebServer { FILE: webserver/webserver_test.go function TestWebServer_eventsHandler (line 13) | func TestWebServer_eventsHandler(t *testing.T) {