Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Språksamlingane
beta.ordbok.uib.no
Commits
bcdf3ae1
Commit
bcdf3ae1
authored
4 years ago
by
Ole Voldsæter
Browse files
Options
Downloads
Patches
Plain Diff
refs meta#147 slipp api-kall gjennom brannmuren
parent
b58a59a4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aws/beta.ordbok.uib.no_stack.yaml
+24
-0
24 additions, 0 deletions
aws/beta.ordbok.uib.no_stack.yaml
with
24 additions
and
0 deletions
aws/beta.ordbok.uib.no_stack.yaml
+
24
−
0
View file @
bcdf3ae1
...
...
@@ -83,6 +83,16 @@ Resources:
Value
:
"
82.134.66.114/32"
Name
:
"
allowed
IPs"
APImatch
:
Type
:
"
AWS::WAF::ByteMatchSet"
Properties
:
ByteMatchTuples
:
-
FieldToMatch
:
Type
:
"
URI"
TargetString
:
"
/api/"
TextTransformation
:
"
NONE"
PositionalConstraint
:
"
STARTS_WITH"
ITARule
:
Type
:
"
AWS::WAF::Rule"
Properties
:
...
...
@@ -93,6 +103,16 @@ Resources:
Negated
:
false
DataId
:
!Ref
ITAIpSet
APIRule
:
Type
:
"
AWS::WAF::Rule"
Properties
:
MetricName
:
"
APIRule"
Name
:
"
APIRule"
Predicates
:
-
Type
:
"
ByteMatch"
Negated
:
false
DataId
:
!Ref
APImatch
ACL
:
Type
:
"
AWS::WAF::WebACL"
Properties
:
...
...
@@ -105,6 +125,10 @@ Resources:
Type
:
"
ALLOW"
Priority
:
1
RuleId
:
!Ref
ITARule
-
Action
:
Type
:
"
ALLOW"
Priority
:
5
RuleId
:
!Ref
APIRule
Distribution
:
Type
:
"
AWS::CloudFront::Distribution"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment