Last active
July 13, 2017 09:24
-
-
Save adriens/86705299203e4dd2e0123096c3c40665 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| begin | |
| dbms_network_acl_admin.create_acl ( | |
| acl => 'utl_https_slack.xml', | |
| description => 'Slack HTTPS Access', | |
| principal => 'SLACK', | |
| is_grant => TRUE, | |
| privilege => 'connect', | |
| start_date => null, | |
| end_date => null | |
| ); | |
| dbms_network_acl_admin.add_privilege ( | |
| acl => 'utl_https_slack.xml', | |
| principal => 'SLACK', | |
| is_grant => TRUE, | |
| privilege => 'resolve', | |
| start_date => null, | |
| end_date => null | |
| ); | |
| dbms_network_acl_admin.assign_acl ( | |
| acl => 'utl_https_slack.xml', | |
| host => '*.slack.com', | |
| lower_port => 443, | |
| upper_port => 443 | |
| ); | |
| commit; | |
| end; | |
| / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment