Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
93f35ae25c
commit
d306693dd6
|
@ -54,6 +54,7 @@ support the following features:
|
|||
- [Multi-project support](index.md#multi-project-support)
|
||||
- [Offline support](index.md#running-sast-in-an-offline-environment)
|
||||
- [Emits JSON report format](index.md#reports-json-format)
|
||||
- [SELinux support](index.md#running-sast-in-selinux)
|
||||
|
||||
## Official default analyzers
|
||||
|
||||
|
|
|
@ -708,6 +708,10 @@ offline environment, certificate verification with an external source is not pos
|
|||
self-signed certificate or disable certificate verification. Refer to the package manager's
|
||||
documentation for instructions.
|
||||
|
||||
## Running SAST in SELinux
|
||||
|
||||
By default SAST analyzers are supported in GitLab instances hosted on SELinux. Adding a `before_script` in an [overriden SAST job](#overriding-sast-jobs) may not work as runners hosted on SELinux have restricted permissions.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### SAST debug logging
|
||||
|
|
|
@ -179,7 +179,7 @@ RSpec.shared_examples 'Debian Distribution' do |factory, container, can_freeze|
|
|||
subject { described_class.with_codename_or_suite(distribution_with_suite.codename) }
|
||||
|
||||
it 'does not return other distributions' do
|
||||
expect(subject.to_a).to eq([distribution_with_suite, distribution_with_same_codename, distribution_with_codename_and_suite_flipped])
|
||||
expect(subject.to_a).to contain_exactly(distribution_with_suite, distribution_with_same_codename, distribution_with_codename_and_suite_flipped)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -187,7 +187,7 @@ RSpec.shared_examples 'Debian Distribution' do |factory, container, can_freeze|
|
|||
subject { described_class.with_codename_or_suite(distribution_with_suite.suite) }
|
||||
|
||||
it 'does not return other distributions' do
|
||||
expect(subject.to_a).to eq([distribution_with_suite, distribution_with_same_suite, distribution_with_codename_and_suite_flipped])
|
||||
expect(subject.to_a).to contain_exactly(distribution_with_suite, distribution_with_same_suite, distribution_with_codename_and_suite_flipped)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue