openrport-openrport/server/const_windows.go
Andrey 0eb77ddeaa
Dev 2442 upload files to clients (#412)
* Upload files implemented

* Fixing sca failures

* Fixing bugs

* Sftp intergration

* Fixing sca

* Testing sftp with remote server, fixing bugs, abstracting file operations under interface, file operations mock

* Fixing sca

* DEV-2442 Ws interface + sync and force options

* DEV-2442 Log improvements

* DEV-2442 Merged with master

* DEV-2442 Fixing sca

* DEV-2442 Added auditlog

* DEV-2442 File push glob patterns

* DEV-2442 Fixing glob patterns

* DEV-2442 upload unittests

* DEV-2442 Added request assertion for server upload unittest

* DEV-2442 fixing sca

* DEV-2442 Further tests

* DEV-2442 Documentation

* DEV-2442 Swagger documentation

* DEV-2442 Run sudo chown if needed

* DEV-2442 Run sudo mv if needed

* DEV-2442 Adjusted the upload and api documentation

* DEV-2442 Fixing the failing test

* DEV-2442 sync messages separated by line breaks

* DEV-2442 Check file mode and file owner for sync case

* Chown and mv full path

* DEV-2442 Fixing the test

* DEV-2442 Upgraded golangci-lint

* DEV-2442 Not fetching dependencies

* DEV-2442 Fixing

* DEV-2442 Removed vendor

* DEV-2442 Switched golangci runner

* DEV-2442 Fixing golint action

* DEV-2442 Fixing

* DEV-2442 Fixing goimports false positive

* DEV-2442 Fixing

* DEV-2442 Rollback golangci changes

* DEV-2442 Fixing according to the golangci 1.32

* DEV-2442 Fixing code review comments

* DEV-2442 Go mod tidy

* DEV-2442 Fixing go mod

* DEV-2442 Fixing go mod

* DEV-2442 Fixing changes according the code review

* DEV-2442 Fixing tests

* DEV-2442 Fixing the test

* Fixed typos

* Neutralization of the examples

* DEV-2442 Consistent response for upload api

* DEV-2442 Fixing sca

* User friendly message if client doens't support uploads

* DEV-2442 Fixing failing tests

* Renaming upload config options, option to disable uploads on a client

* DEV-2442 Fixing the failing test

* DEV-2442 Fixing duplication failure

* DEV-2442 Redused function complexity

Co-authored-by: breathbath <posandrey>
Co-authored-by: Thorsten Kramm <tk@system42.io>
2022-03-15 16:16:08 +01:00

10 lines
168 B
Go

//go:build windows
// +build windows
package chserver
// Contains constants applicable only to windows OS.
const (
DefaultDataDirectory = "C:\\ProgramData\\rport"
)