minimalcsp

package module
v0.0.0-...-7bef210 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSources

func GetSources(s string) [][]string

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL