Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore variables DAYS and LOGS_TIME_BUFFER #2

Merged
merged 1 commit into from
Jun 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
X_ROAD_INSTANCE = 'sample'
APPLICATION_DIR = '/srv/app'

# Time buffer before allowing users to browse logs
DAYS = 10
LOGS_TIME_BUFFER = relativedelta.relativedelta(days=DAYS)

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

Expand Down Expand Up @@ -155,9 +159,9 @@

DISCLAIMER = """<p>X-Road monitoring data is collected from Estonian X-Road members security servers available
by X-Road Center (Republic of Estonia Information System Authority, Riigi Infosüsteemi Amet, RIA)
and published as opendata with a delay of 10 days from actual transaction execution time.</p>
and published as opendata with a delay of {0} days from actual transaction execution time.</p>
<p>Data is renewed nightly, between 0:00-6:00 (EET UTC+2h / EEST UTC+3h).</p>
<p>Timestamps (specifically <em>requestInTs</em>) are rounded to hour precision and presented in form of Unix timstamp (epoch time).</p>
<p>Timestamps (specifically <em>requestInTs</em>) are rounded to hour precision and presented in form of Unix timestamp (epoch time).</p>
<p>According to Security Authorities Act [1] §5 the security authorities are the
Estonian Internal Security Service and the Estonian Foreign Intelligence Service. Their authorizations are described in
chapter 4 (§21 - 35) of the above mentioned act. Based on aspects stated in the State Secrets and
Expand Down