@pulumi/oci 3.5.0-alpha.1756363728 → 3.5.0

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 (320) hide show
  1. package/core/computeGpuMemoryFabric.d.ts +8 -0
  2. package/core/computeGpuMemoryFabric.js +2 -0
  3. package/core/computeGpuMemoryFabric.js.map +1 -1
  4. package/core/getComputeGpuMemoryFabric.d.ts +4 -0
  5. package/core/getComputeGpuMemoryFabric.js.map +1 -1
  6. package/database/dataGuardAssociation.d.ts +26 -0
  7. package/database/dataGuardAssociation.js +6 -0
  8. package/database/dataGuardAssociation.js.map +1 -1
  9. package/database/database.d.ts +8 -0
  10. package/database/database.js +2 -0
  11. package/database/database.js.map +1 -1
  12. package/database/dbNode.d.ts +16 -0
  13. package/database/dbNode.js +4 -0
  14. package/database/dbNode.js.map +1 -1
  15. package/database/dbSystem.d.ts +30 -6
  16. package/database/dbSystem.js +4 -0
  17. package/database/dbSystem.js.map +1 -1
  18. package/database/exadbVmCluster.d.ts +13 -0
  19. package/database/exadbVmCluster.js +3 -0
  20. package/database/exadbVmCluster.js.map +1 -1
  21. package/database/exascaleDbStorageVault.d.ts +8 -0
  22. package/database/exascaleDbStorageVault.js +2 -0
  23. package/database/exascaleDbStorageVault.js.map +1 -1
  24. package/database/getDataGuardAssociation.d.ts +2 -0
  25. package/database/getDataGuardAssociation.js.map +1 -1
  26. package/database/getDatabase.d.ts +4 -0
  27. package/database/getDatabase.js.map +1 -1
  28. package/database/getDbNode.d.ts +8 -0
  29. package/database/getDbNode.js.map +1 -1
  30. package/database/getDbSystemShapes.d.ts +11 -0
  31. package/database/getDbSystemShapes.js +4 -0
  32. package/database/getDbSystemShapes.js.map +1 -1
  33. package/database/getDbSystemStoragePerformances.d.ts +9 -0
  34. package/database/getDbSystemStoragePerformances.js +2 -0
  35. package/database/getDbSystemStoragePerformances.js.map +1 -1
  36. package/database/getDbVersions.d.ts +11 -0
  37. package/database/getDbVersions.js +4 -0
  38. package/database/getDbVersions.js.map +1 -1
  39. package/database/getExadbVmCluster.d.ts +4 -0
  40. package/database/getExadbVmCluster.js.map +1 -1
  41. package/database/getExascaleDbStorageVault.d.ts +4 -0
  42. package/database/getExascaleDbStorageVault.js.map +1 -1
  43. package/database/getExascaleDbStorageVaults.d.ts +47 -0
  44. package/database/getExascaleDbStorageVaults.js +16 -0
  45. package/database/getExascaleDbStorageVaults.js.map +1 -1
  46. package/database/getGiVersions.d.ts +11 -0
  47. package/database/getGiVersions.js +4 -0
  48. package/database/getGiVersions.js.map +1 -1
  49. package/datasafe/attributeSet.d.ts +230 -0
  50. package/datasafe/attributeSet.js +119 -0
  51. package/datasafe/attributeSet.js.map +1 -0
  52. package/datasafe/auditProfile.d.ts +108 -29
  53. package/datasafe/auditProfile.js +50 -9
  54. package/datasafe/auditProfile.js.map +1 -1
  55. package/datasafe/auditProfileManagement.d.ts +129 -49
  56. package/datasafe/auditProfileManagement.js +39 -9
  57. package/datasafe/auditProfileManagement.js.map +1 -1
  58. package/datasafe/auditTrail.d.ts +12 -0
  59. package/datasafe/auditTrail.js +2 -0
  60. package/datasafe/auditTrail.js.map +1 -1
  61. package/datasafe/auditTrailManagement.d.ts +13 -0
  62. package/datasafe/auditTrailManagement.js +3 -0
  63. package/datasafe/auditTrailManagement.js.map +1 -1
  64. package/datasafe/getAlerts.d.ts +2 -2
  65. package/datasafe/getAttributeSet.d.ts +121 -0
  66. package/datasafe/getAttributeSet.js +54 -0
  67. package/datasafe/getAttributeSet.js.map +1 -0
  68. package/datasafe/getAttributeSetAssociatedResources.d.ts +100 -0
  69. package/datasafe/getAttributeSetAssociatedResources.js +64 -0
  70. package/datasafe/getAttributeSetAssociatedResources.js.map +1 -0
  71. package/datasafe/getAttributeSets.d.ts +204 -0
  72. package/datasafe/getAttributeSets.js +114 -0
  73. package/datasafe/getAttributeSets.js.map +1 -0
  74. package/datasafe/getAuditArchiveRetrievals.d.ts +11 -0
  75. package/datasafe/getAuditArchiveRetrievals.js +4 -0
  76. package/datasafe/getAuditArchiveRetrievals.js.map +1 -1
  77. package/datasafe/getAuditEvents.d.ts +2 -2
  78. package/datasafe/getAuditPolicies.d.ts +11 -0
  79. package/datasafe/getAuditPolicies.js +4 -0
  80. package/datasafe/getAuditPolicies.js.map +1 -1
  81. package/datasafe/getAuditProfile.d.ts +27 -7
  82. package/datasafe/getAuditProfile.js.map +1 -1
  83. package/datasafe/getAuditProfileTargetOverrides.d.ts +83 -0
  84. package/datasafe/getAuditProfileTargetOverrides.js +60 -0
  85. package/datasafe/getAuditProfileTargetOverrides.js.map +1 -0
  86. package/datasafe/getAuditProfiles.d.ts +28 -3
  87. package/datasafe/getAuditProfiles.js +8 -0
  88. package/datasafe/getAuditProfiles.js.map +1 -1
  89. package/datasafe/getAuditTrail.d.ts +4 -0
  90. package/datasafe/getAuditTrail.js.map +1 -1
  91. package/datasafe/getAuditTrails.d.ts +11 -0
  92. package/datasafe/getAuditTrails.js +4 -0
  93. package/datasafe/getAuditTrails.js.map +1 -1
  94. package/datasafe/getDatabaseSecurityConfigs.d.ts +11 -0
  95. package/datasafe/getDatabaseSecurityConfigs.js +4 -0
  96. package/datasafe/getDatabaseSecurityConfigs.js.map +1 -1
  97. package/datasafe/getDiscoveryAnalytics.d.ts +22 -0
  98. package/datasafe/getDiscoveryAnalytics.js +8 -0
  99. package/datasafe/getDiscoveryAnalytics.js.map +1 -1
  100. package/datasafe/getMaskingAnalytics.d.ts +25 -0
  101. package/datasafe/getMaskingAnalytics.js +8 -0
  102. package/datasafe/getMaskingAnalytics.js.map +1 -1
  103. package/datasafe/getOnpremConnectors.d.ts +8 -5
  104. package/datasafe/getOnpremConnectors.js +4 -4
  105. package/datasafe/getOnpremConnectors.js.map +1 -1
  106. package/datasafe/getReport.d.ts +12 -0
  107. package/datasafe/getReport.js.map +1 -1
  108. package/datasafe/getReports.d.ts +14 -0
  109. package/datasafe/getReports.js +4 -0
  110. package/datasafe/getReports.js.map +1 -1
  111. package/datasafe/getSecurityAssessment.d.ts +25 -1
  112. package/datasafe/getSecurityAssessment.js.map +1 -1
  113. package/datasafe/getSecurityAssessmentChecks.d.ts +144 -0
  114. package/datasafe/getSecurityAssessmentChecks.js +80 -0
  115. package/datasafe/getSecurityAssessmentChecks.js.map +1 -0
  116. package/datasafe/getSecurityAssessmentFinding.d.ts +12 -0
  117. package/datasafe/getSecurityAssessmentFinding.js +8 -0
  118. package/datasafe/getSecurityAssessmentFinding.js.map +1 -1
  119. package/datasafe/getSecurityAssessmentFindings.d.ts +29 -2
  120. package/datasafe/getSecurityAssessmentFindings.js +10 -2
  121. package/datasafe/getSecurityAssessmentFindings.js.map +1 -1
  122. package/datasafe/getSecurityAssessmentTemplateAnalytics.d.ts +218 -0
  123. package/datasafe/getSecurityAssessmentTemplateAnalytics.js +118 -0
  124. package/datasafe/getSecurityAssessmentTemplateAnalytics.js.map +1 -0
  125. package/datasafe/getSecurityAssessmentTemplateAssociationAnalytics.d.ts +178 -0
  126. package/datasafe/getSecurityAssessmentTemplateAssociationAnalytics.js +108 -0
  127. package/datasafe/getSecurityAssessmentTemplateAssociationAnalytics.js.map +1 -0
  128. package/datasafe/getSecurityAssessmentTemplateBaselineComparison.d.ts +155 -0
  129. package/datasafe/getSecurityAssessmentTemplateBaselineComparison.js +70 -0
  130. package/datasafe/getSecurityAssessmentTemplateBaselineComparison.js.map +1 -0
  131. package/datasafe/getSecurityAssessments.d.ts +43 -1
  132. package/datasafe/getSecurityAssessments.js +12 -0
  133. package/datasafe/getSecurityAssessments.js.map +1 -1
  134. package/datasafe/getSecurityPolicies.d.ts +14 -0
  135. package/datasafe/getSecurityPolicies.js +4 -0
  136. package/datasafe/getSecurityPolicies.js.map +1 -1
  137. package/datasafe/getSecurityPolicy.d.ts +4 -0
  138. package/datasafe/getSecurityPolicy.js.map +1 -1
  139. package/datasafe/getSecurityPolicyConfig.d.ts +122 -0
  140. package/datasafe/getSecurityPolicyConfig.js +54 -0
  141. package/datasafe/getSecurityPolicyConfig.js.map +1 -0
  142. package/datasafe/getSecurityPolicyConfigs.d.ts +206 -0
  143. package/datasafe/getSecurityPolicyConfigs.js +114 -0
  144. package/datasafe/getSecurityPolicyConfigs.js.map +1 -0
  145. package/datasafe/getSecurityPolicyDeployment.d.ts +11 -1
  146. package/datasafe/getSecurityPolicyDeployment.js.map +1 -1
  147. package/datasafe/getSecurityPolicyDeploymentSecurityPolicyEntryState.d.ts +15 -0
  148. package/datasafe/getSecurityPolicyDeploymentSecurityPolicyEntryState.js.map +1 -1
  149. package/datasafe/getSecurityPolicyDeploymentSecurityPolicyEntryStates.d.ts +25 -0
  150. package/datasafe/getSecurityPolicyDeploymentSecurityPolicyEntryStates.js +8 -0
  151. package/datasafe/getSecurityPolicyDeploymentSecurityPolicyEntryStates.js.map +1 -1
  152. package/datasafe/getSecurityPolicyDeployments.d.ts +15 -1
  153. package/datasafe/getSecurityPolicyDeployments.js +4 -0
  154. package/datasafe/getSecurityPolicyDeployments.js.map +1 -1
  155. package/datasafe/getSensitiveColumnAnalytics.d.ts +11 -0
  156. package/datasafe/getSensitiveColumnAnalytics.js +4 -0
  157. package/datasafe/getSensitiveColumnAnalytics.js.map +1 -1
  158. package/datasafe/getSqlCollectionAnalytics.d.ts +11 -0
  159. package/datasafe/getSqlCollectionAnalytics.js +4 -0
  160. package/datasafe/getSqlCollectionAnalytics.js.map +1 -1
  161. package/datasafe/getSqlCollections.d.ts +11 -0
  162. package/datasafe/getSqlCollections.js +4 -0
  163. package/datasafe/getSqlCollections.js.map +1 -1
  164. package/datasafe/getSqlFirewallAllowedSqlAnalytics.d.ts +2 -2
  165. package/datasafe/getSqlFirewallAllowedSqls.d.ts +2 -2
  166. package/datasafe/getSqlFirewallViolationAnalytics.d.ts +2 -2
  167. package/datasafe/getSqlFirewallViolations.d.ts +2 -2
  168. package/datasafe/getTargetAlertPolicyAssociations.d.ts +0 -38
  169. package/datasafe/getTargetAlertPolicyAssociations.js +0 -38
  170. package/datasafe/getTargetAlertPolicyAssociations.js.map +1 -1
  171. package/datasafe/getTargetDatabaseGroup.d.ts +122 -0
  172. package/datasafe/getTargetDatabaseGroup.js +54 -0
  173. package/datasafe/getTargetDatabaseGroup.js.map +1 -0
  174. package/datasafe/getTargetDatabaseGroupGroupMember.d.ts +78 -0
  175. package/datasafe/getTargetDatabaseGroupGroupMember.js +58 -0
  176. package/datasafe/getTargetDatabaseGroupGroupMember.js.map +1 -0
  177. package/datasafe/getTargetDatabaseGroups.d.ts +177 -0
  178. package/datasafe/getTargetDatabaseGroups.js +88 -0
  179. package/datasafe/getTargetDatabaseGroups.js.map +1 -0
  180. package/datasafe/getUnifiedAuditPolicies.d.ts +234 -0
  181. package/datasafe/getUnifiedAuditPolicies.js +122 -0
  182. package/datasafe/getUnifiedAuditPolicies.js.map +1 -0
  183. package/datasafe/getUnifiedAuditPolicy.d.ts +134 -0
  184. package/datasafe/getUnifiedAuditPolicy.js +54 -0
  185. package/datasafe/getUnifiedAuditPolicy.js.map +1 -0
  186. package/datasafe/getUnifiedAuditPolicyDefinition.d.ts +125 -0
  187. package/datasafe/getUnifiedAuditPolicyDefinition.js +54 -0
  188. package/datasafe/getUnifiedAuditPolicyDefinition.js.map +1 -0
  189. package/datasafe/getUnifiedAuditPolicyDefinitions.d.ts +198 -0
  190. package/datasafe/getUnifiedAuditPolicyDefinitions.js +114 -0
  191. package/datasafe/getUnifiedAuditPolicyDefinitions.js.map +1 -0
  192. package/datasafe/getUserAssessment.d.ts +8 -0
  193. package/datasafe/getUserAssessment.js.map +1 -1
  194. package/datasafe/getUserAssessments.d.ts +28 -0
  195. package/datasafe/getUserAssessments.js +8 -0
  196. package/datasafe/getUserAssessments.js.map +1 -1
  197. package/datasafe/index.d.ts +72 -0
  198. package/datasafe/index.js +94 -7
  199. package/datasafe/index.js.map +1 -1
  200. package/datasafe/report.d.ts +24 -0
  201. package/datasafe/report.js +6 -0
  202. package/datasafe/report.js.map +1 -1
  203. package/datasafe/reportDefinition.d.ts +2 -0
  204. package/datasafe/reportDefinition.js +2 -0
  205. package/datasafe/reportDefinition.js.map +1 -1
  206. package/datasafe/securityAssessment.d.ts +117 -39
  207. package/datasafe/securityAssessment.js +19 -23
  208. package/datasafe/securityAssessment.js.map +1 -1
  209. package/datasafe/securityAssessmentCheck.d.ts +151 -0
  210. package/datasafe/securityAssessmentCheck.js +98 -0
  211. package/datasafe/securityAssessmentCheck.js.map +1 -0
  212. package/datasafe/securityAssessmentFinding.d.ts +254 -0
  213. package/datasafe/securityAssessmentFinding.js +123 -0
  214. package/datasafe/securityAssessmentFinding.js.map +1 -0
  215. package/datasafe/securityPolicy.d.ts +39 -24
  216. package/datasafe/securityPolicy.js +24 -5
  217. package/datasafe/securityPolicy.js.map +1 -1
  218. package/datasafe/securityPolicyConfig.d.ts +231 -0
  219. package/datasafe/securityPolicyConfig.js +120 -0
  220. package/datasafe/securityPolicyConfig.js.map +1 -0
  221. package/datasafe/securityPolicyDeployment.d.ts +76 -14
  222. package/datasafe/securityPolicyDeployment.js +44 -7
  223. package/datasafe/securityPolicyDeployment.js.map +1 -1
  224. package/datasafe/securityPolicyDeploymentManagement.d.ts +76 -14
  225. package/datasafe/securityPolicyDeploymentManagement.js +25 -3
  226. package/datasafe/securityPolicyDeploymentManagement.js.map +1 -1
  227. package/datasafe/securityPolicyManagement.d.ts +29 -9
  228. package/datasafe/securityPolicyManagement.js +6 -1
  229. package/datasafe/securityPolicyManagement.js.map +1 -1
  230. package/datasafe/targetAlertPolicyAssociation.d.ts +3 -37
  231. package/datasafe/targetAlertPolicyAssociation.js +0 -22
  232. package/datasafe/targetAlertPolicyAssociation.js.map +1 -1
  233. package/datasafe/targetDatabase.d.ts +2 -0
  234. package/datasafe/targetDatabase.js +2 -0
  235. package/datasafe/targetDatabase.js.map +1 -1
  236. package/datasafe/targetDatabaseGroup.d.ts +232 -0
  237. package/datasafe/targetDatabaseGroup.js +132 -0
  238. package/datasafe/targetDatabaseGroup.js.map +1 -0
  239. package/datasafe/targetDatabasePeerTargetDatabase.d.ts +1 -0
  240. package/datasafe/targetDatabasePeerTargetDatabase.js +1 -0
  241. package/datasafe/targetDatabasePeerTargetDatabase.js.map +1 -1
  242. package/datasafe/unifiedAuditPolicy.d.ts +273 -0
  243. package/datasafe/unifiedAuditPolicy.js +137 -0
  244. package/datasafe/unifiedAuditPolicy.js.map +1 -0
  245. package/datasafe/unifiedAuditPolicyDefinition.d.ts +221 -0
  246. package/datasafe/unifiedAuditPolicyDefinition.js +93 -0
  247. package/datasafe/unifiedAuditPolicyDefinition.js.map +1 -0
  248. package/datasafe/userAssessment.d.ts +33 -12
  249. package/datasafe/userAssessment.js +5 -0
  250. package/datasafe/userAssessment.js.map +1 -1
  251. package/disasterrecovery/drProtectionGroup.d.ts +12 -0
  252. package/disasterrecovery/drProtectionGroup.js +12 -0
  253. package/disasterrecovery/drProtectionGroup.js.map +1 -1
  254. package/generativeai/agentDataIngestionJob.d.ts +10 -0
  255. package/generativeai/agentDataIngestionJob.js +4 -0
  256. package/generativeai/agentDataIngestionJob.js.map +1 -1
  257. package/generativeai/agentDataSource.d.ts +3 -40
  258. package/generativeai/agentDataSource.js +0 -31
  259. package/generativeai/agentDataSource.js.map +1 -1
  260. package/generativeai/agentKnowledgeBase.d.ts +11 -11
  261. package/generativeai/agentKnowledgeBase.js +2 -2
  262. package/generativeai/agentKnowledgeBase.js.map +1 -1
  263. package/generativeai/agentTool.d.ts +87 -0
  264. package/generativeai/agentTool.js +87 -0
  265. package/generativeai/agentTool.js.map +1 -1
  266. package/generativeai/getAgentDataIngestionJob.d.ts +5 -0
  267. package/generativeai/getAgentDataIngestionJob.js.map +1 -1
  268. package/generativeai/getAgentDataSource.d.ts +1 -5
  269. package/generativeai/getAgentDataSource.js +0 -4
  270. package/generativeai/getAgentDataSource.js.map +1 -1
  271. package/generativeai/getAgentDataSources.d.ts +0 -4
  272. package/generativeai/getAgentDataSources.js +0 -4
  273. package/generativeai/getAgentDataSources.js.map +1 -1
  274. package/generativeai/getAgentKnowledgeBase.d.ts +5 -5
  275. package/generativeai/getAgentKnowledgeBase.js +0 -4
  276. package/generativeai/getAgentKnowledgeBase.js.map +1 -1
  277. package/generativeai/getAgentKnowledgeBases.d.ts +0 -4
  278. package/generativeai/getAgentKnowledgeBases.js +0 -4
  279. package/generativeai/getAgentKnowledgeBases.js.map +1 -1
  280. package/goldengate/deployment.d.ts +24 -0
  281. package/goldengate/deployment.js +4 -0
  282. package/goldengate/deployment.js.map +1 -1
  283. package/goldengate/getDeployment.d.ts +8 -0
  284. package/goldengate/getDeployment.js.map +1 -1
  285. package/goldengate/getDeployments.d.ts +14 -0
  286. package/goldengate/getDeployments.js +4 -0
  287. package/goldengate/getDeployments.js.map +1 -1
  288. package/oci/getManagedKafkaKafkaCluster.d.ts +146 -0
  289. package/oci/getManagedKafkaKafkaCluster.js +54 -0
  290. package/oci/getManagedKafkaKafkaCluster.js.map +1 -0
  291. package/oci/getManagedKafkaKafkaClusterConfig.d.ts +110 -0
  292. package/oci/getManagedKafkaKafkaClusterConfig.js +54 -0
  293. package/oci/getManagedKafkaKafkaClusterConfig.js.map +1 -0
  294. package/oci/getManagedKafkaKafkaClusterConfigVersion.d.ts +91 -0
  295. package/oci/getManagedKafkaKafkaClusterConfigVersion.js +58 -0
  296. package/oci/getManagedKafkaKafkaClusterConfigVersion.js.map +1 -0
  297. package/oci/getManagedKafkaKafkaClusterConfigVersions.d.ts +72 -0
  298. package/oci/getManagedKafkaKafkaClusterConfigVersions.js +56 -0
  299. package/oci/getManagedKafkaKafkaClusterConfigVersions.js.map +1 -0
  300. package/oci/getManagedKafkaKafkaClusterConfigs.d.ts +113 -0
  301. package/oci/getManagedKafkaKafkaClusterConfigs.js +70 -0
  302. package/oci/getManagedKafkaKafkaClusterConfigs.js.map +1 -0
  303. package/oci/getManagedKafkaKafkaClusters.d.ts +113 -0
  304. package/oci/getManagedKafkaKafkaClusters.js +70 -0
  305. package/oci/getManagedKafkaKafkaClusters.js.map +1 -0
  306. package/oci/index.d.ts +27 -0
  307. package/oci/index.js +35 -1
  308. package/oci/index.js.map +1 -1
  309. package/oci/managedKafkaKafkaCluster.d.ts +311 -0
  310. package/oci/managedKafkaKafkaCluster.js +154 -0
  311. package/oci/managedKafkaKafkaCluster.js.map +1 -0
  312. package/oci/managedKafkaKafkaClusterConfig.d.ts +191 -0
  313. package/oci/managedKafkaKafkaClusterConfig.js +110 -0
  314. package/oci/managedKafkaKafkaClusterConfig.js.map +1 -0
  315. package/oci/managedKafkaKafkaClusterSuperusersManagement.d.ts +115 -0
  316. package/oci/managedKafkaKafkaClusterSuperusersManagement.js +80 -0
  317. package/oci/managedKafkaKafkaClusterSuperusersManagement.js.map +1 -0
  318. package/package.json +2 -2
  319. package/types/input.d.ts +742 -34
  320. package/types/output.d.ts +3765 -543
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SecurityAssessmentCheck = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This resource provides the Security Assessment Check resource in Oracle Cloud Infrastructure Data Safe service.
10
+ *
11
+ * Patches one or more checks in the specified template type security assessment. Use it to add or delete checks.
12
+ * To add check, use CreateCheckDetails as the patch value.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as oci from "@pulumi/oci";
19
+ *
20
+ * const testSecurityAssessmentCheck = new oci.datasafe.SecurityAssessmentCheck("test_security_assessment_check", {
21
+ * securityAssessmentId: testSecurityAssessment.id,
22
+ * patchOperations: [{
23
+ * operation: securityAssessmentCheckPatchOperationsOperation,
24
+ * selection: securityAssessmentCheckPatchOperationsSelection,
25
+ * value: securityAssessmentCheckPatchOperationsValue,
26
+ * }],
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * SecurityAssessmentChecks can be imported using the `id`, e.g.
33
+ *
34
+ * ```sh
35
+ * $ pulumi import oci:DataSafe/securityAssessmentCheck:SecurityAssessmentCheck test_security_assessment_check "securityAssessments/{securityAssessmentId}/checks"
36
+ * ```
37
+ */
38
+ class SecurityAssessmentCheck extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing SecurityAssessmentCheck resource's state with the given name, ID, and optional extra
41
+ * properties used to qualify the lookup.
42
+ *
43
+ * @param name The _unique_ name of the resulting resource.
44
+ * @param id The _unique_ provider ID of the resource to lookup.
45
+ * @param state Any extra arguments used during the lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name, id, state, opts) {
49
+ return new SecurityAssessmentCheck(name, state, Object.assign(Object.assign({}, opts), { id: id }));
50
+ }
51
+ /**
52
+ * Returns true if the given object is an instance of SecurityAssessmentCheck. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj) {
56
+ if (obj === undefined || obj === null) {
57
+ return false;
58
+ }
59
+ return obj['__pulumiType'] === SecurityAssessmentCheck.__pulumiType;
60
+ }
61
+ constructor(name, argsOrState, opts) {
62
+ let resourceInputs = {};
63
+ opts = opts || {};
64
+ if (opts.id) {
65
+ const state = argsOrState;
66
+ resourceInputs["category"] = state ? state.category : undefined;
67
+ resourceInputs["key"] = state ? state.key : undefined;
68
+ resourceInputs["oneline"] = state ? state.oneline : undefined;
69
+ resourceInputs["patchOperations"] = state ? state.patchOperations : undefined;
70
+ resourceInputs["references"] = state ? state.references : undefined;
71
+ resourceInputs["remarks"] = state ? state.remarks : undefined;
72
+ resourceInputs["securityAssessmentId"] = state ? state.securityAssessmentId : undefined;
73
+ resourceInputs["suggestedSeverity"] = state ? state.suggestedSeverity : undefined;
74
+ resourceInputs["title"] = state ? state.title : undefined;
75
+ }
76
+ else {
77
+ const args = argsOrState;
78
+ if ((!args || args.securityAssessmentId === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'securityAssessmentId'");
80
+ }
81
+ resourceInputs["patchOperations"] = args ? args.patchOperations : undefined;
82
+ resourceInputs["securityAssessmentId"] = args ? args.securityAssessmentId : undefined;
83
+ resourceInputs["category"] = undefined /*out*/;
84
+ resourceInputs["key"] = undefined /*out*/;
85
+ resourceInputs["oneline"] = undefined /*out*/;
86
+ resourceInputs["references"] = undefined /*out*/;
87
+ resourceInputs["remarks"] = undefined /*out*/;
88
+ resourceInputs["suggestedSeverity"] = undefined /*out*/;
89
+ resourceInputs["title"] = undefined /*out*/;
90
+ }
91
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
92
+ super(SecurityAssessmentCheck.__pulumiType, name, resourceInputs, opts);
93
+ }
94
+ }
95
+ exports.SecurityAssessmentCheck = SecurityAssessmentCheck;
96
+ /** @internal */
97
+ SecurityAssessmentCheck.__pulumiType = 'oci:DataSafe/securityAssessmentCheck:SecurityAssessmentCheck';
98
+ //# sourceMappingURL=securityAssessmentCheck.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"securityAssessmentCheck.js","sourceRoot":"","sources":["../../datasafe/securityAssessmentCheck.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,K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ulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * This resource provides the Security Assessment Finding resource in Oracle Cloud Infrastructure Data Safe service.
6
+ *
7
+ * Patches one or more findings in the specified template baseline type security assessment. Use it to modify max allowed risk level in template baseline.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as oci from "@pulumi/oci";
14
+ *
15
+ * const testSecurityAssessmentFinding = new oci.datasafe.SecurityAssessmentFinding("test_security_assessment_finding", {
16
+ * securityAssessmentId: testSecurityAssessment.id,
17
+ * patchOperations: [{
18
+ * operation: securityAssessmentFindingPatchOperationsOperation,
19
+ * selection: securityAssessmentFindingPatchOperationsSelection,
20
+ * value: securityAssessmentFindingPatchOperationsValue,
21
+ * }],
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * SecurityAssessmentFindings can be imported using the `id`, e.g.
28
+ *
29
+ * ```sh
30
+ * $ pulumi import oci:DataSafe/securityAssessmentFinding:SecurityAssessmentFinding test_security_assessment_finding "securityAssessments/{securityAssessmentId}/findings"
31
+ * ```
32
+ */
33
+ export declare class SecurityAssessmentFinding extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing SecurityAssessmentFinding resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecurityAssessmentFindingState, opts?: pulumi.CustomResourceOptions): SecurityAssessmentFinding;
44
+ /**
45
+ * Returns true if the given object is an instance of SecurityAssessmentFinding. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is SecurityAssessmentFinding;
49
+ /**
50
+ * The OCID of the assessment that generated this finding.
51
+ */
52
+ readonly assessmentId: pulumi.Output<string>;
53
+ /**
54
+ * The category to which the finding belongs to.
55
+ */
56
+ readonly category: pulumi.Output<string>;
57
+ /**
58
+ * The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
59
+ */
60
+ readonly details: pulumi.Output<string[]>;
61
+ /**
62
+ * Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.
63
+ */
64
+ readonly hasTargetDbRiskLevelChanged: pulumi.Output<boolean>;
65
+ /**
66
+ * Determines if this risk level was modified by user.
67
+ */
68
+ readonly isRiskModified: pulumi.Output<boolean>;
69
+ /**
70
+ * Indicates whether a given finding is marked as topFinding or not.
71
+ */
72
+ readonly isTopFinding: pulumi.Output<boolean>;
73
+ /**
74
+ * User provided reason for accepting or modifying this finding if they choose to do so.
75
+ */
76
+ readonly justification: pulumi.Output<string>;
77
+ /**
78
+ * The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
79
+ */
80
+ readonly key: pulumi.Output<string>;
81
+ /**
82
+ * Details about the current state of the finding.
83
+ */
84
+ readonly lifecycleDetails: pulumi.Output<string>;
85
+ /**
86
+ * Provides a recommended approach to take to remediate the finding reported.
87
+ */
88
+ readonly oneline: pulumi.Output<string>;
89
+ /**
90
+ * The severity of the finding as determined by security assessment. This cannot be modified by user.
91
+ */
92
+ readonly oracleDefinedSeverity: pulumi.Output<string>;
93
+ /**
94
+ * (Updatable)
95
+ */
96
+ readonly patchOperations: pulumi.Output<outputs.DataSafe.SecurityAssessmentFindingPatchOperation[] | undefined>;
97
+ /**
98
+ * Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
99
+ */
100
+ readonly references: pulumi.Output<outputs.DataSafe.SecurityAssessmentFindingReference[]>;
101
+ /**
102
+ * The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
103
+ */
104
+ readonly remarks: pulumi.Output<string>;
105
+ /**
106
+ * ** IMPORTANT **
107
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
108
+ */
109
+ readonly securityAssessmentId: pulumi.Output<string>;
110
+ /**
111
+ * The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.
112
+ */
113
+ readonly severity: pulumi.Output<string>;
114
+ /**
115
+ * The current state of the finding.
116
+ */
117
+ readonly state: pulumi.Output<string>;
118
+ /**
119
+ * The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
120
+ */
121
+ readonly summary: pulumi.Output<string>;
122
+ /**
123
+ * The OCID of the target database.
124
+ */
125
+ readonly targetId: pulumi.Output<string>;
126
+ /**
127
+ * The date and time the risk level of finding was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
128
+ */
129
+ readonly timeUpdated: pulumi.Output<string>;
130
+ /**
131
+ * The time until which the change in severity(deferred / modified) of this finding is valid.
132
+ */
133
+ readonly timeValidUntil: pulumi.Output<string>;
134
+ /**
135
+ * The short title for the finding.
136
+ */
137
+ readonly title: pulumi.Output<string>;
138
+ /**
139
+ * Create a SecurityAssessmentFinding resource with the given unique name, arguments, and options.
140
+ *
141
+ * @param name The _unique_ name of the resource.
142
+ * @param args The arguments to use to populate this resource's properties.
143
+ * @param opts A bag of options that control this resource's behavior.
144
+ */
145
+ constructor(name: string, args: SecurityAssessmentFindingArgs, opts?: pulumi.CustomResourceOptions);
146
+ }
147
+ /**
148
+ * Input properties used for looking up and filtering SecurityAssessmentFinding resources.
149
+ */
150
+ export interface SecurityAssessmentFindingState {
151
+ /**
152
+ * The OCID of the assessment that generated this finding.
153
+ */
154
+ assessmentId?: pulumi.Input<string>;
155
+ /**
156
+ * The category to which the finding belongs to.
157
+ */
158
+ category?: pulumi.Input<string>;
159
+ /**
160
+ * The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
161
+ */
162
+ details?: pulumi.Input<pulumi.Input<string>[]>;
163
+ /**
164
+ * Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.
165
+ */
166
+ hasTargetDbRiskLevelChanged?: pulumi.Input<boolean>;
167
+ /**
168
+ * Determines if this risk level was modified by user.
169
+ */
170
+ isRiskModified?: pulumi.Input<boolean>;
171
+ /**
172
+ * Indicates whether a given finding is marked as topFinding or not.
173
+ */
174
+ isTopFinding?: pulumi.Input<boolean>;
175
+ /**
176
+ * User provided reason for accepting or modifying this finding if they choose to do so.
177
+ */
178
+ justification?: pulumi.Input<string>;
179
+ /**
180
+ * The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
181
+ */
182
+ key?: pulumi.Input<string>;
183
+ /**
184
+ * Details about the current state of the finding.
185
+ */
186
+ lifecycleDetails?: pulumi.Input<string>;
187
+ /**
188
+ * Provides a recommended approach to take to remediate the finding reported.
189
+ */
190
+ oneline?: pulumi.Input<string>;
191
+ /**
192
+ * The severity of the finding as determined by security assessment. This cannot be modified by user.
193
+ */
194
+ oracleDefinedSeverity?: pulumi.Input<string>;
195
+ /**
196
+ * (Updatable)
197
+ */
198
+ patchOperations?: pulumi.Input<pulumi.Input<inputs.DataSafe.SecurityAssessmentFindingPatchOperation>[]>;
199
+ /**
200
+ * Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
201
+ */
202
+ references?: pulumi.Input<pulumi.Input<inputs.DataSafe.SecurityAssessmentFindingReference>[]>;
203
+ /**
204
+ * The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.
205
+ */
206
+ remarks?: pulumi.Input<string>;
207
+ /**
208
+ * ** IMPORTANT **
209
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
210
+ */
211
+ securityAssessmentId?: pulumi.Input<string>;
212
+ /**
213
+ * The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.
214
+ */
215
+ severity?: pulumi.Input<string>;
216
+ /**
217
+ * The current state of the finding.
218
+ */
219
+ state?: pulumi.Input<string>;
220
+ /**
221
+ * The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
222
+ */
223
+ summary?: pulumi.Input<string>;
224
+ /**
225
+ * The OCID of the target database.
226
+ */
227
+ targetId?: pulumi.Input<string>;
228
+ /**
229
+ * The date and time the risk level of finding was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
230
+ */
231
+ timeUpdated?: pulumi.Input<string>;
232
+ /**
233
+ * The time until which the change in severity(deferred / modified) of this finding is valid.
234
+ */
235
+ timeValidUntil?: pulumi.Input<string>;
236
+ /**
237
+ * The short title for the finding.
238
+ */
239
+ title?: pulumi.Input<string>;
240
+ }
241
+ /**
242
+ * The set of arguments for constructing a SecurityAssessmentFinding resource.
243
+ */
244
+ export interface SecurityAssessmentFindingArgs {
245
+ /**
246
+ * (Updatable)
247
+ */
248
+ patchOperations?: pulumi.Input<pulumi.Input<inputs.DataSafe.SecurityAssessmentFindingPatchOperation>[]>;
249
+ /**
250
+ * ** IMPORTANT **
251
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
252
+ */
253
+ securityAssessmentId: pulumi.Input<string>;
254
+ }
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SecurityAssessmentFinding = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This resource provides the Security Assessment Finding resource in Oracle Cloud Infrastructure Data Safe service.
10
+ *
11
+ * Patches one or more findings in the specified template baseline type security assessment. Use it to modify max allowed risk level in template baseline.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as oci from "@pulumi/oci";
18
+ *
19
+ * const testSecurityAssessmentFinding = new oci.datasafe.SecurityAssessmentFinding("test_security_assessment_finding", {
20
+ * securityAssessmentId: testSecurityAssessment.id,
21
+ * patchOperations: [{
22
+ * operation: securityAssessmentFindingPatchOperationsOperation,
23
+ * selection: securityAssessmentFindingPatchOperationsSelection,
24
+ * value: securityAssessmentFindingPatchOperationsValue,
25
+ * }],
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * SecurityAssessmentFindings can be imported using the `id`, e.g.
32
+ *
33
+ * ```sh
34
+ * $ pulumi import oci:DataSafe/securityAssessmentFinding:SecurityAssessmentFinding test_security_assessment_finding "securityAssessments/{securityAssessmentId}/findings"
35
+ * ```
36
+ */
37
+ class SecurityAssessmentFinding extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing SecurityAssessmentFinding resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new SecurityAssessmentFinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of SecurityAssessmentFinding. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === SecurityAssessmentFinding.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["assessmentId"] = state ? state.assessmentId : undefined;
66
+ resourceInputs["category"] = state ? state.category : undefined;
67
+ resourceInputs["details"] = state ? state.details : undefined;
68
+ resourceInputs["hasTargetDbRiskLevelChanged"] = state ? state.hasTargetDbRiskLevelChanged : undefined;
69
+ resourceInputs["isRiskModified"] = state ? state.isRiskModified : undefined;
70
+ resourceInputs["isTopFinding"] = state ? state.isTopFinding : undefined;
71
+ resourceInputs["justification"] = state ? state.justification : undefined;
72
+ resourceInputs["key"] = state ? state.key : undefined;
73
+ resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined;
74
+ resourceInputs["oneline"] = state ? state.oneline : undefined;
75
+ resourceInputs["oracleDefinedSeverity"] = state ? state.oracleDefinedSeverity : undefined;
76
+ resourceInputs["patchOperations"] = state ? state.patchOperations : undefined;
77
+ resourceInputs["references"] = state ? state.references : undefined;
78
+ resourceInputs["remarks"] = state ? state.remarks : undefined;
79
+ resourceInputs["securityAssessmentId"] = state ? state.securityAssessmentId : undefined;
80
+ resourceInputs["severity"] = state ? state.severity : undefined;
81
+ resourceInputs["state"] = state ? state.state : undefined;
82
+ resourceInputs["summary"] = state ? state.summary : undefined;
83
+ resourceInputs["targetId"] = state ? state.targetId : undefined;
84
+ resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined;
85
+ resourceInputs["timeValidUntil"] = state ? state.timeValidUntil : undefined;
86
+ resourceInputs["title"] = state ? state.title : undefined;
87
+ }
88
+ else {
89
+ const args = argsOrState;
90
+ if ((!args || args.securityAssessmentId === undefined) && !opts.urn) {
91
+ throw new Error("Missing required property 'securityAssessmentId'");
92
+ }
93
+ resourceInputs["patchOperations"] = args ? args.patchOperations : undefined;
94
+ resourceInputs["securityAssessmentId"] = args ? args.securityAssessmentId : undefined;
95
+ resourceInputs["assessmentId"] = undefined /*out*/;
96
+ resourceInputs["category"] = undefined /*out*/;
97
+ resourceInputs["details"] = undefined /*out*/;
98
+ resourceInputs["hasTargetDbRiskLevelChanged"] = undefined /*out*/;
99
+ resourceInputs["isRiskModified"] = undefined /*out*/;
100
+ resourceInputs["isTopFinding"] = undefined /*out*/;
101
+ resourceInputs["justification"] = undefined /*out*/;
102
+ resourceInputs["key"] = undefined /*out*/;
103
+ resourceInputs["lifecycleDetails"] = undefined /*out*/;
104
+ resourceInputs["oneline"] = undefined /*out*/;
105
+ resourceInputs["oracleDefinedSeverity"] = undefined /*out*/;
106
+ resourceInputs["references"] = undefined /*out*/;
107
+ resourceInputs["remarks"] = undefined /*out*/;
108
+ resourceInputs["severity"] = undefined /*out*/;
109
+ resourceInputs["state"] = undefined /*out*/;
110
+ resourceInputs["summary"] = undefined /*out*/;
111
+ resourceInputs["targetId"] = undefined /*out*/;
112
+ resourceInputs["timeUpdated"] = undefined /*out*/;
113
+ resourceInputs["timeValidUntil"] = undefined /*out*/;
114
+ resourceInputs["title"] = undefined /*out*/;
115
+ }
116
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
117
+ super(SecurityAssessmentFinding.__pulumiType, name, resourceInputs, opts);
118
+ }
119
+ }
120
+ exports.SecurityAssessmentFinding = SecurityAssessmentFinding;
121
+ /** @internal */
122
+ SecurityAssessmentFinding.__pulumiType = 'oci:DataSafe/securityAssessmentFinding:SecurityAssessmentFinding';
123
+ //# sourceMappingURL=securityAssessmentFinding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"securityAssessmentFinding.js","sourceRoot":"","sources":["../../datasafe/securityAssessmentFinding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,E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AAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAvLL,8DAwLC;AA1KG,gBAAgB;AACO,sCAAY,GAAG,kEAAkE,CAAC"}
@@ -2,7 +2,26 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * This resource provides the Security Policy resource in Oracle Cloud Infrastructure Data Safe service.
4
4
  *
