projen 0.103.6 → 0.103.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/.jsii +6073 -484
  2. package/lib/ai-instructions.js +2 -2
  3. package/lib/awscdk/auto-discover.js +6 -6
  4. package/lib/awscdk/awscdk-app-java.js +1 -1
  5. package/lib/awscdk/awscdk-app-py.js +1 -1
  6. package/lib/awscdk/awscdk-app-ts.js +1 -1
  7. package/lib/awscdk/awscdk-construct.js +1 -1
  8. package/lib/awscdk/awscdk-deps-java.js +1 -1
  9. package/lib/awscdk/awscdk-deps-js.js +1 -1
  10. package/lib/awscdk/awscdk-deps-py.js +1 -1
  11. package/lib/awscdk/awscdk-deps.js +1 -1
  12. package/lib/awscdk/cdk-config.js +3 -3
  13. package/lib/awscdk/cdk-tasks.js +1 -1
  14. package/lib/awscdk/integration-test.js +1 -1
  15. package/lib/awscdk/lambda-extension.js +1 -1
  16. package/lib/awscdk/lambda-function.js +2 -2
  17. package/lib/build/build-workflow.js +1 -1
  18. package/lib/cdk/auto-discover-base.js +2 -2
  19. package/lib/cdk/construct-lib.js +1 -1
  20. package/lib/cdk/integration-test-base.js +1 -1
  21. package/lib/cdk/jsii-build.js +1 -1
  22. package/lib/cdk/jsii-docgen.js +1 -1
  23. package/lib/cdk/jsii-project.js +1 -1
  24. package/lib/cdk8s/auto-discover.js +2 -2
  25. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  26. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  27. package/lib/cdk8s/cdk8s-construct.js +1 -1
  28. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  29. package/lib/cdk8s/cdk8s-deps.js +1 -1
  30. package/lib/cdk8s/integration-test.js +1 -1
  31. package/lib/cdktf/cdktf-construct.js +1 -1
  32. package/lib/cdktn/cdktn-app-ts.js +1 -1
  33. package/lib/cdktn/cdktn-config.js +1 -1
  34. package/lib/cdktn/cdktn-construct.js +1 -1
  35. package/lib/cdktn/cdktn-deps.js +1 -1
  36. package/lib/cdktn/cdktn-tasks.js +1 -1
  37. package/lib/circleci/circleci.js +1 -1
  38. package/lib/component.js +2 -2
  39. package/lib/dependencies.js +1 -1
  40. package/lib/dev-env.js +1 -1
  41. package/lib/docker-compose/docker-compose-service.js +1 -1
  42. package/lib/docker-compose/docker-compose.js +1 -1
  43. package/lib/file.js +1 -1
  44. package/lib/gitattributes.js +1 -1
  45. package/lib/github/actions-provider.js +1 -1
  46. package/lib/github/auto-approve.js +1 -1
  47. package/lib/github/auto-merge.js +1 -1
  48. package/lib/github/auto-queue.js +1 -1
  49. package/lib/github/dependabot.js +1 -1
  50. package/lib/github/dependency-review.js +1 -1
  51. package/lib/github/github-credentials.js +1 -1
  52. package/lib/github/github-project.js +1 -1
  53. package/lib/github/github.js +1 -1
  54. package/lib/github/merge-queue.js +1 -1
  55. package/lib/github/mergify.js +1 -1
  56. package/lib/github/pr-template.js +1 -1
  57. package/lib/github/pull-request-backport.js +1 -1
  58. package/lib/github/pull-request-lint.js +1 -1
  59. package/lib/github/stale.js +1 -1
  60. package/lib/github/task-workflow-job.js +1 -1
  61. package/lib/github/task-workflow.js +1 -1
  62. package/lib/github/workflow-actions.js +1 -1
  63. package/lib/github/workflow-jobs.js +1 -1
  64. package/lib/github/workflow-steps.js +1 -1
  65. package/lib/github/workflows.js +1 -1
  66. package/lib/gitlab/configuration.js +1 -1
  67. package/lib/gitlab/gitlab-configuration.js +1 -1
  68. package/lib/gitlab/nested-configuration.js +1 -1
  69. package/lib/gitpod.js +1 -1
  70. package/lib/ignore-file.js +1 -1
  71. package/lib/index.d.ts +1 -0
  72. package/lib/index.js +3 -2
  73. package/lib/ini.js +1 -1
  74. package/lib/java/java-project.js +1 -1
  75. package/lib/java/junit.js +1 -1
  76. package/lib/java/maven-compile.js +1 -1
  77. package/lib/java/maven-packaging.js +1 -1
  78. package/lib/java/maven-sample.js +1 -1
  79. package/lib/java/pom.js +2 -2
  80. package/lib/java/projenrc.js +1 -1
  81. package/lib/javascript/biome/biome.js +1 -1
  82. package/lib/javascript/bundler.js +1 -1
  83. package/lib/javascript/eslint.js +1 -1
  84. package/lib/javascript/jest.js +4 -4
  85. package/lib/javascript/license-checker.js +1 -1
  86. package/lib/javascript/node-config-file.js +1 -1
  87. package/lib/javascript/node-config.d.ts +58 -4
  88. package/lib/javascript/node-config.js +11 -2
  89. package/lib/javascript/node-package.js +1 -1
  90. package/lib/javascript/node-project.js +1 -1
  91. package/lib/javascript/npm-config.js +1 -1
  92. package/lib/javascript/pnpm-workspace-config.js +2 -2
  93. package/lib/javascript/pnpm-workspace.js +1 -1
  94. package/lib/javascript/prettier.js +1 -1
  95. package/lib/javascript/projenrc.js +1 -1
  96. package/lib/javascript/typescript-config.js +2 -2
  97. package/lib/javascript/upgrade-dependencies.js +2 -2
  98. package/lib/javascript/yarnrc.js +1 -1
  99. package/lib/json-patch.js +1 -1
  100. package/lib/json.js +1 -1
  101. package/lib/license.js +1 -1
  102. package/lib/logger.js +1 -1
  103. package/lib/makefile.js +1 -1
  104. package/lib/object-file.js +1 -1
  105. package/lib/polaris/coverity-config.d.ts +1614 -0
  106. package/lib/polaris/coverity-config.js +886 -0
  107. package/lib/polaris/coverity-go.d.ts +32 -0
  108. package/lib/polaris/coverity-go.js +52 -0
  109. package/lib/polaris/coverity-java.d.ts +33 -0
  110. package/lib/polaris/coverity-java.js +54 -0
  111. package/lib/polaris/coverity-javascript.d.ts +32 -0
  112. package/lib/polaris/coverity-javascript.js +46 -0
  113. package/lib/polaris/coverity.d.ts +22 -0
  114. package/lib/polaris/coverity.js +37 -0
  115. package/lib/polaris/index.d.ts +5 -0
  116. package/lib/polaris/index.js +22 -0
  117. package/lib/project-build.js +1 -1
  118. package/lib/project-tree.js +1 -1
  119. package/lib/project.js +1 -1
  120. package/lib/projects.js +1 -1
  121. package/lib/projenrc-json.js +1 -1
  122. package/lib/projenrc.js +1 -1
  123. package/lib/properties-file.js +1 -1
  124. package/lib/python/pip.js +1 -1
  125. package/lib/python/poetry.js +2 -2
  126. package/lib/python/projenrc.js +1 -1
  127. package/lib/python/pyproject-toml-file.js +1 -1
  128. package/lib/python/pytest-sample.js +1 -1
  129. package/lib/python/pytest.js +1 -1
  130. package/lib/python/python-project.js +1 -1
  131. package/lib/python/python-sample.js +1 -1
  132. package/lib/python/requirements-file.js +1 -1
  133. package/lib/python/setuppy.js +1 -1
  134. package/lib/python/setuptools.js +1 -1
  135. package/lib/python/uv-config.js +1 -1
  136. package/lib/python/uv.js +1 -1
  137. package/lib/python/venv.js +1 -1
  138. package/lib/readme.js +1 -1
  139. package/lib/release/publisher.js +1 -1
  140. package/lib/release/release-trigger.js +1 -1
  141. package/lib/release/release.js +1 -1
  142. package/lib/renovatebot.js +1 -1
  143. package/lib/run-task.cjs +3 -1
  144. package/lib/sample-file.js +2 -2
  145. package/lib/script-runner.js +1 -1
  146. package/lib/sonarqube/javascript.js +1 -1
  147. package/lib/sonarqube/rust.js +1 -1
  148. package/lib/sonarqube/sonarqube.js +1 -1
  149. package/lib/sonarqube/typescript.js +1 -1
  150. package/lib/source-code.js +1 -1
  151. package/lib/task-shell.js +1 -1
  152. package/lib/task.js +1 -1
  153. package/lib/tasks.js +1 -1
  154. package/lib/testing.js +1 -1
  155. package/lib/textfile.js +1 -1
  156. package/lib/toml.js +1 -1
  157. package/lib/typescript/projenrc-ts.js +1 -1
  158. package/lib/typescript/projenrc.js +1 -1
  159. package/lib/typescript/typescript-runner.d.ts +1 -0
  160. package/lib/typescript/typescript-runner.js +2 -2
  161. package/lib/typescript/typescript-typedoc.js +1 -1
  162. package/lib/typescript/typescript.js +5 -5
  163. package/lib/version.js +2 -2
  164. package/lib/vscode/devcontainer.js +1 -1
  165. package/lib/vscode/extensions.js +1 -1
  166. package/lib/vscode/launch-config.js +1 -1
  167. package/lib/vscode/settings.js +1 -1
  168. package/lib/vscode/vscode.js +1 -1
  169. package/lib/web/next.js +3 -3
  170. package/lib/web/postcss.js +1 -1
  171. package/lib/web/react.js +3 -3
  172. package/lib/web/tailwind.js +1 -1
  173. package/lib/xmlfile.js +1 -1
  174. package/lib/yaml.js +1 -1
  175. package/package.json +3 -1
