A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://devcenter.heroku.com/articles/shield-private-space below:

Shield Private Spaces | Heroku Dev Center

Last updated February 18, 2025

Shield Private Spaces include additional features for building high-compliance applications compared to Private Spaces. Shield Private Spaces come at an additional cost, and it is recommended that you consult your Solution Engineer or Account Executive to decide if a Shield Private Space is appropriate for your application requirements.

Shield Private Spaces are not yet available for Fir. Subscribe to our changelog to track the updates to the next generation of the Heroku platform.

Shield Features and Limitations Creating Shield Private Space

To create a Shield Private Space using the Heroku CLI, specify the --shield option:

$ heroku spaces:create my-shield-space-name --shield --team my-team-name
Creating space my-space-name in team my-team-name... done
=== my-space-name
Team: my-team-name
Region:       virginia
State:        allocating

To enable Private Space Logging, specify a log drain URL when creating the space:

Private Space Logging cannot be enabled after a Private Space has been created.

$ heroku spaces:create my-shield-space-name --shield --team my-team-name --log-drain-url https://mylogdrain.com
Creating space my-space-name in team my-team-name... done
=== my-space-name
Team: my-team-name
Region:       virginia
State:        allocating

To create a one-off dyno, you must first add an SSH key to your user account (this only has to be done once):

$ heroku keys:add
Generating public/private rsa key pair.
...
$ heroku run bash
...
~ $
Keystroke Logging

Shield Private Spaces provide keystroke logging, which logs all user keystrokes typed into interactive heroku run sessions. This can be important for production access auditing when meeting certain regulatory requirements.

For example, a user might run the following command:

$ heroku run bash -a shield-space-app
Running bash on ⬢ shield-space-app... provisioning, run.5042 (Shield-M)
 !    Warning: Dynos can take up to a few minutes to be provisioned in Private Spaces.
$ echo hello
hello

Looking at the app or space logs, you will see corresponding output:

$ heroku logs -a shield-space-app
...
2018-08-21T20:32:04.318608+00:00 app[session-df7030f1-c075-4074-aa4e-c0c8581d2ab7]: Creating session on run.4195 by user@example.com
2018-08-21T20:33:41.377121+00:00 heroku[run.4195]: State changed from provisioning to starting
2018-08-21T20:34:24.107283+00:00 heroku[run.4195]: State changed from starting to up
2018-08-21T20:34:33.792538+00:00 app[session-df7030f1-c075-4074-aa4e-c0c8581d2ab7]: user-input="echo hello"
Private Space Logging

Private Space Logging is a feature only available to Shield Private Spaces that lets you configure log capture at the space level instead of the app level. See the Private Space Logging article for details.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4