Commit graph

19 commits

Author SHA1 Message Date
Julio Martinez
e25e395bab
Packaging improvements to improve mcloud updates (#2288)
* Update package scripts so they restart services based on the operation (update vs install)

Co-authored-by: Julio Martinez <julio.martinez@logicmonitor.com>
2022-11-10 11:13:06 -08:00
Julio Martinez
5c38d87d09
Change featurebase user home path to /var/lib/featurebase. (#2242) 2022-10-06 08:38:14 -07:00
Julio Martinez
267773c9d1
Remove 30sec restart wait. (#2231) 2022-09-27 12:44:06 -07:00
Julio Martinez
94a5721d05
Fixed broken fields when packaging rpm and deb files. (#2153)
* Fixed broken fields when packaging rpm and deb files.

* Update systemd unit files, package them into RPM's.

* Fix config file path for packages.

* Changed unit and binary paths to conform to standard locations for each vendor.

* Added featurebase owned directories.

* Create featrebase user/group and chown the right dirs

* Automate turning on featurebase

* Updated the .gitignore to include .vscode files.

* Changed RPM name to better conform to naming standards.

* Pass GOARCH when building RPM's.

* Avoid using recursive to remove files in this dir.
2022-07-27 12:54:46 -05:00
reesporte
03df1ba6ad
remove trailing spaces en masse (#2024) 2022-04-18 09:31:35 -05:00
reesporte
248dc4fe85 rip out ui/usage
addresses concerns in [fb-1127](https://molecula.atlassian.net/browse/FB-1127)

TLDR;
/ui/usage was a hotbed for issues and SEs have been turning it off anyway for ages
2022-02-28 12:05:44 -06:00
reesporte
87bbca938c add a redirect-base-url config option
this allows the user to configure a url for their IDP to redirect to, rather
than relying on the bind address of the featurebase server itself
2022-01-20 12:09:18 -06:00
reesporte
cf2410fea6 addresses multiple authn/z tickets
* fb-998 - authn/z enabled in handlers (kitchen-sink ticket)
    - authorization is enabled through the use of a bearer token (using header "Authorization")
    - authorization may occur through the use of an "Authorization" header or "molecula-chip" cookie
    - ui is updated for changes to handler
* fb-1131 - protect grpc endpoints
    - GRPC endpoints now check authorization if auth is enabled
* fb-1129 - inter-node communication
    - the following endpoints use the secretKey for authentication:
        - /internal/cluster/message: POST
        - /internal/translate/data: GET, POST

* added test to api_test.go (TestAuth_MultiNode) testing various auth/permissions stuff on a multi-node cluster

not included:
    - fb-1130 - filter response of endpoints
    - fb-1109 - improved audit logging

@jaffee [are you not entertained](https://www.youtube.com/watch?v=mutgotxrcqg)

Co-authored-by: souhailanoor <90720110+souhailanoor@users.noreply.github.com>
Co-authored-by: tgruben <tgruben@gmail.com>
Co-authored-by: 54mir <48686912+54mir@users.noreply.github.com>
Co-authored-by: kcrodgers24 <49999391+kcrodgers24@users.noreply.github.com>
2022-01-14 12:31:32 -06:00
Samir Patel
23a1b4c536 revisions and docs 2022-01-04 16:02:25 -06:00
Samir Patel
3b374a62bf Merge branch 'master' into 54mir/authentication 2021-12-20 16:42:11 -06:00
Samir Patel
6faa889bfb move logout url to conf 2021-12-20 14:30:19 -06:00
Samir Patel
a1de086cd8 change scopes from string to slicee 2021-12-15 14:53:04 -06:00
Samir Patel
7d81c6e1c1 add defaults to conf 2021-12-15 12:39:14 -06:00
Samir Patel
5e6aec6f60 add hash and block keys to conf file 2021-12-13 23:08:41 -06:00
Souhaila Noor
01e4baab04 determine permission for user access to index 2021-12-10 14:07:24 -06:00
souhailanoor
cebba84bee
add scope to install/featurebase.conf
Co-authored-by: Samir Patel <48686912+54mir@users.noreply.github.com>
2021-12-03 11:38:43 -06:00
Souhaila Noor
b5ba3fb2ea added auth arg validation and set up auth package 2021-12-02 13:09:13 -06:00
Souhaila Noor
dc1c39fd21 updated featurebase.conf 2021-11-29 16:46:55 -06:00
nm
3b92f9493d add config files for release 2021-11-19 01:26:18 +03:00