| Script |
kintana_scripts_security_groups_controlling_migrations_to_specified_environment
select ww.workflow_name,
wws.step_name,
ee.environment_name,
nsg.security_group_name
from KWFL_WORKFLOW_STEP_SECURITY wwss,
KWFL_WORKFLOW_STEPS wws,
KWFL_WORKFLOWS ww,
KENV_ENVIRONMENTS ee,
KNTA_SECURITY_GROUPS nsg
where wwss.security_group_id = nsg.security_group_id
and wws.dest_environment_id = ee.environment_id
and wwss.workflow_step_id = wws.workflow_step_id
and wws.workflow_id = ww.workflow_id
and ww.enabled_flag = 'Y'
and wwss.security_type_code = 'SECURITY_GROUP'
and ee.environment_name in ('qa', 'test', 'prod')
order by ww.workflow_name, wws.step_name, ee.environment_name, nsg.security_group_name
|