History log of /openbmc/telemetry/src/persistent_json_storage.cpp (Results 1 – 5 of 5)
Revision Date Author Comments
# 4d1c2ce2 23-Jan-2023 Szymon Dompke <szymon.dompke@intel.com>

Add security check for directory symlinks

Currently only files symlink are verified during file operations.
This change is extending check to all directories in path.

Testing done:
- UTs are passin

Add security check for directory symlinks

Currently only files symlink are verified during file operations.
This change is extending check to all directories in path.

Testing done:
- UTs are passing

Signed-off-by: Szymon Dompke <szymon.dompke@intel.com>
Change-Id: I1f30de94872d2a25597d3549224cd90aa8fab634

show more ...


# a06626d1 24-Nov-2022 Krzysztof Grobelny <krzysztof.grobelny@intel.com>

Added security checks for symlinks

Added security checks which prevents service from interacting with
symlinks. It is not possible to list/delete/read/write to symlinks.

Tested:
Added unit tests wh

Added security checks for symlinks

Added security checks which prevents service from interacting with
symlinks. It is not possible to list/delete/read/write to symlinks.

Tested:
Added unit tests which confirm that:
- Symlinks cannot be removed
- Symlinks are not listed
- Symlinks cannot be overwritten
- Symlinks cannot be read

Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>
Change-Id: I50d6d10dac81fd454e7e30520a7c47d5146be58c

show more ...


# 982c5b5b 02-Jan-2021 Wludzik, Jozef <jozef.wludzik@intel.com>

Fix entries used by phosphor-logging

Fixed entires used by phosphor::logging::log function. Now logs
display proper information.

Tested: - Verified if logs contain correct entries

Change-Id: I5254

Fix entries used by phosphor-logging

Fixed entires used by phosphor::logging::log function. Now logs
display proper information.

Tested: - Verified if logs contain correct entries

Change-Id: I5254555aa55bbe06c882d7024db911812e6f3f63
Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com>

show more ...


# e2362796 27-Oct-2020 Wludzik, Jozef <jozef.wludzik@intel.com>

Implement Report persistency

Now Report properties are stored in non-volatile memory. It allows
to restore Report after system restart. Persistency of a report is
controlled by Persistency property

Implement Report persistency

Now Report properties are stored in non-volatile memory. It allows
to restore Report after system restart. Persistency of a report is
controlled by Persistency property in Report interface.

Tested:
- Passed unit tests
- Verified that report is stored in /var/lib/telemetry dir
- Verified that report is restored from storage after telemetry
service start

Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com>
Change-Id: Iccfe21603eecffc4e174a4403f699b03de320db9

show more ...


# 73da6906 24-Sep-2020 Krzysztof Grobelny <krzysztof.grobelny@intel.com>

Added PersistentJsonStorageClass

PersistentJsonStorage is used to store persistent information in
json format. This class will be used by ReportManager to save
persistent report configuration.

Test

Added PersistentJsonStorageClass

PersistentJsonStorage is used to store persistent information in
json format. This class will be used by ReportManager to save
persistent report configuration.

Tested:
- Added unit tests for new functionality
- All other unit tests are passing

Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>
Change-Id: Ib496e6782e849d910fe37c02c355047afda5c79c

show more ...