Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.01 KB

alfi.md

File metadata and controls

56 lines (36 loc) · 1.01 KB

Alfi Examples

Create ALFI Experiments

Coming Soon

Get ALFI Experiment Details

from gremlinapi.alfi import GremlinALFI as alfi
from pprint import pprint

alfi_attack_id = 'expirment-guid'
experiment_details = alfi.get_alfi_experiment_details(guid=alfi_attack_id)

pprint(experiment_details)

Halt ALFI Experiment

from gremlinapi.alfi import GremlinALFI as alfi

alfi_attack_id = 'expirment-guid'
alfi.halt_alfi_experiment(guid=alfi_attack_id)

Halt ALL ALFI Experiments

from gremlinapi.alfi import GremlinALFI as alfi

alfi.halt_all_alfi_experiments()

List Active ALFI Experiments

from gremlinapi.alfi import GremlinALFI as alfi
from pprint import pprint

experiment_list = alfi.list_active_alfi_experiments()

pprint(experiment_list)

List Completed ALFI Experiments

from gremlinapi.alfi import GremlinALFI as alfi
from pprint import pprint

experiment_list = alfi.list_completed_alfi_experiments()

pprint(experiment_list)