5
- * Updates the security policy.
5
+ * Creates a Data Safe security policy.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as oci from "@pulumi/oci";
12
+ *
13
+ * const testSecurityPolicy = new oci.datasafe.SecurityPolicy("test_security_policy", {
14
+ * compartmentId: compartmentId,
15
+ * definedTags: {
16
+ * "Operations.CostCenter": "42",
17
+ * },
18
+ * description: securityPolicyDescription,
19
+ * displayName: securityPolicyDisplayName,
20
+ * freeformTags: {
21
+ * Department: "Finance",
22
+ * },
23
+ * });
24
+ * ```
6
25
  *
7
26
  * ## Import
8
27
  *
@@ -29,7 +48,7 @@ export declare class SecurityPolicy extends pulumi.CustomResource {
29
48
  */
30
49
  static isInstance(obj: any): obj is SecurityPolicy;
31
50
  /**
32
- * (Updatable) The OCID of the compartment containing the security policy.
51
+ * (Updatable) The OCID of the compartment in which to create the security policy.
33
52
  */
34
53
  readonly compartmentId: pulumi.Output<string>;
35
54
  /**
@@ -48,6 +67,10 @@ export declare class SecurityPolicy extends pulumi.CustomResource {
48
67
  readonly displayName: pulumi.Output<string>;
49
68
  /**
50
69
  * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
70
+ *
71
+ *
72
+ * ** IMPORTANT **
73
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
51
74
  */
52
75
  readonly freeformTags: pulumi.Output<{
53
76
  [key: string]: string;
@@ -57,13 +80,9 @@ export declare class SecurityPolicy extends pulumi.CustomResource {
57
80
  */
58
81
  readonly lifecycleDetails: pulumi.Output<string>;
59
82
  /**
60
- * The OCID of the security policy resource.
61
- *
62
- *
63
- * ** IMPORTANT **
64
- * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
83
+ * The type of the security policy.
65
84
  */
66
- readonly securityPolicyId: pulumi.Output<string>;
85
+ readonly securityPolicyType: pulumi.Output<string>;
67
86
  /**
68
87
  * The current state of the security policy.
69
88
  */
@@ -96,7 +115,7 @@ export declare class SecurityPolicy extends pulumi.CustomResource {
96
115
  */
97
116
  export interface SecurityPolicyState {
98
117
  /**
99
- * (Updatable) The OCID of the compartment containing the security policy.
118
+ * (Updatable) The OCID of the compartment in which to create the security policy.
100
119
  */
101
120
  compartmentId?: pulumi.Input<string>;
102
121
  /**
@@ -115,6 +134,10 @@ export interface SecurityPolicyState {
115
134
  displayName?: pulumi.Input<string>;
116
135
  /**
117
136
  * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
137
+ *
138
+ *
139
+ * ** IMPORTANT **
140
+ * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
118
141
  */
119
142
  freeformTags?: pulumi.Input<{
120
143
  [key: string]: pulumi.Input<string>;
@@ -124,13 +147,9 @@ export interface SecurityPolicyState {
124
147
  */
125
148
  lifecycleDetails?: pulumi.Input<string>;
126
149
  /**
127
- * The OCID of the security policy resource.
128
- *
129
- *
130
- * ** IMPORTANT **
131
- * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
150
+ * The type of the security policy.
132
151
  */
133
- securityPolicyId?: pulumi.Input<string>;
152
+ securityPolicyType?: pulumi.Input<string>;
134
153
  /**
135
154
  * The current state of the security policy.
136
155
  */
@@ -155,9 +174,9 @@ export interface SecurityPolicyState {
155
174
  */
156
175
  export interface SecurityPolicyArgs {
157
176
  /**
158
- * (Updatable) The OCID of the compartment containing the security policy.
177
+ * (Updatable) The OCID of the compartment in which to create the security policy.
159
178
  */
160
- compartmentId?: pulumi.Input<string>;
179
+ compartmentId: pulumi.Input<string>;
161
180
  /**
162
181
  * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
163
182
  */
@@ -174,16 +193,12 @@ export interface SecurityPolicyArgs {
174
193
  displayName?: pulumi.Input<string>;
175
194
  /**
176
195
  * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
177
- */
178
- freeformTags?: pulumi.Input<{
179
- [key: string]: pulumi.Input<string>;
180
- }>;
181
- /**
182
- * The OCID of the security policy resource.
183
196
  *
184
197
  *
185
198
  * ** IMPORTANT **
186
199
  * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
187
200
  */
188
- securityPolicyId: pulumi.Input<string>;
201
+ freeformTags?: pulumi.Input<{
202
+ [key: string]: pulumi.Input<string>;
203
+ }>;
189
204
  }