Skip to content

Commit

Permalink
feat: add OFAC doc (#222)
Browse files Browse the repository at this point in the history
## Why?

This PR adds the documentation changes necessary for the OFAC feature in
the Fleek platform settings.

## Tickets?

- [Add to the platform docs or FAQ a section on OFAC country
restrictions](https://linear.app/fleekxyz/issue/AS-316/add-to-the-platform-docs-or-faq-a-section-on-ofac-country-restrictions)

## Contribution checklist?

- [x] The commit messages are detailed
- [x] The `build` command runs locally
- [x] Assets or static content are linked and stored in the project
- [x] Document filename is named after the slug
- [x] You've reviewed spelling using a grammar checker
- [x] For documentation, guides or references, you've tested the
commands and steps
- [x] You've done enough research before writing

## Security checklist?

- [x] Sensitive data has been identified and is being protected properly
- [x] Injection has been prevented (parameterized queries, no eval or
system calls)
- [x] The Components are escaping output (to prevent XSS)

---------

Co-authored-by: nlc616 <[email protected]>
  • Loading branch information
tobySolutions and nlc616 authored Sep 16, 2024
1 parent 7af9314 commit ecb1ef2
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/actions/spell-checker/ignore_words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ backend
backlog
bdd
beaconing
belarus
bg
biconomy
big-data
Expand Down Expand Up @@ -76,6 +77,7 @@ css
csv
cta
cta's
cuba
customtitlesbydirectoryname
cvs
cyberattack
Expand Down Expand Up @@ -179,19 +181,26 @@ iot
ipaddress
ipfs
ipns
iq
iran
iraq
ir
isr
january
javascript
js
json
july
jwt
korea
kp
kubernetes
l1
l2
ldap
leak
leasable
liberia
lifecycle
linkedin
linkedin's
Expand All @@ -205,6 +214,7 @@ locked-in
lodash
login
logout
lr
machine-learning
macos
malware
Expand All @@ -231,6 +241,7 @@ monitoring
mp4
multi-factor
mvp
myanmar
mysql
namespace
natively
Expand All @@ -249,6 +260,7 @@ ns1
oauth
object-oriented
objects
ofac
ok
onboarding
onboarded
Expand Down Expand Up @@ -332,6 +344,8 @@ rollup
rollups
rsa
ruby
russia
ru
s3
saml
sandbox
Expand Down Expand Up @@ -389,14 +403,17 @@ submenu
submenus
subname
subscription
sudan
sudo
sunsetting
svg
swift
swiss
syria
syslog
system-admin
systemctl
sy
table
tag
tags
Expand Down Expand Up @@ -498,4 +515,6 @@ youtube
zendesk
zendesk's
zero-trust
zip
zimbabwe
zip
zw
34 changes: 34 additions & 0 deletions src/content/docs/Platform/Domains/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,37 @@ Once you have added the DNSLink information to your domain, you will need to wai
A gray chip with the text 'DNSLink' next to the domain will indicate the successful integration of DNSLink. At that point you can check your domain on any IPFS gateway like `ipfs.io/ipns/yourdomain.com` to see the latest version of your site.

![DNSLink-Confirmation](./manage-dnslink.svg)

## OFAC country restrictions

The Office of Foreign Assets Control (OFAC) of the US Department of the Treasury administers and enforces economic and trade sanctions based on US foreign policy and national security goals against targeted foreign countries.
OFAC regulations can impact deployments, particularly when deploying or hosting a site that involves transactions or interactions with individuals or entities in sanctioned countries or regions.

From your project's settings you can control whether or not to allow access to your sites and private gateways from sanctioned countries. By default, this setting is enabled. If you disable this setting, your sites and gateways will be blocked in sanctioned countries.

The screen below shows the control to enable or disable this setting:

![OFAC control in settings](./ofac-control.png)

### Restricted countries on Fleek

:::info
Fleek blocks any access through our domains and custom domains but not DNSlink since it points directly to IPFS
:::

The following countries are currently restricted on Fleek due to OFAC regulations:

| Country | Country Code |
| ----------- | ------------ |
| Zimbabwe | ZW |
| Iran | IR |
| Myanmar | MM |
| Russia | RU |
| Sudan | SD |
| Iraq | IQ |
| Ivory Coast | CI |
| North Korea | KP |
| Syria | SY |
| Cuba | CU |
| Belarus | BY |
| Liberia | LR |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions src/styles/docPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,29 @@
}
}

table {
@apply w-full border-collapse border border-gray-dark-7;
border-spacing: 0;

th,
td {
@apply border border-gray-dark-7 text-start;
padding: 5px;
}

th {
@apply bg-gray-dark-7;
}

tr {
@apply text-start;
}

tr:nth-child(even) {
@apply bg-gray-dark-2;
}
}

ol {
display: block;
list-style-type: decimal;
Expand Down Expand Up @@ -108,6 +131,10 @@
padding: 0;
overflow: auto;
}

table {
@apply text-red;
}
}

.docs-search-container {
Expand Down

0 comments on commit ecb1ef2

Please sign in to comment.