Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSources ¶
GetSources returns slices of the discovered src attributes for each of the CSP types.
func MakePolicy ¶
func MakePolicy(s string)
MakePolicy parses the slice of sources, deduplicates, matches with CSP rule, and prints the policy to StdOut.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.