Disable security on elastic and kibana - windows

Hello i'am new with elastic search.
I followed this documentation in order to enable security, i set a password with only number and that is the main problem.
https://www.elastic.co/guide/en/elasticsearch/reference/7.12/security-minimal-setup.html
I found the problem when I wanted to login in kibana .(the image bellow).
enter image description here
Now i want to disable the security so i can work normally, or if there is some method which allow me change the password.

I think you enabled the basic security using below config in your elasticsearch.yml
xpack.security.enabled: true
If you don't want that, you can simply disable it by changing it to false and restart your Elasticsearch nodes.

well I disabled xpack.security but the problem persist, so I go to the list of the settings in the keystore and then I removed elastic.password , so it's not required to login.

Related

Do I need to change the configuration of the admin key after installing APISIX?

After I successfully installed APISIX, I found that the configuration file contains admin key information and all control requests need to contain this credential, do I need to change this configuration? How do I make the change take effect?
for security reasons, we would encourage any users to generate a different API key before using Apache APISIX, please check its documentation[1].
NOTE: API Key is only a string, you can generate a new one in your preferred way. For me, I would use https://www.random.org/strings/.
[1] https://apisix.apache.org/docs/apisix/admin-api/
[2] https://github.com/apache/apisix/blob/master/conf/config.yaml#L46

How to set up looging level in Kibana

Could you tell me how to set up explicitly logging level in Kibana as INFO?
I have found this but do not know how to use it:
logging.silent
logging.quiet
logging.verbose
logging.events
As shown in Kibana's official documentation, by editing your kibana.yml or kibana.yaml:
logging.quiet: true
This is for the quiet logging, same goes to the other options except logging.events.

sentry onpremise how to set domain name?

We have been using old sentry (like 6.*)
We are trying to use the latest onpremise sentry with docker
We don't care about old data, starting fresh is fine.
When I go to the setting page for client-dsn, it has our server's domain name set.
Where did the docker pick this up? and how can I change it?
As far as I have seen th FQDN is taken automatically by Sentry. When doing the first login you are able to set the Root name and there you can change it.
Edit-21.07.2020: As I currently need to do some digging i came across the function:
sentry config set system.url-prefix
or you can set it inside these files:
/etc/sentry/sentry.conf.py
/etc/sentry/config.yml
The below command is deprecated now,
sentry config set system.url-prefix
The better option to edit vim ~/.sentry/config.yml.
Add the below line at the end of vim ~/.sentry/config.yml & restart the sentry.
system.url-prefix: 'https://sentry.example.com'

Setting Projects to Private by Default

I have my SQ server running in Kubernetes (via Tectonic) and all is going well. We need to tighten the security of our SQ installation, so we have LDAP up and working. We are trying to get all of the projects to be Private by default (which we can do Via the GUI for each project).
However, trying to flip the switch in the GUI to make all new projects Private works, until you refresh the page, then it reverts back to Public.
I have been searching for a way to set this up via the sonar.properties file or sonar-project.properties file (first if the preferred). The server.properties file we use is encrypted as a secret (because the LDAP settings exposes a service account password) and I would like to keep settings there.
I have combed through documentation, posts, discussions and all that, but have not been able to find out what the value=key combination is.
Has anyone seen what this is or if we can even accomplish that? Is it a setting stored in the database? I'm kind of at a loss on this one.
Thanks!
In SonarQube 7.x you can find the public/private setting when you browse to Administration - Projects - Management. This only works for new projects. For existing projects you can use the "Edit the permissions" option on the same page and switch between public and private.
You can also use the web_api to achieve the same results. You can find the documentation when you add "/web_api/api/projects" after the sonarqube URL:
Example of the POST request body: project=MyProject&visibility=private

Disable initial search when accessing kibana 4

simple question regarding kibana 4.
When you navigate to the kibana page, by default it queries "*" for the last 15 minutes in a certain index.
Is there a way to disable this automatic search? I checked the advanced settings but didn't see anything obvious.
Thanks
You may want to set kibana.defaultAppId in de kibana.yml file to "settings". This opens the settings-page at startup, so no query gets executed.
You can disable discover:searchOnPageLoad in advanced settings.

Resources