@@ -0,0 +1,1614 @@
1
+ /**
2
+ * @schema PolarisCoveritySchema
3
+ */
4
+ export interface PolarisCoveritySchema {
5
+ /**
6
+ * @schema PolarisCoveritySchema#analyze
7
+ */
8
+ readonly analyze?: AnalysisConfiguration;
9
+ /**
10
+ * @schema PolarisCoveritySchema#caching
11
+ */
12
+ readonly caching?: CachingConfiguration;
13
+ /**
14
+ * @schema PolarisCoveritySchema#capture
15
+ */
16
+ readonly capture?: CaptureConfiguration;
17
+ /**
18
+ * @schema PolarisCoveritySchema#commit
19
+ */
20
+ readonly commit: CommitConfiguration;
21
+ /**
22
+ * Specifies the version of the configuration file in use.
23
+ *
24
+ * @schema PolarisCoveritySchema#version
25
+ */
26
+ readonly version?: number;
27
+ }
28
+ /**
29
+ * Converts an object of type 'PolarisCoveritySchema' to JSON representation.
30
+ * @internal
31
+ */
32
+ export declare function toJson_PolarisCoveritySchema(obj: PolarisCoveritySchema | undefined): Record<string, any> | undefined;
33
+ /**
34
+ * Specifies how the project should be analyzed.
35
+ *
36
+ * @schema analysis-configuration
37
+ */
38
+ export interface AnalysisConfiguration {
39
+ /**
40
+ * Specifies the aggressiveness level for the analysis. The aggressiveness level causes the analysis to make more or less aggressive assumptions during the analysis where the higher the aggressiveness level the more defects are reported.
41
+ *
42
+ * @schema analysis-configuration#aggressiveness-level
43
+ */
44
+ readonly aggressivenessLevel?: AnalysisConfigurationAggressivenessLevel;
45
+ /**
46
+ * Enables analysis of calls to function pointers for defects.
47
+ *
48
+ * @schema analysis-configuration#c-cpp-fnptr
49
+ */
50
+ readonly cCppFnptr?: boolean;
51
+ /**
52
+ * Enables full virtual-call resolution for C++.
53
+ *
54
+ * @schema analysis-configuration#c-cpp-virtual
55
+ */
56
+ readonly cCppVirtual?: boolean;
57
+ /**
58
+ * Enables callgraph metrics output in the intermediate directory.
59
+ *
60
+ * @schema analysis-configuration#callgraph-metrics
61
+ */
62
+ readonly callgraphMetrics?: boolean;
63
+ /**
64
+ * If no checker configuration is specified, the CLI will enable a set of checkers based on the files that were captured.
65
+ *
66
+ * @schema analysis-configuration#checkers
67
+ */
68
+ readonly checkers?: CheckerConfiguration;
69
+ /**
70
+ * If specified, the analysis will scan the code for compliance according to the given coding standard configuration. If this configuration is present, the capture "emit-complementary-info" flag will be set to true.
71
+ *
72
+ * @schema analysis-configuration#coding-standards
73
+ */
74
+ readonly codingStandards?: CodingStandardConfiguration;
75
+ /**
76
+ * Coverity Connect configuration to use when performing analysis in Coverity Connect.
77
+ *
78
+ * @schema analysis-configuration#connect
79
+ */
80
+ readonly connect?: AnalyzeConnectConfiguration;
81
+ /**
82
+ * Enables additional filtering of defects by using an additional false-path pruner. If set to true, the constraint FPP is enabled.
83
+ *
84
+ * @schema analysis-configuration#constraint-fpp
85
+ */
86
+ readonly constraintFpp?: boolean;
87
+ /**
88
+ * Additional arguments to pass to cov-analyze when doing analysis.
89
+ *
90
+ * @schema analysis-configuration#cov-analyze-args
91
+ */
92
+ readonly covAnalyzeArgs?: string[];
93
+ /**
94
+ * Additional arguments to pass to cov-collect-models following analysis when "output-model-file" is specified.
95
+ *
96
+ * @schema analysis-configuration#cov-collect-models-args
97
+ */
98
+ readonly covCollectModelsArgs?: string[];
99
+ /**
100
+ * Specifies directives to use for the analysis, including for web application security analysis.
101
+ *
102
+ * @schema analysis-configuration#directives
103
+ */
104
+ readonly directives?: DirectivesConfiguration[];
105
+ /**
106
+ * Specifies which files to analyze when the "analyze.mode" setting is "hfi". Analysis will be performed for only these files.
107
+ *
108
+ * @schema analysis-configuration#files
109
+ */
110
+ readonly files?: AnalyzeFilesConfiguration;
111
+ /**
112
+ * Specifies analysis worker parallelism.
113
+ *
114
+ * @schema analysis-configuration#jobs
115
+ */
116
+ readonly jobs?: JobsConfiguration[];
117
+ /**
118
+ * Specifies whether the analysis should be done locally, in Coverity Connect, or in Software Risk Manager. The possible values are as follows: connect - Run the analysis in the Coverity Connect job farm; srm - Run the analysis in the Software Risk Manager job farm; local - Run the analysis locally
119
+ *
120
+ * @schema analysis-configuration#location
121
+ */
122
+ readonly location?: AnalysisConfigurationLocation;
123
+ /**
124
+ * Analysis mode: "pfi" (perfect fidelity incremental) for complete analysis; or "hfi" (high fidelity incremental) for analysis of only specific files specified by analyze.files settings, omitting any other files which may have been incidentally captured by the build. An "hfi" analysis can be faster but may produce results which are incomplete or inconsistent, due to the lack of context, and should be used only when speed is more important than accuracy.
125
+ *
126
+ * @schema analysis-configuration#mode
127
+ */
128
+ readonly mode?: AnalysisConfigurationMode;
129
+ /**
130
+ * File containing function models. This overrides models specified in the default location of "config/user_models.xmldb".
131
+ *
132
+ * @schema analysis-configuration#model-file
133
+ */
134
+ readonly modelFile?: string;
135
+ /**
136
+ * If set to to true, only one TU (translation unit) will be analyzed per source file name. If set to false, all translation units will be analyzed.
137
+ *
138
+ * @schema analysis-configuration#one-tu-per-psf
139
+ */
140
+ readonly oneTuPerPsf?: boolean;
141
+ /**
142
+ * Output file to which function models for the project should be written following analysis.
143
+ *
144
+ * @schema analysis-configuration#output-model-file
145
+ */
146
+ readonly outputModelFile?: string;
147
+ /**
148
+ * Specifies how parse warnings are handled.
149
+ *
150
+ * @schema analysis-configuration#parse-warnings
151
+ */
152
+ readonly parseWarnings?: ParseWarningsConfiguration;
153
+ /**
154
+ * Specifies whether to enable the collection of scan transparency data for analysis. This setting must be enabled if the Coverity Connect instance has 'scan.transparency.enabled=true' in its configuration.
155
+ *
156
+ * @schema analysis-configuration#scan-transparency
157
+ */
158
+ readonly scanTransparency?: boolean;
159
+ /**
160
+ * Specifies options for Sigma analysis.
161
+ *
162
+ * @schema analysis-configuration#sigma
163
+ */
164
+ readonly sigma?: SigmaConfiguration;
165
+ /**
166
+ * This is a map from trust option name to boolean to indicate whether the particular trust property should be trusted or distrusted. The trust option "all" controls whether all trust options should be trusted or distrusted.
167
+ *
168
+ * @schema analysis-configuration#trust
169
+ */
170
+ readonly trust?: any;
171
+ }
172
+ /**
173
+ * Converts an object of type 'AnalysisConfiguration' to JSON representation.
174
+ * @internal
175
+ */
176
+ export declare function toJson_AnalysisConfiguration(obj: AnalysisConfiguration | undefined): Record<string, any> | undefined;
177
+ /**
178
+ * Specifies how the CLI should handle caching when performing capture/analysis.
179
+ *
180
+ * @schema caching-configuration
181
+ */
182
+ export interface CachingConfiguration {
183
+ /**
184
+ * A true value indicates caching will be used when performing remote analysis.
185
+ *
186
+ * @schema caching-configuration#enabled
187
+ */
188
+ readonly enabled?: boolean;
189
+ }
190
+ /**
191
+ * Converts an object of type 'CachingConfiguration' to JSON representation.
192
+ * @internal
193
+ */
194
+ export declare function toJson_CachingConfiguration(obj: CachingConfiguration | undefined): Record<string, any> | undefined;
195
+ /**
196
+ * Specifies how the project should be captured.
197
+ *
198
+ * @schema capture-configuration
199
+ */
200
+ export interface CaptureConfiguration {
201
+ /**
202
+ * Specifies whether to enable or disable build command inference. If build command inference is disabled and no build command is provided then no attempt at build capture will be made.
203
+ *
204
+ * @schema capture-configuration#build-command-inference
205
+ */
206
+ readonly buildCommandInference?: boolean;
207
+ /**
208
+ * Specifies which compilers to configure. By default, template compilers are configured.
209
+ *
210
+ * @schema capture-configuration#compiler-configuration
211
+ */
212
+ readonly compilerConfiguration?: CompilerConfiguration;
213
+ /**
214
+ * @schema capture-configuration#cov-translate
215
+ */
216
+ readonly covTranslate?: CovTranslateConfiguration;
217
+ /**
218
+ * Records additional information during the emit process needed for the compliance checkers. If a "coding-standards" configuration is present then this flag will automatically be set to true.
219
+ *
220
+ * @schema capture-configuration#emit-complementary-info
221
+ */
222
+ readonly emitComplementaryInfo?: boolean;
223
+ /**
224
+ * Specifies the encoding to use when parsing and emitting the source files.
225
+ *
226
+ * @schema capture-configuration#encoding
227
+ */
228
+ readonly encoding?: string;
229
+ /**
230
+ * Specifies the minimum percentage of files that must be captured in order to proceed with the analysis.
231
+ *
232
+ * @schema capture-configuration#failure-threshold-percent
233
+ */
234
+ readonly failureThresholdPercent?: number;
235
+ /**
236
+ * Specifies which non-compiled files to capture. By default, all files are captured.
237
+ *
238
+ * @schema capture-configuration#files
239
+ */
240
+ readonly files?: FilesConfiguration;
241
+ /**
242
+ * Force resolution of Maven, Gradle and MSBuild dependencies even if this is not needed based on the detected source languages in the project.
243
+ *
244
+ * @schema capture-configuration#force-dependency-resolution
245
+ */
246
+ readonly forceDependencyResolution?: boolean;
247
+ /**
248
+ * Specifies which languages to include or exclude for capture. By default, all languages are captured.
249
+ *
250
+ * @schema capture-configuration#languages
251
+ */
252
+ readonly languages?: LanguagesConfiguration;
253
+ /**
254
+ * Specifies how to import data about source file changes from the source control management system.
255
+ *
256
+ * @schema capture-configuration#import-scm
257
+ */
258
+ readonly importScm?: ImportScmConfiguration;
259
+ /**
260
+ * Specifies whether to limit the group of emitted JAR files to those needed for compilation of the Java files. The default behavior without this option is to emit all the JAR files in the classpath regardless of whether they are referenced by a Java file in the compilation.
261
+ *
262
+ * @schema capture-configuration#minimal-classpath-emit
263
+ */
264
+ readonly minimalClasspathEmit?: boolean;
265
+ /**
266
+ * Specifies whether to do a complete capture or a record with source capture.
267
+ *
268
+ * @schema capture-configuration#record-with-source
269
+ */
270
+ readonly recordWithSource?: boolean;
271
+ /**
272
+ * Enables or disables security dynamic analysis. If set to true (the default), security dynamic analysis is run as part of the capture step. If set to false, security dynamic analysis is not run.
273
+ *
274
+ * @schema capture-configuration#security-da
275
+ */
276
+ readonly securityDa?: boolean;
277
+ /**
278
+ * @schema capture-configuration#build-capture
279
+ */
280
+ readonly buildCapture?: BuildConfiguration;
281
+ }
282
+ /**
283
+ * Converts an object of type 'CaptureConfiguration' to JSON representation.
284
+ * @internal
285
+ */
286
+ export declare function toJson_CaptureConfiguration(obj: CaptureConfiguration | undefined): Record<string, any> | undefined;
287
+ /**
288
+ * Specifies where the analysis results should be sent.
289
+ *
290
+ * @schema commit-configuration
291
+ */
292
+ export interface CommitConfiguration {
293
+ /**
294
+ * Coverity Connect configuration to use when committing defects to Coverity Connect.
295
+ *
296
+ * @schema commit-configuration#connect
297
+ */
298
+ readonly connect?: CommitConfigurationConnect;
299
+ /**
300
+ * Software Risk Manager configuration to use when storing defects in Software Risk Manager.
301
+ *
302
+ * @schema commit-configuration#srm
303
+ */
304
+ readonly srm?: CommitConfigurationSrm;
305
+ /**
306
+ * Local configuration to use when saving defects to the local file system.
307
+ *
308
+ * @schema commit-configuration#local
309
+ */
310
+ readonly local?: CommitConfigurationLocal;
311
+ }
312
+ /**
313
+ * Converts an object of type 'CommitConfiguration' to JSON representation.
314
+ * @internal
315
+ */
316
+ export declare function toJson_CommitConfiguration(obj: CommitConfiguration | undefined): Record<string, any> | undefined;
317
+ /**
318
+ * Specifies the aggressiveness level for the analysis. The aggressiveness level causes the analysis to make more or less aggressive assumptions during the analysis where the higher the aggressiveness level the more defects are reported.
319
+ *
320
+ * @schema AnalysisConfigurationAggressivenessLevel
321
+ */
322
+ export declare enum AnalysisConfigurationAggressivenessLevel {
323
+ /** low */
324
+ LOW = "low",
325
+ /** medium */
326
+ MEDIUM = "medium",
327
+ /** high */
328
+ HIGH = "high"
329
+ }
330
+ /**
331
+ * @schema checker-configuration
332
+ */
333
+ export interface CheckerConfiguration {
334
+ /**
335
+ * Indicates whether all checkers should be enabled.
336
+ *
337
+ * @schema checker-configuration#all
338
+ */
339
+ readonly all?: boolean;
340
+ /**
341
+ * Indicates whether all security checkers should be enabled. This includes the Security, Android Security, and Web App Security categories, and other security checkers that require explicit enablement.
342
+ *
343
+ * @schema checker-configuration#all-security
344
+ */
345
+ readonly allSecurity?: boolean;
346
+ /**
347
+ * If set to true, enables android security checkers.
348
+ *
349
+ * @schema checker-configuration#android-security
350
+ */
351
+ readonly androidSecurity?: boolean;
352
+ /**
353
+ * Enables audit checkers.
354
+ *
355
+ * @schema checker-configuration#audit
356
+ */
357
+ readonly audit?: boolean;
358
+ /**
359
+ * Indicates whether the brakeman checkers should be enabled or disabled.
360
+ *
361
+ * @schema checker-configuration#brakeman
362
+ */
363
+ readonly brakeman?: boolean;
364
+ /**
365
+ * Enables C, C++, Objective-C, Objective-C++ security-related checkers that are disabled by default.
366
+ *
367
+ * @schema checker-configuration#c-family-security
368
+ */
369
+ readonly cFamilySecurity?: boolean;
370
+ /**
371
+ * Map from checker name to configuration for the checker.
372
+ * The configuration indicates whether the checker should be enabled or not and allows users to set options used to configure the checker.
373
+ *
374
+ * @schema checker-configuration#checker-config
375
+ */
376
+ readonly checkerConfig?: any;
377
+ /**
378
+ * Specifies CodeXM (.cxm) files to use in the analysis.
379
+ *
380
+ * @schema checker-configuration#codexm
381
+ */
382
+ readonly codexm?: string[];
383
+ /**
384
+ * Enables C, C++ concurrency checkers that are disabled by default.
385
+ *
386
+ * @schema checker-configuration#concurrency
387
+ */
388
+ readonly concurrency?: boolean;
389
+ /**
390
+ * Specifies whether to enable the default set of checkers. If set to true, the default set of checkers is enabled. Set to false to get more control over which checkers are enabled.
391
+ *
392
+ * @schema checker-configuration#default
393
+ */
394
+ readonly default?: boolean;
395
+ /**
396
+ * Enables or disables PMD for Apex analysis.
397
+ *
398
+ * @schema checker-configuration#pmd
399
+ */
400
+ readonly pmd?: boolean;
401
+ /**
402
+ * Enables or disables recommended security checkers.
403
+ *
404
+ * @schema checker-configuration#recommended-security-checkers
405
+ */
406
+ readonly recommendedSecurityCheckers?: boolean;
407
+ /**
408
+ * Enables C, C++ rule checkers.
409
+ *
410
+ * @schema checker-configuration#rule
411
+ */
412
+ readonly rule?: boolean;
413
+ /**
414
+ * Specifies how web application security analysis should be done.
415
+ *
416
+ * @schema checker-configuration#webapp-security
417
+ */
418
+ readonly webappSecurity?: CheckerConfigurationWebappSecurity;
419
+ }
420
+ /**
421
+ * Converts an object of type 'CheckerConfiguration' to JSON representation.
422
+ * @internal
423
+ */
424
+ export declare function toJson_CheckerConfiguration(obj: CheckerConfiguration | undefined): Record<string, any> | undefined;
425
+ /**
426
+ * @schema coding-standard-configuration
427
+ */
428
+ export interface CodingStandardConfiguration {
429
+ /**
430
+ * Enables AUTOSAR code compliance checking according to the given configuration.
431
+ *
432
+ * @schema coding-standard-configuration#autosarcpp14
433
+ */
434
+ readonly autosarcpp14?: SpecificCodingStandardConfiguration;
435
+ /**
436
+ * Enables CERT-C code compliance checking according to the given configuration.
437
+ *
438
+ * @schema coding-standard-configuration#cert-c
439
+ */
440
+ readonly certC?: SpecificCodingStandardConfiguration;
441
+ /**
442
+ * Enables CERT-C Recommendation code compliance checking according to the given configuration.
443
+ *
444
+ * @schema coding-standard-configuration#cert-c-recommendation
445
+ */
446
+ readonly certCRecommendation?: SpecificCodingStandardConfiguration;
447
+ /**
448
+ * Enables CERT-CPP code compliance checking according to the given configuration.
449
+ *
450
+ * @schema coding-standard-configuration#cert-cpp
451
+ */
452
+ readonly certCpp?: SpecificCodingStandardConfiguration;
453
+ /**
454
+ * Enables CERT-Java code compliance checking according to the given configuration.
455
+ *
456
+ * @schema coding-standard-configuration#cert-java
457
+ */
458
+ readonly certJava?: SpecificCodingStandardConfiguration;
459
+ /**
460
+ * Enables HYUNDAI-C code compliance checking according to the given configuration.
461
+ *
462
+ * @schema coding-standard-configuration#hyundai-c
463
+ */
464
+ readonly hyundaiC?: SpecificCodingStandardConfiguration;
465
+ /**
466
+ * Enables HYUNDAI-CPP code compliance checking according to the given configuration.
467
+ *
468
+ * @schema coding-standard-configuration#hyundai-cpp
469
+ */
470
+ readonly hyundaiCpp?: SpecificCodingStandardConfiguration;
471
+ /**
472
+ * Enables HYUNDAI-Java code compliance checking according to the given configuration.
473
+ *
474
+ * @schema coding-standard-configuration#hyundai-java
475
+ */
476
+ readonly hyundaiJava?: SpecificCodingStandardConfiguration;
477
+ /**
478
+ * If set to true, any defects found in code annotated using the #pragma Coverity compliance directive will not be reported in Coverity Connect. Information about the defects that were suppressed can then be found in two files: deviations.txt deviations-warnings.txt
479
+ *
480
+ * @schema coding-standard-configuration#ignore-deviated-findings
481
+ */
482
+ readonly ignoreDeviatedFindings?: boolean;
483
+ /**
484
+ * Enables ISO TS 17961 code compliance checking according to the given configuration.
485
+ *
486
+ * @schema coding-standard-configuration#iso-ts17961
487
+ */
488
+ readonly isoTs17961?: SpecificCodingStandardConfiguration;
489
+ /**
490
+ * Enables MISRA C 2004 code compliance checking according to the given configuration.
491
+ *
492
+ * @schema coding-standard-configuration#misrac2004
493
+ */
494
+ readonly misrac2004?: SpecificCodingStandardConfiguration;
495
+ /**
496
+ * Enables MISRA C 2012 code compliance checking according to the given configuration.
497
+ *
498
+ * @schema coding-standard-configuration#misrac2012
499
+ */
500
+ readonly misrac2012?: SpecificCodingStandardConfiguration;
501
+ /**
502
+ * Enables MISRA C 2023 code compliance checking according to the given configuration.
503
+ *
504
+ * @schema coding-standard-configuration#misrac2023
505
+ */
506
+ readonly misrac2023?: SpecificCodingStandardConfiguration;
507
+ /**
508
+ * Enables MISRA C++ 2008 code compliance checking according to the given configuration.
509
+ *
510
+ * @schema coding-standard-configuration#misracpp2008
511
+ */
512
+ readonly misracpp2008?: SpecificCodingStandardConfiguration;
513
+ /**
514
+ * Enables MISRA C++ 2023 code compliance checking according to the given configuration.
515
+ *
516
+ * @schema coding-standard-configuration#misracpp2023
517
+ */
518
+ readonly misracpp2023?: SpecificCodingStandardConfiguration;
519
+ }
520
+ /**
521
+ * Converts an object of type 'CodingStandardConfiguration' to JSON representation.
522
+ * @internal
523
+ */
524
+ export declare function toJson_CodingStandardConfiguration(obj: CodingStandardConfiguration | undefined): Record<string, any> | undefined;
525
+ /**
526
+ * @schema analyze-connect-configuration
527
+ */
528
+ export interface AnalyzeConnectConfiguration {
529
+ /**
530
+ * The authentication key file to use when authenticating to Coverity Connect to perform analysis. By default, the file located at $HOME/.coverity/ak-<hostname>-<port> is used.
531
+ *
532
+ * @schema analyze-connect-configuration#auth-key-file
533
+ */
534
+ readonly authKeyFile?: string;
535
+ /**
536
+ * File containing additional certificates to trust in addition to the ones in the system certificate store and the Coverity TFT store. By default system CA certificates are used.
537
+ *
538
+ * @schema analyze-connect-configuration#ca-certs-file
539
+ */
540
+ readonly caCertsFile?: string;
541
+ /**
542
+ * File containing the client certificate in PEM format, that should be presented to the proxy when making a request.
543
+ *
544
+ * @schema analyze-connect-configuration#proxy-client-cert-file
545
+ */
546
+ readonly proxyClientCertFile?: string;
547
+ /**
548
+ * File containing the client certificate private key in PEM format, for the proxy-client-cert-file.
549
+ *
550
+ * @schema analyze-connect-configuration#proxy-client-key-file
551
+ */
552
+ readonly proxyClientKeyFile?: string;
553
+ /**
554
+ * URL for a forward proxy to use when communicating with Coverity Connect. Must be an https URL.
555
+ *
556
+ * @schema analyze-connect-configuration#proxy-url
557
+ */
558
+ readonly proxyUrl?: string;
559
+ /**
560
+ * Artifacts to upload following analysis when the analysis location is Connect.
561
+ *
562
+ * @schema analyze-connect-configuration#upload-artifacts
563
+ */
564
+ readonly uploadArtifacts?: AnalyzeConnectConfigurationUploadArtifacts;
565
+ /**
566
+ * Absolute URL of where to perform Coverity Connect analysis.
567
+ *
568
+ * @schema analyze-connect-configuration#url
569
+ */
570
+ readonly url: string;
571
+ }
572
+ /**
573
+ * Converts an object of type 'AnalyzeConnectConfiguration' to JSON representation.
574
+ * @internal
575
+ */
576
+ export declare function toJson_AnalyzeConnectConfiguration(obj: AnalyzeConnectConfiguration | undefined): Record<string, any> | undefined;
577
+ /**
578
+ * @schema directives-configuration
579
+ */
580
+ export interface DirectivesConfiguration {
581
+ /**
582
+ * Security directives configuration to use during the analysis. This key is mutually exclusive with the "file" key and is specified in the case where the user wants to in-line the security directives configuration in the file.
583
+ *
584
+ * @schema directives-configuration#config
585
+ */
586
+ readonly config?: DirectivesConfigurationConfig;
587
+ /**
588
+ * File containing security directives to use during the analysis. This key is mutually exclusive with the "config" key.
589
+ *
590
+ * @schema directives-configuration#file
591
+ */
592
+ readonly file?: string;
593
+ }
594
+ /**
595
+ * Converts an object of type 'DirectivesConfiguration' to JSON representation.
596
+ * @internal
597
+ */
598
+ export declare function toJson_DirectivesConfiguration(obj: DirectivesConfiguration | undefined): Record<string, any> | undefined;
599
+ /**
600
+ * @schema analyze-files-configuration
601
+ */
602
+ export interface AnalyzeFilesConfiguration {
603
+ /**
604
+ * Glob pattern that specifies the set of source files to exclude from analysis. Note that any include glob patterns and regular expressions are processed prior to handling exclude glob patterns and regular expressions.
605
+ *
606
+ * @schema analyze-files-configuration#exclude-glob
607
+ */
608
+ readonly excludeGlob?: string;
609
+ /**
610
+ * Regular expression that specifies the set of source files to exclude from analysis. Note that any include glob patterns and regular expressions are processed prior to handling exclude glob patterns and regular expressions.
611
+ *
612
+ * @schema analyze-files-configuration#exclude-regex
613
+ */
614
+ readonly excludeRegex?: string;
615
+ /**
616
+ * Paths of source files to analyze. Include and exclude glob patterns and regular expressions are applied to determine which of these files are actually analyzed.
617
+ *
618
+ * @schema analyze-files-configuration#include-files
619
+ */
620
+ readonly includeFiles?: string;
621
+ /**
622
+ * Glob pattern that specifies the set of source files to analyze.
623
+ *
624
+ * @schema analyze-files-configuration#include-glob
625
+ */
626
+ readonly includeGlob?: string;
627
+ /**
628
+ * File containing the paths of source files to analyze, one per line. Include and exclude glob patterns and regular expressions are applied to determine which of these files are actually analyzed.
629
+ *
630
+ * @schema analyze-files-configuration#include-list-file
631
+ */
632
+ readonly includeListFile?: string;
633
+ /**
634
+ * Regular expression that specifies the set of source files to analyze.
635
+ *
636
+ * @schema analyze-files-configuration#include-regex
637
+ */
638
+ readonly includeRegex?: string;
639
+ }
640
+ /**
641
+ * Converts an object of type 'AnalyzeFilesConfiguration' to JSON representation.
642
+ * @internal
643
+ */
644
+ export declare function toJson_AnalyzeFilesConfiguration(obj: AnalyzeFilesConfiguration | undefined): Record<string, any> | undefined;
645
+ /**
646
+ * @schema jobs-configuration
647
+ */
648
+ export interface JobsConfiguration {
649
+ /**
650
+ * If true, the number of analysis workers to run in parallel is based on the amount of memory and number of logical processors in the machine. This is the default for a non-Flexnet license. This key is mutually exclusive with the "count" and "max" keys.
651
+ *
652
+ * @schema jobs-configuration#auto
653
+ */
654
+ readonly auto?: boolean;
655
+ /**
656
+ * Number of analysis workers to run in parallel. This key is mutually exclusive with the "auto" and "max" keys.
657
+ *
658
+ * @schema jobs-configuration#count
659
+ */
660
+ readonly count?: number;
661
+ /**
662
+ * Maximum number of analysis worker to run in parallel, subject to limits on the amount of memory and number of logical processors in the machine. A value of 8 is the default for a Flexnet license. This key is mutually exclusive with the "auto" and "count" keys.
663
+ *
664
+ * @schema jobs-configuration#max
665
+ */
666
+ readonly max?: number;
667
+ /**
668
+ * Allows the number of analysis workers to exceed the recommended value. This key may only be used with the "count" key.
669
+ *
670
+ * @schema jobs-configuration#override-worker-limit
671
+ */
672
+ readonly overrideWorkerLimit?: boolean;
673
+ }
674
+ /**
675
+ * Converts an object of type 'JobsConfiguration' to JSON representation.
676
+ * @internal
677
+ */
678
+ export declare function toJson_JobsConfiguration(obj: JobsConfiguration | undefined): Record<string, any> | undefined;
679
+ /**
680
+ * Specifies whether the analysis should be done locally, in Coverity Connect, or in Software Risk Manager. The possible values are as follows: connect - Run the analysis in the Coverity Connect job farm; srm - Run the analysis in the Software Risk Manager job farm; local - Run the analysis locally
681
+ *
682
+ * @schema AnalysisConfigurationLocation
683
+ */
684
+ export declare enum AnalysisConfigurationLocation {
685
+ /** local */
686
+ LOCAL = "local",
687
+ /** connect */
688
+ CONNECT = "connect",
689
+ /** srm */
690
+ SRM = "srm"
691
+ }
692
+ /**
693
+ * Analysis mode: "pfi" (perfect fidelity incremental) for complete analysis; or "hfi" (high fidelity incremental) for analysis of only specific files specified by analyze.files settings, omitting any other files which may have been incidentally captured by the build. An "hfi" analysis can be faster but may produce results which are incomplete or inconsistent, due to the lack of context, and should be used only when speed is more important than accuracy.
694
+ *
695
+ * @schema AnalysisConfigurationMode
696
+ */
697
+ export declare enum AnalysisConfigurationMode {
698
+ /** hfi */
699
+ HFI = "hfi",
700
+ /** pfi */
701
+ PFI = "pfi"
702
+ }
703
+ /**
704
+ * @schema parse-warnings-configuration
705
+ */
706
+ export interface ParseWarningsConfiguration {
707
+ /**
708
+ * Enables parse warnings, recovery warnings, and semantic warnings that are produced by the cov-build command so that they appear as defects in Coverity Connect. By default, this is disabled if the aggressiveness level is low, and enabled if the aggressiveness level is medium or high.
709
+ *
710
+ * @schema parse-warnings-configuration#enabled
711
+ */
712
+ readonly enabled?: boolean;
713
+ }
714
+ /**
715
+ * Converts an object of type 'ParseWarningsConfiguration' to JSON representation.
716
+ * @internal
717
+ */
718
+ export declare function toJson_ParseWarningsConfiguration(obj: ParseWarningsConfiguration | undefined): Record<string, any> | undefined;
719
+ /**
720
+ * @schema sigma-configuration
721
+ */
722
+ export interface SigmaConfiguration {
723
+ /**
724
+ * List of check sets to enable.
725
+ *
726
+ * @schema sigma-configuration#enable-check-set
727
+ */
728
+ readonly enableCheckSet?: SigmaConfigurationEnableCheckSet[];
729
+ /**
730
+ * List of files containing malicious URL patterns.
731
+ *
732
+ * @schema sigma-configuration#malicious-url-patterns-file
733
+ */
734
+ readonly maliciousUrlPatternsFile?: string[];
735
+ }
736
+ /**
737
+ * Converts an object of type 'SigmaConfiguration' to JSON representation.
738
+ * @internal
739
+ */
740
+ export declare function toJson_SigmaConfiguration(obj: SigmaConfiguration | undefined): Record<string, any> | undefined;
741
+ /**
742
+ * @schema compiler-configuration
743
+ */
744
+ export interface CompilerConfiguration {
745
+ /**
746
+ * Specifies a list of arguments to pass to "cov-configure" to generate the compiler configuration to use during capture. This key is mutually exclusive with the "file" key.
747
+ *
748
+ * @schema compiler-configuration#cov-configure
749
+ */
750
+ readonly covConfigure?: string[][];
751
+ /**
752
+ * Specifies a pre-generated compiler configuration file to use. This key is mutually exclusive with the "cov-configure" key.
753
+ *
754
+ * @schema compiler-configuration#file
755
+ */
756
+ readonly file?: string;
757
+ }
758
+ /**
759
+ * Converts an object of type 'CompilerConfiguration' to JSON representation.
760
+ * @internal
761
+ */
762
+ export declare function toJson_CompilerConfiguration(obj: CompilerConfiguration | undefined): Record<string, any> | undefined;
763
+ /**
764
+ * Command to invoke that will invoke "cov-translate" to capture the project.
765
+ *
766
+ * @schema cov-translate-configuration
767
+ */
768
+ export interface CovTranslateConfiguration {
769
+ /**
770
+ * This key specifies a command to invoke that will invoke "cov-translate" in the case where the user is doing a "cov-translate" capture.
771
+ *
772
+ * @schema cov-translate-configuration#command
773
+ */
774
+ readonly command: string;
775
+ /**
776
+ * Additional arguments to pass to cov-build when invoking the provided command.
777
+ *
778
+ * @schema cov-translate-configuration#cov-build-args
779
+ */
780
+ readonly covBuildArgs?: string[];
781
+ /**
782
+ * Specifies whether the build should only record the decompilations of byte code during the build and not attempt to decompile and emit the byte code. During the analysis phase, cov-build will be rerun with --replay-decomp to decompile and emit the byte code.
783
+ *
784
+ * @schema cov-translate-configuration#defer-decomp
785
+ */
786
+ readonly deferDecomp?: boolean;
787
+ /**
788
+ * Specifies how to parallelize translation of C and C++ code.
789
+ *
790
+ * @schema cov-translate-configuration#parallel-translate
791
+ */
792
+ readonly parallelTranslate?: ParallelTranslateConfiguration;
793
+ /**
794
+ * Specifies whether to enable the collection of scan transparency data for cov-translate capture. This setting must be enabled if the Coverity Connect instance has 'scan.transparency.enabled=true' in its configuration.
795
+ *
796
+ * @schema cov-translate-configuration#scan-transparency
797
+ */
798
+ readonly scanTransparency?: boolean;
799
+ }
800
+ /**
801
+ * Converts an object of type 'CovTranslateConfiguration' to JSON representation.
802
+ * @internal
803
+ */
804
+ export declare function toJson_CovTranslateConfiguration(obj: CovTranslateConfiguration | undefined): Record<string, any> | undefined;
805
+ /**
806
+ * @schema files-configuration
807
+ */
808
+ export interface FilesConfiguration {
809
+ /**
810
+ * Specifies whether to enable capture of minified JavaScript files.
811
+ *
812
+ * @schema files-configuration#emit-minified-js
813
+ */
814
+ readonly emitMinifiedJs?: boolean;
815
+ /**
816
+ * Glob pattern that specifies the set of source files to exclude from capture. Note that any include glob patterns and regular expressions are processed prior to handling exclude glob patterns and regular expressions.
817
+ *
818
+ * @schema files-configuration#exclude-glob
819
+ */
820
+ readonly excludeGlob?: string;
821
+ /**
822
+ * Regular expression that specifies the set of source files to exclude from capture. Note that any include glob patterns and regular expressions are processed prior to handling exclude glob patterns and regular expressions.
823
+ *
824
+ * @schema files-configuration#exclude-regex
825
+ */
826
+ readonly excludeRegex?: string;
827
+ /**
828
+ * List of directory basenames to include for capture, which would normally have been excluded. By default, directories named "vendor" or "node_modules" are excluded, as are directories whose names begin with "."
829
+ *
830
+ * @schema files-configuration#include-dirs
831
+ */
832
+ readonly includeDirs?: string[];
833
+ /**
834
+ * Glob pattern that specifies the set of source files to capture.
835
+ *
836
+ * @schema files-configuration#include-glob
837
+ */
838
+ readonly includeGlob?: string;
839
+ /**
840
+ * File containing the paths of source files to capture, one per line. Include and exclude glob patterns and regular expressions are applied to determine which of these files are actually captured.
841
+ *
842
+ * @schema files-configuration#include-list-file
843
+ */
844
+ readonly includeListFile?: string;
845
+ /**
846
+ * Regular expression that specifies the set of source files to capture.
847
+ *
848
+ * @schema files-configuration#include-regex
849
+ */
850
+ readonly includeRegex?: string;
851
+ /**
852
+ * Specifies the Java version to use when parsing and emitting Java source files with buildless capture.
853
+ *
854
+ * @schema files-configuration#java-version
855
+ */
856
+ readonly javaVersion?: string;
857
+ /**
858
+ * List of directories to look in for dependencies to use during capture.
859
+ *
860
+ * @schema files-configuration#library-dirs
861
+ */
862
+ readonly libraryDirs?: string[];
863
+ /**
864
+ * List of file dependencies to use during capture.
865
+ *
866
+ * @schema files-configuration#library-files
867
+ */
868
+ readonly libraryFiles?: string[];
869
+ /**
870
+ * Specifies information about which web-application archives should be captured. By default all webapp archives are captured.
871
+ *
872
+ * @schema files-configuration#webapp-archives
873
+ */
874
+ readonly webappArchives?: WebappArchiveConfiguration[];
875
+ }
876
+ /**
877
+ * Converts an object of type 'FilesConfiguration' to JSON representation.
878
+ * @internal
879
+ */
880
+ export declare function toJson_FilesConfiguration(obj: FilesConfiguration | undefined): Record<string, any> | undefined;
881
+ /**
882
+ * @schema languages-configuration
883
+ */
884
+ export interface LanguagesConfiguration {
885
+ /**
886
+ * Specifies the languages for which the source code should be excluded in the capture. This key is mutually exclusive with the "include" key.
887
+ *
888
+ * @schema languages-configuration#exclude
889
+ */
890
+ readonly exclude?: LanguagesConfigurationExclude[];
891
+ /**
892
+ * Specifies the languages for which the source code should be included in the capture. This key is mutually exclusive with the "exclude" key.
893
+ *
894
+ * @schema languages-configuration#include
895
+ */
896
+ readonly include?: LanguagesConfigurationInclude[];
897
+ }
898
+ /**
899
+ * Converts an object of type 'LanguagesConfiguration' to JSON representation.
900
+ * @internal
901
+ */
902
+ export declare function toJson_LanguagesConfiguration(obj: LanguagesConfiguration | undefined): Record<string, any> | undefined;
903
+ /**
904
+ * @schema import-scm-configuration
905
+ */
906
+ export interface ImportScmConfiguration {
907
+ /**
908
+ * Additional arguments to pass to cov-import-scm following capture.
909
+ *
910
+ * @schema import-scm-configuration#cov-import-scm-args
911
+ */
912
+ readonly covImportScmArgs?: string[];
913
+ /**
914
+ * Regular expression that specifies the set of files for which to import change information.
915
+ *
916
+ * @schema import-scm-configuration#filename-regex
917
+ */
918
+ readonly filenameRegex?: string;
919
+ /**
920
+ * Delay in milliseconds between calls to the underlying SCM.
921
+ *
922
+ * @schema import-scm-configuration#ms-delay
923
+ */
924
+ readonly msDelay?: number;
925
+ /**
926
+ * The name of the source control management system.
927
+ *
928
+ * @schema import-scm-configuration#scm
929
+ */
930
+ readonly scm?: string;
931
+ }
932
+ /**
933
+ * Converts an object of type 'ImportScmConfiguration' to JSON representation.
934
+ * @internal
935
+ */
936
+ export declare function toJson_ImportScmConfiguration(obj: ImportScmConfiguration | undefined): Record<string, any> | undefined;
937
+ /**
938
+ * Specifies that build capture should be used to capture the project and provides the build configuration to use. If not specified and the project directory contains compiled source files then automatic build capture will be used to capture compiled source files in the project directory.
939
+ *
940
+ * @schema build-configuration
941
+ */
942
+ export interface BuildConfiguration {
943
+ /**
944
+ * Specifies whether to enable or disable the automatic invocation of Aspnet_compiler.exe for any ASP.NET 4 and earlier Web applications that are detected in the build. The output of Aspnet_compiler.exe is required by the C# and Visual Basic security checkers.
945
+ *
946
+ * @schema build-configuration#aspnet-compiler
947
+ */
948
+ readonly aspnetCompiler?: boolean;
949
+ /**
950
+ * Specifies whether to enable Bazel capture.
951
+ *
952
+ * @schema build-configuration#bazel
953
+ */
954
+ readonly bazel?: boolean;
955
+ /**
956
+ * The build command will be invoked to use build capture to capture the project. A build command specified on the command-line will override this setting.
957
+ *
958
+ * @schema build-configuration#build-command
959
+ */
960
+ readonly buildCommand: string;
961
+ /**
962
+ * The clean command will be invoked prior to doing build capture to capture the project.
963
+ *
964
+ * @schema build-configuration#clean-command
965
+ */
966
+ readonly cleanCommand?: string;
967
+ /**
968
+ * Additional arguments to pass to cov-build when doing build capture.
969
+ *
970
+ * @schema build-configuration#cov-build-args
971
+ */
972
+ readonly covBuildArgs?: string[];
973
+ /**
974
+ * Specifies whether the build should only record the decompilations of byte code during the build and not attempt to decompile and emit the byte code. During the analysis phase, cov-build will be rerun with --replay-decomp to decompile and emit the byte code.
975
+ *
976
+ * @schema build-configuration#defer-decomp
977
+ */
978
+ readonly deferDecomp?: boolean;
979
+ /**
980
+ * Specifies whether to use the instrumentation mode instead of the debugger. For certain builds, this configuration can significantly improve build times. This setting is applicable only on Windows.
981
+ *
982
+ * @schema build-configuration#instrument
983
+ */
984
+ readonly instrument?: boolean;
985
+ /**
986
+ * Specifies how to parallelize translation of C and C++ code.
987
+ *
988
+ * @schema build-configuration#parallel-translate
989
+ */
990
+ readonly parallelTranslate?: ParallelTranslateConfiguration;
991
+ /**
992
+ * Specifies whether to enable the collection of scan transparency data for build capture. This setting must be enabled if the Coverity Connect instance has 'scan.transparency.enabled=true' in its configuration.
993
+ *
994
+ * @schema build-configuration#scan-transparency
995
+ */
996
+ readonly scanTransparency?: boolean;
997
+ }
998
+ /**
999
+ * Converts an object of type 'BuildConfiguration' to JSON representation.
1000
+ * @internal
1001
+ */
1002
+ export declare function toJson_BuildConfiguration(obj: BuildConfiguration | undefined): Record<string, any> | undefined;
1003
+ /**
1004
+ * Coverity Connect configuration to use when committing defects to Coverity Connect.
1005
+ *
1006
+ * @schema CommitConfigurationConnect
1007
+ */
1008
+ export interface CommitConfigurationConnect {
1009
+ /**
1010
+ * The authentication key file to use when authenticating to Coverity Connect to commit defects. By default, the file located at $HOME/.coverity/ak-<hostname>-<port> is used.
1011
+ *
1012
+ * @schema CommitConfigurationConnect#auth-key-file
1013
+ */
1014
+ readonly authKeyFile?: string;
1015
+ /**
1016
+ * File containing additional certificates to trust in addition to the ones in the system certificate store and the Coverity TFT store. By default system CA certificates are used.
1017
+ *
1018
+ * @schema CommitConfigurationConnect#ca-certs-file
1019
+ */
1020
+ readonly caCertsFile?: string;
1021
+ /**
1022
+ * If true, analysis results will not be committed to Coverity Connect. Instead, results compared to a reference snapshot may be saved locally as specified by the "commit.local" settings.
1023
+ *
1024
+ * @schema CommitConfigurationConnect#comparison-only
1025
+ */
1026
+ readonly comparisonOnly?: boolean;
1027
+ /**
1028
+ * Output file to which analysis results should be written instead of being committed to Coverity Connect. The output includes a comparison against the latest snapshot for the specified stream.
1029
+ *
1030
+ * @schema CommitConfigurationConnect#comparison-report
1031
+ */
1032
+ readonly comparisonReport?: string;
1033
+ /**
1034
+ * Additional arguments to pass to "cov-commit-defects" during the commit phase.
1035
+ *
1036
+ * @schema CommitConfigurationConnect#cov-commit-defects-args
1037
+ */
1038
+ readonly covCommitDefectsArgs?: string[];
1039
+ /**
1040
+ * A description for the committed snapshot.
1041
+ *
1042
+ * @schema CommitConfigurationConnect#description
1043
+ */
1044
+ readonly description?: string;
1045
+ /**
1046
+ * Indicates whether to trust self-signed certificates presented by Coverity Connect that are not currently trusted.
1047
+ *
1048
+ * @schema CommitConfigurationConnect#on-new-cert
1049
+ */
1050
+ readonly onNewCert?: CommitConfigurationConnectOnNewCert;
1051
+ /**
1052
+ * The name of the project to use when creating a new stream. Ignored when stream creation is not needed. By default the stream name is used.
1053
+ *
1054
+ * @schema CommitConfigurationConnect#project
1055
+ */
1056
+ readonly project?: string;
1057
+ /**
1058
+ * File containing the client certificate in PEM format, that should be presented to the proxy when making a request.
1059
+ *
1060
+ * @schema CommitConfigurationConnect#proxy-client-cert-file
1061
+ */
1062
+ readonly proxyClientCertFile?: string;
1063
+ /**
1064
+ * File containing the client certificate private key in PEM format, for the proxy-client-cert-file.
1065
+ *
1066
+ * @schema CommitConfigurationConnect#proxy-client-key-file
1067
+ */
1068
+ readonly proxyClientKeyFile?: string;
1069
+ /**
1070
+ * URL for a forward proxy to use when communicating with Coverity Connect. Must be an https URL.
1071
+ *
1072
+ * @schema CommitConfigurationConnect#proxy-url
1073
+ */
1074
+ readonly proxyUrl?: string;
1075
+ /**
1076
+ * The name of the source control management system.
1077
+ *
1078
+ * @schema CommitConfigurationConnect#scm
1079
+ */
1080
+ readonly scm?: CommitConfigurationConnectScm;
1081
+ /**
1082
+ * Specifies how to select a reference snapshot to use for a comparison report.
1083
+ *
1084
+ * @schema CommitConfigurationConnect#snapshot
1085
+ */
1086
+ readonly snapshot?: SnapshotConfiguration;
1087
+ /**
1088
+ * The name of the stream to commit the results to.
1089
+ *
1090
+ * @schema CommitConfigurationConnect#stream
1091
+ */
1092
+ readonly stream: string;
1093
+ /**
1094
+ * Specifies how new defects should be handled.
1095
+ *
1096
+ * @schema CommitConfigurationConnect#triage
1097
+ */
1098
+ readonly triage?: CommitConfigurationConnectTriage;
1099
+ /**
1100
+ * Artifacts to upload following analysis when the analysis location is Connect.
1101
+ *
1102
+ * @schema CommitConfigurationConnect#upload-artifacts
1103
+ */
1104
+ readonly uploadArtifacts?: CommitConfigurationConnectUploadArtifacts;
1105
+ /**
1106
+ * Absolute URL of where to commit the Coverity Connect results.
1107
+ *
1108
+ * @schema CommitConfigurationConnect#url
1109
+ */
1110
+ readonly url: string;
1111
+ /**
1112
+ * A project version for the committed snapshot.
1113
+ *
1114
+ * @schema CommitConfigurationConnect#version
1115
+ */
1116
+ readonly version?: string;
1117
+ }
1118
+ /**
1119
+ * Converts an object of type 'CommitConfigurationConnect' to JSON representation.
1120
+ * @internal
1121
+ */
1122
+ export declare function toJson_CommitConfigurationConnect(obj: CommitConfigurationConnect | undefined): Record<string, any> | undefined;
1123
+ /**
1124
+ * Software Risk Manager configuration to use when storing defects in Software Risk Manager.
1125
+ *
1126
+ * @schema CommitConfigurationSrm
1127
+ */
1128
+ export interface CommitConfigurationSrm {
1129
+ /**
1130
+ * The name of the branch to associate the analysis results with in Software Risk Manager.
1131
+ *
1132
+ * @schema CommitConfigurationSrm#branch
1133
+ */
1134
+ readonly branch?: string;
1135
+ /**
1136
+ * The name of the parent branch of the actual branch.
1137
+ *
1138
+ * @schema CommitConfigurationSrm#parent-branch
1139
+ */
1140
+ readonly parentBranch?: string;
1141
+ /**
1142
+ * The name of the project to associate the analysis results with in Software Risk Manager.
1143
+ *
1144
+ * @schema CommitConfigurationSrm#project-name
1145
+ */
1146
+ readonly projectName?: string;
1147
+ /**
1148
+ * The ID of the project to associate the analysis results with in Software Risk Manager.
1149
+ *
1150
+ * @schema CommitConfigurationSrm#project-id
1151
+ */
1152
+ readonly projectId?: number;
1153
+ /**
1154
+ * The name of the file to read the Software Risk Manager API key from. By default, the file located at $HOME/.bridge/srm-token.txt is used.
1155
+ *
1156
+ * @schema CommitConfigurationSrm#token-file
1157
+ */
1158
+ readonly tokenFile?: string;
1159
+ /**
1160
+ * The URL of the Software Risk Manager to use for the analysis (if doing a remote analysis) and the analysis results.
1161
+ *
1162
+ * @schema CommitConfigurationSrm#url
1163
+ */
1164
+ readonly url: string;
1165
+ }
1166
+ /**
1167
+ * Converts an object of type 'CommitConfigurationSrm' to JSON representation.
1168
+ * @internal
1169
+ */
1170
+ export declare function toJson_CommitConfigurationSrm(obj: CommitConfigurationSrm | undefined): Record<string, any> | undefined;
1171
+ /**
1172
+ * Local configuration to use when saving defects to the local file system.
1173
+ *
1174
+ * @schema CommitConfigurationLocal
1175
+ */
1176
+ export interface CommitConfigurationLocal {
1177
+ /**
1178
+ * Directory (for "html" format) or file (for "json" format) in which to save defects.
1179
+ *
1180
+ * @schema CommitConfigurationLocal#path
1181
+ */
1182
+ readonly path: string;
1183
+ /**
1184
+ * Format in which to save defects. Either "html" or "json".
1185
+ *
1186
+ * @schema CommitConfigurationLocal#format
1187
+ */
1188
+ readonly format?: CommitConfigurationLocalFormat;
1189
+ }
1190
+ /**
1191
+ * Converts an object of type 'CommitConfigurationLocal' to JSON representation.
1192
+ * @internal
1193
+ */
1194
+ export declare function toJson_CommitConfigurationLocal(obj: CommitConfigurationLocal | undefined): Record<string, any> | undefined;
1195
+ /**
1196
+ * Specifies how web application security analysis should be done.
1197
+ *
1198
+ * @schema CheckerConfigurationWebappSecurity
1199
+ */
1200
+ export interface CheckerConfigurationWebappSecurity {
1201
+ /**
1202
+ * Sets the web application checkers aggressiveness level.
1203
+ *
1204
+ * @schema CheckerConfigurationWebappSecurity#aggressiveness-level
1205
+ */
1206
+ readonly aggressivenessLevel?: CheckerConfigurationWebappSecurityAggressivenessLevel;
1207
+ /**
1208
+ * Enables the checkers that are used for web application security analysis.
1209
+ *
1210
+ * @schema CheckerConfigurationWebappSecurity#enabled
1211
+ */
1212
+ readonly enabled?: boolean;
1213
+ }
1214
+ /**
1215
+ * Converts an object of type 'CheckerConfigurationWebappSecurity' to JSON representation.
1216
+ * @internal
1217
+ */
1218
+ export declare function toJson_CheckerConfigurationWebappSecurity(obj: CheckerConfigurationWebappSecurity | undefined): Record<string, any> | undefined;
1219
+ /**
1220
+ * @schema specific-coding-standard-configuration
1221
+ */
1222
+ export interface SpecificCodingStandardConfiguration {
1223
+ /**
1224
+ * This key specifies the coding standard configuration for the given coding standard. The actual type of this key is specific to the particular coding standard. This key is mutually exclusive with the "file" key. A temporary configuration file will be generated containing the in-line configuration and then passed to "cov-analyze" using the "--coding-standard-config <config_file>" option.
1225
+ *
1226
+ * @schema specific-coding-standard-configuration#config
1227
+ */
1228
+ readonly config?: ResolvedCodingStandardConfiguration;
1229
+ /**
1230
+ * This specifies the filename containing the configuration to use for the corresponding coding standard. This key is mutually exclusive with the "config" key.
1231
+ *
1232
+ * @schema specific-coding-standard-configuration#file
1233
+ */
1234
+ readonly file?: string;
1235
+ /**
1236
+ * This key specifies the name of a "pre-canned" coding standard configuration to use. The available pre-canned coding standard configurations depend on the coding standard in question. Refer to Coverity's documentation for details on the "pre-canned" configurations.
1237
+ *
1238
+ * @schema specific-coding-standard-configuration#pre-canned
1239
+ */
1240
+ readonly preCanned?: string;
1241
+ }
1242
+ /**
1243
+ * Converts an object of type 'SpecificCodingStandardConfiguration' to JSON representation.
1244
+ * @internal
1245
+ */
1246
+ export declare function toJson_SpecificCodingStandardConfiguration(obj: SpecificCodingStandardConfiguration | undefined): Record<string, any> | undefined;
1247
+ /**
1248
+ * Artifacts to upload following analysis when the analysis location is Connect.
1249
+ *
1250
+ * @schema AnalyzeConnectConfigurationUploadArtifacts
1251
+ */
1252
+ export declare enum AnalyzeConnectConfigurationUploadArtifacts {
1253
+ /** All */
1254
+ ALL = "All",
1255
+ /** LogsOnly */
1256
+ LOGS_ONLY = "LogsOnly",
1257
+ /** None */
1258
+ NONE = "None",
1259
+ /** OnFailure */
1260
+ ON_FAILURE = "OnFailure"
1261
+ }
1262
+ /**
1263
+ * Security directives configuration to use during the analysis. This key is mutually exclusive with the "file" key and is specified in the case where the user wants to in-line the security directives configuration in the file.
1264
+ *
1265
+ * @schema DirectivesConfigurationConfig
1266
+ */
1267
+ export interface DirectivesConfigurationConfig {
1268
+ /**
1269
+ * Specify a particular analysis behavior.
1270
+ *
1271
+ * @schema DirectivesConfigurationConfig#directives
1272
+ */
1273
+ readonly directives: any[];
1274
+ /**
1275
+ * Version of the directives format.
1276
+ *
1277
+ * @schema DirectivesConfigurationConfig#format_version
1278
+ */
1279
+ readonly formatVersion?: number;
1280
+ /**
1281
+ * Language or language family to which directives apply.
1282
+ *
1283
+ * @schema DirectivesConfigurationConfig#language
1284
+ */
1285
+ readonly language: string;
1286
+ /**
1287
+ * Must be the string "Coverity analysis configuration".
1288
+ *
1289
+ * @schema DirectivesConfigurationConfig#type
1290
+ */
1291
+ readonly type?: DirectivesConfigurationConfigType;
1292
+ }
1293
+ /**
1294
+ * Converts an object of type 'DirectivesConfigurationConfig' to JSON representation.
1295
+ * @internal
1296
+ */
1297
+ export declare function toJson_DirectivesConfigurationConfig(obj: DirectivesConfigurationConfig | undefined): Record<string, any> | undefined;
1298
+ /**
1299
+ * @schema SigmaConfigurationEnableCheckSet
1300
+ */
1301
+ export declare enum SigmaConfigurationEnableCheckSet {
1302
+ /** all */
1303
+ ALL = "all",
1304
+ /** cis */
1305
+ CIS = "cis",
1306
+ /** default */
1307
+ DEFAULT = "default",
1308
+ /** empty */
1309
+ EMPTY = "empty"
1310
+ }
1311
+ /**
1312
+ * @schema parallel-translate-configuration
1313
+ */
1314
+ export interface ParallelTranslateConfiguration {
1315
+ /**
1316
+ * Specifies whether cov-translate parallelization should be enabled.
1317
+ *
1318
+ * @schema parallel-translate-configuration#enabled
1319
+ */
1320
+ readonly enabled?: boolean;
1321
+ /**
1322
+ * Specifies the number of cov-emit processes to be run in parallel by cov-translate when multiple files are seen on a single native compiler invocation. A value of 0 will use the number of logical processors in the machine.
1323
+ *
1324
+ * @schema parallel-translate-configuration#processes
1325
+ */
1326
+ readonly processes?: number;
1327
+ }
1328
+ /**
1329
+ * Converts an object of type 'ParallelTranslateConfiguration' to JSON representation.
1330
+ * @internal
1331
+ */
1332
+ export declare function toJson_ParallelTranslateConfiguration(obj: ParallelTranslateConfiguration | undefined): Record<string, any> | undefined;
1333
+ /**
1334
+ * @schema webapp-archive-configuration
1335
+ */
1336
+ export interface WebappArchiveConfiguration {
1337
+ /**
1338
+ * Specifies the path to the web application archive file or path to the directory containing the exploded web application.
1339
+ *
1340
+ * @schema webapp-archive-configuration#path
1341
+ */
1342
+ readonly path?: string;
1343
+ /**
1344
+ * Indicates whether the web-app should be checked to see if it is valid during capture. The validation check checks that there is a "/WEB-INF/web.xml" file and that > 20% of classes for the web application were captured.
1345
+ *
1346
+ * @schema webapp-archive-configuration#validate-webapp
1347
+ */
1348
+ readonly validateWebapp?: boolean;
1349
+ }
1350
+ /**
1351
+ * Converts an object of type 'WebappArchiveConfiguration' to JSON representation.
1352
+ * @internal
1353
+ */
1354
+ export declare function toJson_WebappArchiveConfiguration(obj: WebappArchiveConfiguration | undefined): Record<string, any> | undefined;
1355
+ /**
1356
+ * @schema LanguagesConfigurationExclude
1357
+ */
1358
+ export declare enum LanguagesConfigurationExclude {
1359
+ /** apex */
1360
+ APEX = "apex",
1361
+ /** c-family */
1362
+ C_HYPHEN_FAMILY = "c-family",
1363
+ /** csharp */
1364
+ CSHARP = "csharp",
1365
+ /** dart */
1366
+ DART = "dart",
1367
+ /** go */
1368
+ GO = "go",
1369
+ /** java */
1370
+ JAVA = "java",
1371
+ /** javascript */
1372
+ JAVASCRIPT = "javascript",
1373
+ /** kotlin */
1374
+ KOTLIN = "kotlin",
1375
+ /** php */
1376
+ PHP = "php",
1377
+ /** python */
1378
+ PYTHON = "python",
1379
+ /** ruby */
1380
+ RUBY = "ruby",
1381
+ /** swift */
1382
+ SWIFT = "swift",
1383
+ /** vb */
1384
+ VB = "vb",
1385
+ /** configuration */
1386
+ CONFIGURATION = "configuration"
1387
+ }
1388
+ /**
1389
+ * @schema LanguagesConfigurationInclude
1390
+ */
1391
+ export declare enum LanguagesConfigurationInclude {
1392
+ /** apex */
1393
+ APEX = "apex",
1394
+ /** c-family */
1395
+ C_HYPHEN_FAMILY = "c-family",
1396
+ /** csharp */
1397
+ CSHARP = "csharp",
1398
+ /** dart */
1399
+ DART = "dart",
1400
+ /** go */
1401
+ GO = "go",
1402
+ /** java */
1403
+ JAVA = "java",
1404
+ /** javascript */
1405
+ JAVASCRIPT = "javascript",
1406
+ /** kotlin */
1407
+ KOTLIN = "kotlin",
1408
+ /** php */
1409
+ PHP = "php",
1410
+ /** python */
1411
+ PYTHON = "python",
1412
+ /** ruby */
1413
+ RUBY = "ruby",
1414
+ /** swift */
1415
+ SWIFT = "swift",
1416
+ /** vb */
1417
+ VB = "vb",
1418
+ /** configuration */
1419
+ CONFIGURATION = "configuration"
1420
+ }
1421
+ /**
1422
+ * Indicates whether to trust self-signed certificates presented by Coverity Connect that are not currently trusted.
1423
+ *
1424
+ * @schema CommitConfigurationConnectOnNewCert
1425
+ */
1426
+ export declare enum CommitConfigurationConnectOnNewCert {
1427
+ /** trust */
1428
+ TRUST = "trust",
1429
+ /** distrust */
1430
+ DISTRUST = "distrust"
1431
+ }
1432
+ /**
1433
+ * The name of the source control management system.
1434
+ *
1435
+ * @schema CommitConfigurationConnectScm
1436
+ */
1437
+ export declare enum CommitConfigurationConnectScm {
1438
+ /** ads */
1439
+ ADS = "ads",
1440
+ /** clearcase */
1441
+ CLEARCASE = "clearcase",
1442
+ /** cvs */
1443
+ CVS = "cvs",
1444
+ /** git */
1445
+ GIT = "git",
1446
+ /** hg */
1447
+ HG = "hg",
1448
+ /** perforce */
1449
+ PERFORCE = "perforce",
1450
+ /** plastic */
1451
+ PLASTIC = "plastic",
1452
+ /** plastic-distributed */
1453
+ PLASTIC_HYPHEN_DISTRIBUTED = "plastic-distributed",
1454
+ /** svn */
1455
+ SVN = "svn",
1456
+ /** tfs */
1457
+ TFS = "tfs"
1458
+ }
1459
+ /**
1460
+ * @schema snapshot-configuration
1461
+ */
1462
+ export interface SnapshotConfiguration {
1463
+ /**
1464
+ * Date and time of snapshot to use for comparison report. The value should be of the form "YYYY-MM-DDThh:mm:ss" where date and time are separated by a "T", optionally followed by a time zone specification consisting of either "Z" denoting UTC or a "+" or "-" character followed by colon-separated hours and minutes east of UTC. Example: "2023-12-27T13:21:05-08:00". If no time zone is specified, the local time zone is assumed. This key is mutually exclusive with the "id" and "reference" keys.
1465
+ *
1466
+ * @schema snapshot-configuration#date
1467
+ */
1468
+ readonly date?: string;
1469
+ /**
1470
+ * ID of snapshot to use for comparison report. This key is mutually exclusive with the "date" and "reference" keys.
1471
+ *
1472
+ * @schema snapshot-configuration#id
1473
+ */
1474
+ readonly id?: number;
1475
+ /**
1476
+ * One of "idir", "latest", or "scm". "idir" will use the snapshot created closest to, but not after, the creation date of the intermediate directory. "latest" will use the snapshot with the latest code-version date in the specified stream. "scm" will query the SCM to determine the version that was most recently checked out or updated, and then use the closest snapshot. This key is mutually exclusive with the "date" and "id" keys.
1477
+ *
1478
+ * @schema snapshot-configuration#reference
1479
+ */
1480
+ readonly reference?: any;
1481
+ }
1482
+ /**
1483
+ * Converts an object of type 'SnapshotConfiguration' to JSON representation.
1484
+ * @internal
1485
+ */
1486
+ export declare function toJson_SnapshotConfiguration(obj: SnapshotConfiguration | undefined): Record<string, any> | undefined;
1487
+ /**
1488
+ * Specifies how new defects should be handled.
1489
+ *
1490
+ * @schema CommitConfigurationConnectTriage
1491
+ */
1492
+ export interface CommitConfigurationConnectTriage {
1493
+ /**
1494
+ * User to whom any new defects will be assigned. The specified user must already exist in the Coverity Connect database. The default is the current user.
1495
+ *
1496
+ * @schema CommitConfigurationConnectTriage#new-defect-owner
1497
+ */
1498
+ readonly newDefectOwner?: string;
1499
+ /**
1500
+ * Limit on the number of defects to assign to the specified user. If the number of discovered defects is more than the limit, then no assignment is done.
1501
+ *
1502
+ * @schema CommitConfigurationConnectTriage#new-defect-owner-limit
1503
+ */
1504
+ readonly newDefectOwnerLimit?: number;
1505
+ /**
1506
+ * If true, the owner for newly detected defects that exist locally is set to the specified user.
1507
+ *
1508
+ * @schema CommitConfigurationConnectTriage#set-new-defect-owner
1509
+ */
1510
+ readonly setNewDefectOwner?: boolean;
1511
+ }
1512
+ /**
1513
+ * Converts an object of type 'CommitConfigurationConnectTriage' to JSON representation.
1514
+ * @internal
1515
+ */
1516
+ export declare function toJson_CommitConfigurationConnectTriage(obj: CommitConfigurationConnectTriage | undefined): Record<string, any> | undefined;
1517
+ /**
1518
+ * Artifacts to upload following analysis when the analysis location is Connect.
1519
+ *
1520
+ * @schema CommitConfigurationConnectUploadArtifacts
1521
+ */
1522
+ export declare enum CommitConfigurationConnectUploadArtifacts {
1523
+ /** All */
1524
+ ALL = "All",
1525
+ /** LogsOnly */
1526
+ LOGS_ONLY = "LogsOnly",
1527
+ /** None */
1528
+ NONE = "None",
1529
+ /** OnFailure */
1530
+ ON_FAILURE = "OnFailure"
1531
+ }
1532
+ /**
1533
+ * Format in which to save defects. Either "html" or "json".
1534
+ *
1535
+ * @schema CommitConfigurationLocalFormat
1536
+ */
1537
+ export declare enum CommitConfigurationLocalFormat {
1538
+ /** html */
1539
+ HTML = "html",
1540
+ /** json */
1541
+ JSON = "json"
1542
+ }
1543
+ /**
1544
+ * Sets the web application checkers aggressiveness level.
1545
+ *
1546
+ * @schema CheckerConfigurationWebappSecurityAggressivenessLevel
1547
+ */
1548
+ export declare enum CheckerConfigurationWebappSecurityAggressivenessLevel {
1549
+ /** low */
1550
+ LOW = "low",
1551
+ /** medium */
1552
+ MEDIUM = "medium",
1553
+ /** high */
1554
+ HIGH = "high"
1555
+ }
1556
+ /**
1557
+ * @schema resolved-coding-standard-configuration
1558
+ */
1559
+ export interface ResolvedCodingStandardConfiguration {
1560
+ /**
1561
+ * List of deviations for this standard.
1562
+ *
1563
+ * @schema resolved-coding-standard-configuration#deviations
1564
+ */
1565
+ readonly deviations?: CodingStandardDeviation[];
1566
+ /**
1567
+ * Name of this code compliance configuration.
1568
+ *
1569
+ * @schema resolved-coding-standard-configuration#title
1570
+ */
1571
+ readonly title: string;
1572
+ /**
1573
+ * Version of this code compliance configuration.
1574
+ *
1575
+ * @schema resolved-coding-standard-configuration#version
1576
+ */
1577
+ readonly version?: string;
1578
+ }
1579
+ /**
1580
+ * Converts an object of type 'ResolvedCodingStandardConfiguration' to JSON representation.
1581
+ * @internal
1582
+ */
1583
+ export declare function toJson_ResolvedCodingStandardConfiguration(obj: ResolvedCodingStandardConfiguration | undefined): Record<string, any> | undefined;
1584
+ /**
1585
+ * Must be the string "Coverity analysis configuration".
1586
+ *
1587
+ * @schema DirectivesConfigurationConfigType
1588
+ */
1589
+ export declare enum DirectivesConfigurationConfigType {
1590
+ /** Coverity analysis configuration */
1591
+ COVERITY_ANALYSIS_CONFIGURATION = "Coverity analysis configuration"
1592
+ }
1593
+ /**
1594
+ * @schema coding-standard-deviation
1595
+ */
1596
+ export interface CodingStandardDeviation {
1597
+ /**
1598
+ * The name of the rule to deviate from.
1599
+ *
1600
+ * @schema coding-standard-deviation#deviation
1601
+ */
1602
+ readonly deviation: string;
1603
+ /**
1604
+ * The reason that the rule is being deviated from.
1605
+ *
1606
+ * @schema coding-standard-deviation#reason
1607
+ */
1608
+ readonly reason: string;
1609
+ }
1610
+ /**
1611
+ * Converts an object of type 'CodingStandardDeviation' to JSON representation.
1612
+ * @internal
1613
+ */
1614
+ export declare function toJson_CodingStandardDeviation(obj: CodingStandardDeviation | undefined): Record<string, any> | undefined;