azureeif

package
v0.9.20 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

README

Encryption in Flight Probe Notes

This directory contains the feature file and code realted to the probing of encryption in flight controls

Mandatory Azure Configuration Variables

  • AZURE_SUBSCRIPTION_ID - the user supplied azure subscription id
  • AZURE_TENANT_ID - the user supplied azure tenant id
  • AZURE_CLIENT_ID - the user supplied azure client id (will n ormally be a service principal application id)
  • AZURE_CLIENT_SECRET - the secret required for client authentication
  • AZURE_RESOURCE_GROUP - the user supplied resource group for Probr purposes and must exist in the specified subscription
  • AZURE_LOCATION - the azure geo location where test storage account resources may be created

Azure Policy prerequiste

A policy which denies the creation of storage accounts with non-secure http access enabled, must be assigned to the user's azure subscription or azure management group. The applicable built-in azure policy is: Secure transfer to storage accounts should be enabled. The assignment must set the 'Effect' parameter value to 'Deny', in order to prevent creation of storage accounts with the EnableHTTPSTrafficOnly option not set to true. Note that the default value is 'Audit', which will not prevent non-compliant account creation.

Preventative scenario outline

Probr attempts to create a storage account for the following scenarios:

  • http and https access is switched on - creation should be denied
  • only http access is switched on - creation should be denied
  • only https access is switched on - creation should be allowed

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProbeStruct

type ProbeStruct struct {
	// contains filtered or unexported fields
}

ProbeStruct allows this probe to be added to the ProbeStore

var Probe ProbeStruct

Probe allows this probe to be added to the ProbeStore

func (ProbeStruct) Name

func (p ProbeStruct) Name() string

Name will return this probe's name

func (ProbeStruct) Path

func (p ProbeStruct) Path() string

Path will return this probe's feature path

func (ProbeStruct) ProbeInitialize

func (p ProbeStruct) ProbeInitialize(ctx *godog.TestSuiteContext)

ProbeInitialize handles any overall Test Suite initialisation steps. This is registered with the test handler as part of the init() function. func (p ProbeStruct) ProbeInitialize(ctx *godog.Suite) {

func (ProbeStruct) ScenarioInitialize

func (p ProbeStruct) ScenarioInitialize(ctx *godog.ScenarioContext)

ScenarioInitialize initialises the scenario

Jump to

Keyboard shortcuts

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