-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into console-data-sources
- Loading branch information
Showing
504 changed files
with
1,928 additions
and
257 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.. title:: 404 - Page Not Found | ||
|
||
:orphan: | ||
|
||
404 - Page Not Found | ||
--------------------- | ||
|
||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,3 @@ | ||
{%- if display_toc %} | ||
<!-- | ||
<div class="header_main_logo inline-block mobile-hide"> | ||
<a href="https://{{ BASE_DOMAIN }}/" target="_blank" rel="noopener"> | ||
<div class="img_wrapper inline-block"> | ||
<img class="responsive logo_img" src="{{ pathto('_images/layout/logo-lite.svg', 1) }}" alt="Hasura Logo Light" /> | ||
</div> | ||
</a> | ||
<a class="docs_label" href="{{ pathto('', 1) }}"> | ||
<div class="inline-block hero"> docs </div> | ||
</a> | ||
<a class="version_txt"> | ||
<select value="{{ version }}" onchange="location = this.value;" class="selected" aria-label="Select Version"> | ||
{%- if version == '1.0' %} | ||
<option class="option_val" value="https://{{ BASE_DOMAIN }}/docs/1.0/graphql/manual/index.html" selected="selected">v1.x</option> | ||
{%- else -%} | ||
<option class="option_val" value="https://{{ BASE_DOMAIN }}/docs/1.0/graphql/manual/index.html">v1.x</option> | ||
{% endif %} | ||
</select> | ||
</a> | ||
</div> | ||
--> | ||
{{ toc_full }} | ||
{%- endif %} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.. meta:: | ||
:description: Hasura Cloud allow lists | ||
:keywords: hasura, docs, cloud, security, allow | ||
|
||
.. _allow_lists: | ||
|
||
Allow lists | ||
=========== | ||
|
||
.. contents:: Table of contents | ||
:backlinks: none | ||
:depth: 1 | ||
:local: | ||
|
||
Introduction | ||
------------ | ||
|
||
You can specify a list of safe operations (GraphQL queries, mutations or subscriptions) for your project. This list restricts your project's GraphQL Engine to execute only queries that are present in the list. | ||
|
||
Manage the allow list | ||
--------------------- | ||
|
||
The manager view offers inspection, export, or removal of operations in the allow list: | ||
|
||
.. thumbnail:: /img/graphql/cloud/security/pro-tabs-allowlist.png | ||
:alt: Hasura Cloud Console allow list tab | ||
|
||
Quick-create allowed operations | ||
------------------------------- | ||
|
||
This Pro feature lets you add to the allow list with one click from the record of past operations. (With Core, allow lists must be :ref:`managed manually <allow_list>`.) | ||
|
||
.. thumbnail:: /img/graphql/cloud/security/allowlist-add-new-op.png | ||
:alt: Hasura Cloud Console create new allowed operation |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
.. meta:: | ||
:description: Hasura Cloud API limits | ||
:keywords: hasura, docs, cloud, security, limits | ||
|
||
.. _api_limits: | ||
|
||
API limits | ||
========== | ||
|
||
.. contents:: Table of contents | ||
:backlinks: none | ||
:depth: 1 | ||
:local: | ||
|
||
Introduction | ||
------------ | ||
|
||
Limiting the depth and/or rate of API requests can help prevent API performance issues caused by malicious or poorly implemented queries. | ||
|
||
Configuring an API limit | ||
------------------------ | ||
|
||
**Rate limits** | ||
Restricts number of GraphQL operations per minute. This uses a sliding window approach. This means whenever Hasura Pro receives a request, it will count the rate of that client starting from the current time to last one minute. | ||
|
||
**Depth limits** | ||
Restricts a GraphQL operation based on its depth, preventing deeply nested queries. | ||
|
||
API limits are defined by **role** (anonymous, user) and can restrict request rate, depth, or both. Unique request parameters can include IP address or session variables (*x-hasura-user-id*, *x-hasura-org-id*, etc.) | ||
|
||
Manage API limits | ||
----------------- | ||
|
||
API limits can have a *global* or *per role* configuration. If an incoming request does not contain a valid role then the global limit is applied. | ||
|
||
.. thumbnail:: /img/graphql/cloud/security/pro-tab-apilimits.png | ||
:alt: Hasura Cloud Console api limit tab | ||
|
||
.. admonition:: Admin & IntrospectionQuery exemptions | ||
|
||
All API limits are **not** applied for the admin role, and depth limits are **NOT** applied to introspection queries | ||
|
||
Quick-create limits | ||
------------------- | ||
|
||
Hasura Cloud lets you add limits with one click from the list of past operations. | ||
|
||
.. thumbnail:: /img/graphql/cloud/security/pro-tab-apilimit-config.png | ||
:alt: Hasura Cloud Console create new api limit |
Oops, something went wrong.