@salesforce/lds-adapters-analytics-wave 1.461.0 → 1.463.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.
- package/dist/es/es2018/analytics-wave.js +6263 -3261
- package/dist/es/es2018/types/src/generated/adapters/generatePlatformAuditReport.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/getLatestPlatformAudit.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getPlatformAudit.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getPlatformAuditCheck.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getPlatformAuditHistory.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getPlatformAuditReport.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/triggerPlatformAudit.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +14 -1
- package/dist/es/es2018/types/src/generated/resources/getWavePlatformAudit.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getWavePlatformAuditByAuditId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getWavePlatformAuditChecksByAuditIdAndCheckId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getWavePlatformAuditHistory.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getWavePlatformAuditReportByAuditId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postWavePlatformAudit.d.ts +9 -0
- package/dist/es/es2018/types/src/generated/resources/postWavePlatformAuditReportByAuditId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/DependencyRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/PlatformAuditCheckCollectionRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/PlatformAuditCheckRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/PlatformAuditCollectionRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/PlatformAuditFindingRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/PlatformAuditReportRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/PlatformAuditRepresentation.d.ts +72 -0
- package/dist/es/es2018/types/src/generated/types/PlatformAuditSnapshotRepresentation.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/PlatformAuditSummaryRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/PlatformAuditUrgencyRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/RecipeActionPermissionsRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/RecipeRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +6937 -3833
- package/src/raml/api.raml +430 -0
- package/src/raml/luvio.raml +61 -0
package/src/raml/api.raml
CHANGED
|
@@ -1950,6 +1950,7 @@ types:
|
|
|
1950
1950
|
lastAccessedDate:
|
|
1951
1951
|
description: The time at which the asset was last accessed.
|
|
1952
1952
|
type: string
|
|
1953
|
+
required: false # TODO Hand-rolled W-24324703
|
|
1953
1954
|
lastModifiedBy:
|
|
1954
1955
|
description: The user who last modified the asset.
|
|
1955
1956
|
type: WaveUserRepresentation
|
|
@@ -2776,6 +2777,307 @@ types:
|
|
|
2776
2777
|
description: The value which indicates whether the user can view an asset.
|
|
2777
2778
|
type: boolean
|
|
2778
2779
|
required: false # TODO Hand-rolled W-8253396
|
|
2780
|
+
PlatformAuditRepresentation: # TODO Hand-rolled W-24314623
|
|
2781
|
+
description: A Platform Audit run and its aggregated health.
|
|
2782
|
+
type: object
|
|
2783
|
+
properties:
|
|
2784
|
+
auditId:
|
|
2785
|
+
description: The ID of the platform audit run.
|
|
2786
|
+
type: string
|
|
2787
|
+
runStatus:
|
|
2788
|
+
description: The runtime status of the platform audit run.
|
|
2789
|
+
type: string
|
|
2790
|
+
enum:
|
|
2791
|
+
- Running
|
|
2792
|
+
- Ready
|
|
2793
|
+
- CompleteWithLimitations
|
|
2794
|
+
- Failed
|
|
2795
|
+
scope:
|
|
2796
|
+
description: The scope of assets covered by the platform audit run.
|
|
2797
|
+
type: string
|
|
2798
|
+
enum:
|
|
2799
|
+
- AllSharedAssets
|
|
2800
|
+
checksTotal:
|
|
2801
|
+
description: The total number of checks fanned out for this audit run.
|
|
2802
|
+
# TODO: Hand-rolled from "format: int64, type: integer" due to W-8274943
|
|
2803
|
+
format: double
|
|
2804
|
+
type: number
|
|
2805
|
+
checksTerminal:
|
|
2806
|
+
description: The number of checks that have reached a terminal state.
|
|
2807
|
+
# TODO: Hand-rolled from "format: int64, type: integer" due to W-8274943
|
|
2808
|
+
format: double
|
|
2809
|
+
type: number
|
|
2810
|
+
createdDate:
|
|
2811
|
+
description: The date the platform audit run was created.
|
|
2812
|
+
type: string
|
|
2813
|
+
completedDate:
|
|
2814
|
+
description: The date the platform audit run completed. Null while the run is Running.
|
|
2815
|
+
type: string | nil
|
|
2816
|
+
required: false
|
|
2817
|
+
checks:
|
|
2818
|
+
description: The checks that make up this platform audit run.
|
|
2819
|
+
type: PlatformAuditCheckCollectionRepresentation
|
|
2820
|
+
healthScore:
|
|
2821
|
+
description: The aggregated health score for the run. Null while Running, not yet
|
|
2822
|
+
computed, or suppressed.
|
|
2823
|
+
type: integer | nil
|
|
2824
|
+
required: false
|
|
2825
|
+
verdict:
|
|
2826
|
+
description: The aggregated health verdict for the run. Null while Running or not
|
|
2827
|
+
yet computed.
|
|
2828
|
+
type: string | nil
|
|
2829
|
+
required: false
|
|
2830
|
+
urgency:
|
|
2831
|
+
description: The aggregated health urgency triage, split into critical-now and
|
|
2832
|
+
needs-attention tiers. Omitted when scoring was suppressed or the run is still
|
|
2833
|
+
running.
|
|
2834
|
+
type: PlatformAuditUrgencyRepresentation | nil
|
|
2835
|
+
required: false
|
|
2836
|
+
scoreSuppressed:
|
|
2837
|
+
description: Whether the health score is suppressed for this run.
|
|
2838
|
+
type: boolean | nil
|
|
2839
|
+
required: false
|
|
2840
|
+
PlatformAuditSnapshotRepresentation: # TODO Hand-rolled W-24314623
|
|
2841
|
+
description: Same shape as PlatformAuditRepresentation, returned by the parameterless
|
|
2842
|
+
"get latest" endpoint. Kept as a separate, unkeyed type because LDS wire adapters
|
|
2843
|
+
cannot precompute a normalized cache key for a GET with no URL params, which a
|
|
2844
|
+
type-level (luvio.key) on the response shape requires.
|
|
2845
|
+
type: object
|
|
2846
|
+
properties:
|
|
2847
|
+
auditId:
|
|
2848
|
+
description: The ID of the platform audit run.
|
|
2849
|
+
type: string
|
|
2850
|
+
runStatus:
|
|
2851
|
+
description: The runtime status of the platform audit run.
|
|
2852
|
+
type: string
|
|
2853
|
+
enum:
|
|
2854
|
+
- Running
|
|
2855
|
+
- Ready
|
|
2856
|
+
- CompleteWithLimitations
|
|
2857
|
+
- Failed
|
|
2858
|
+
scope:
|
|
2859
|
+
description: The scope of assets covered by the platform audit run.
|
|
2860
|
+
type: string
|
|
2861
|
+
enum:
|
|
2862
|
+
- AllSharedAssets
|
|
2863
|
+
checksTotal:
|
|
2864
|
+
description: The total number of checks fanned out for this audit run.
|
|
2865
|
+
# TODO: Hand-rolled from "format: int64, type: integer" due to W-8274943
|
|
2866
|
+
format: double
|
|
2867
|
+
type: number
|
|
2868
|
+
checksTerminal:
|
|
2869
|
+
description: The number of checks that have reached a terminal state.
|
|
2870
|
+
# TODO: Hand-rolled from "format: int64, type: integer" due to W-8274943
|
|
2871
|
+
format: double
|
|
2872
|
+
type: number
|
|
2873
|
+
createdDate:
|
|
2874
|
+
description: The date the platform audit run was created.
|
|
2875
|
+
type: string
|
|
2876
|
+
completedDate:
|
|
2877
|
+
description: The date the platform audit run completed. Null while the run is Running.
|
|
2878
|
+
type: string | nil
|
|
2879
|
+
required: false
|
|
2880
|
+
checks:
|
|
2881
|
+
description: The checks that make up this platform audit run.
|
|
2882
|
+
type: PlatformAuditCheckCollectionRepresentation
|
|
2883
|
+
healthScore:
|
|
2884
|
+
description: The aggregated health score for the run. Null while Running, not yet
|
|
2885
|
+
computed, or suppressed.
|
|
2886
|
+
type: integer | nil
|
|
2887
|
+
required: false
|
|
2888
|
+
verdict:
|
|
2889
|
+
description: The aggregated health verdict for the run. Null while Running or not
|
|
2890
|
+
yet computed.
|
|
2891
|
+
type: string | nil
|
|
2892
|
+
required: false
|
|
2893
|
+
urgency:
|
|
2894
|
+
description: The aggregated health urgency triage, split into critical-now and
|
|
2895
|
+
needs-attention tiers. Omitted when scoring was suppressed or the run is still
|
|
2896
|
+
running.
|
|
2897
|
+
type: PlatformAuditUrgencyRepresentation | nil
|
|
2898
|
+
required: false
|
|
2899
|
+
scoreSuppressed:
|
|
2900
|
+
description: Whether the health score is suppressed for this run.
|
|
2901
|
+
type: boolean | nil
|
|
2902
|
+
required: false
|
|
2903
|
+
PlatformAuditCheckRepresentation: # TODO Hand-rolled W-24314623
|
|
2904
|
+
description: A single check's result within a platform audit run.
|
|
2905
|
+
type: object
|
|
2906
|
+
properties:
|
|
2907
|
+
checkName:
|
|
2908
|
+
description: The name of the check (e.g. crma-orphans, crma-trace-redundancies).
|
|
2909
|
+
type: string
|
|
2910
|
+
status:
|
|
2911
|
+
description: The runtime status of the check.
|
|
2912
|
+
type: string
|
|
2913
|
+
enum:
|
|
2914
|
+
- Complete
|
|
2915
|
+
- CompleteWithLimitations
|
|
2916
|
+
- Unavailable
|
|
2917
|
+
- Failed
|
|
2918
|
+
coverageScanned:
|
|
2919
|
+
description: The number of assets scanned by this check.
|
|
2920
|
+
# TODO: Hand-rolled from "format: int64, type: integer" due to W-8274943
|
|
2921
|
+
format: double
|
|
2922
|
+
type: number
|
|
2923
|
+
coverageTotal:
|
|
2924
|
+
description: The total number of assets in scope for this check.
|
|
2925
|
+
# TODO: Hand-rolled from "format: int64, type: integer" due to W-8274943
|
|
2926
|
+
format: double
|
|
2927
|
+
type: number
|
|
2928
|
+
limitationNote:
|
|
2929
|
+
description: A note describing why coverage was limited. Null unless limited.
|
|
2930
|
+
type: string | nil
|
|
2931
|
+
required: false
|
|
2932
|
+
checkStartedDate:
|
|
2933
|
+
description: The date this check started.
|
|
2934
|
+
type: string | nil
|
|
2935
|
+
required: false
|
|
2936
|
+
checkCompletedDate:
|
|
2937
|
+
description: The date this check completed.
|
|
2938
|
+
type: string | nil
|
|
2939
|
+
required: false
|
|
2940
|
+
resultJson:
|
|
2941
|
+
description: An opaque, per-check payload passed through verbatim.
|
|
2942
|
+
type: string | nil
|
|
2943
|
+
required: false
|
|
2944
|
+
PlatformAuditReportRepresentation: # TODO Hand-rolled W-24362345
|
|
2945
|
+
description: Same shape as AssetReferenceRepresentation, returned by the PDF-report
|
|
2946
|
+
POST endpoint. Kept as a separate, keyed type (duplicated rather than extended,
|
|
2947
|
+
since Luvio forbids an inherited shape from declaring its own (luvio.key))
|
|
2948
|
+
because Luvio requires a POST adapter's return shape to define a (luvio.key),
|
|
2949
|
+
and giving AssetReferenceRepresentation itself a type-level key would mis-key
|
|
2950
|
+
its many other nested usages across this spec.
|
|
2951
|
+
type: object
|
|
2952
|
+
properties:
|
|
2953
|
+
id:
|
|
2954
|
+
description: The 18 character ID of the asset.
|
|
2955
|
+
type: string
|
|
2956
|
+
label:
|
|
2957
|
+
description: The asset label.
|
|
2958
|
+
type: string
|
|
2959
|
+
required: false
|
|
2960
|
+
name:
|
|
2961
|
+
description: The asset developer name.
|
|
2962
|
+
type: string
|
|
2963
|
+
required: false
|
|
2964
|
+
namespace:
|
|
2965
|
+
description: The namespace that qualifies the asset name
|
|
2966
|
+
type: string
|
|
2967
|
+
required: false
|
|
2968
|
+
url:
|
|
2969
|
+
description: The asset URL.
|
|
2970
|
+
type: string
|
|
2971
|
+
required: false
|
|
2972
|
+
PlatformAuditCheckCollectionRepresentation: # TODO Hand-rolled W-24314623
|
|
2973
|
+
description: A collection of platform audit checks.
|
|
2974
|
+
type: object
|
|
2975
|
+
properties:
|
|
2976
|
+
checks:
|
|
2977
|
+
description: The checks in this collection.
|
|
2978
|
+
type: array
|
|
2979
|
+
items:
|
|
2980
|
+
type: PlatformAuditCheckRepresentation
|
|
2981
|
+
totalSize:
|
|
2982
|
+
description: The total number of checks in this collection.
|
|
2983
|
+
type: integer
|
|
2984
|
+
PlatformAuditFindingRepresentation: # TODO Hand-rolled W-24314623
|
|
2985
|
+
description: One finding surfaced by the aggregator's urgency triage, referencing the
|
|
2986
|
+
asset and check it came from.
|
|
2987
|
+
type: object
|
|
2988
|
+
properties:
|
|
2989
|
+
kind:
|
|
2990
|
+
description: The finding's category (e.g. zombie, unused, stale, or redundant asset).
|
|
2991
|
+
type: string
|
|
2992
|
+
checkName:
|
|
2993
|
+
description: The stable name of the check that surfaced this finding.
|
|
2994
|
+
type: string
|
|
2995
|
+
refId:
|
|
2996
|
+
description: The stable id of the asset the finding points at.
|
|
2997
|
+
type: string
|
|
2998
|
+
displayName:
|
|
2999
|
+
description: The asset's display name, for rendering the finding.
|
|
3000
|
+
type: string
|
|
3001
|
+
PlatformAuditUrgencyRepresentation: # TODO Hand-rolled W-24314623
|
|
3002
|
+
description: The aggregator's two-tier urgency triage over the run's findings.
|
|
3003
|
+
type: object
|
|
3004
|
+
properties:
|
|
3005
|
+
criticalNow:
|
|
3006
|
+
description: Findings the user should act on now, ordered as the aggregator surfaced
|
|
3007
|
+
them.
|
|
3008
|
+
type: array
|
|
3009
|
+
items:
|
|
3010
|
+
type: PlatformAuditFindingRepresentation
|
|
3011
|
+
needsAttention:
|
|
3012
|
+
description: Findings that need attention as standing hygiene, ordered as the
|
|
3013
|
+
aggregator surfaced them.
|
|
3014
|
+
type: array
|
|
3015
|
+
items:
|
|
3016
|
+
type: PlatformAuditFindingRepresentation
|
|
3017
|
+
PlatformAuditSummaryRepresentation: # TODO Hand-rolled W-24314623
|
|
3018
|
+
description: A summarized platform audit run for the history list, without per-check
|
|
3019
|
+
detail or urgency.
|
|
3020
|
+
type: object
|
|
3021
|
+
properties:
|
|
3022
|
+
auditId:
|
|
3023
|
+
description: The ID of the platform audit run.
|
|
3024
|
+
type: string
|
|
3025
|
+
runStatus:
|
|
3026
|
+
description: The runtime status of the platform audit run.
|
|
3027
|
+
type: string
|
|
3028
|
+
enum:
|
|
3029
|
+
- Running
|
|
3030
|
+
- Ready
|
|
3031
|
+
- CompleteWithLimitations
|
|
3032
|
+
- Failed
|
|
3033
|
+
scope:
|
|
3034
|
+
description: The scope of assets covered by the platform audit run.
|
|
3035
|
+
type: string
|
|
3036
|
+
enum:
|
|
3037
|
+
- AllSharedAssets
|
|
3038
|
+
checksTotal:
|
|
3039
|
+
description: The total number of checks fanned out for this audit run.
|
|
3040
|
+
# TODO: Hand-rolled from "format: int64, type: integer" due to W-8274943
|
|
3041
|
+
format: double
|
|
3042
|
+
type: number
|
|
3043
|
+
checksTerminal:
|
|
3044
|
+
description: The number of checks that have reached a terminal state.
|
|
3045
|
+
# TODO: Hand-rolled from "format: int64, type: integer" due to W-8274943
|
|
3046
|
+
format: double
|
|
3047
|
+
type: number
|
|
3048
|
+
createdDate:
|
|
3049
|
+
description: The date the platform audit run was created.
|
|
3050
|
+
type: string
|
|
3051
|
+
completedDate:
|
|
3052
|
+
description: The date the platform audit run completed. Null while the run is Running.
|
|
3053
|
+
type: string | nil
|
|
3054
|
+
required: false
|
|
3055
|
+
healthScore:
|
|
3056
|
+
description: The aggregated health score for the run. Null while Running, not yet
|
|
3057
|
+
computed, or suppressed.
|
|
3058
|
+
type: integer | nil
|
|
3059
|
+
required: false
|
|
3060
|
+
verdict:
|
|
3061
|
+
description: The aggregated health verdict for the run. Null while Running or not
|
|
3062
|
+
yet computed.
|
|
3063
|
+
type: string | nil
|
|
3064
|
+
required: false
|
|
3065
|
+
scoreSuppressed:
|
|
3066
|
+
description: Whether the health score is suppressed for this run.
|
|
3067
|
+
type: boolean | nil
|
|
3068
|
+
required: false
|
|
3069
|
+
PlatformAuditCollectionRepresentation: # TODO Hand-rolled W-24314623
|
|
3070
|
+
description: The org's platform-audit history, most recent first.
|
|
3071
|
+
type: object
|
|
3072
|
+
properties:
|
|
3073
|
+
audits:
|
|
3074
|
+
description: The org's audit runs, most recent first.
|
|
3075
|
+
type: array
|
|
3076
|
+
items:
|
|
3077
|
+
type: PlatformAuditSummaryRepresentation
|
|
3078
|
+
totalSize:
|
|
3079
|
+
description: The number of audit runs returned.
|
|
3080
|
+
type: integer
|
|
2779
3081
|
PropertyConditionRepresentation:
|
|
2780
3082
|
description: A Condition represents a condition under which a connection property will appear in the UI.
|
|
2781
3083
|
type: object
|
|
@@ -2801,6 +3103,47 @@ types:
|
|
|
2801
3103
|
key:
|
|
2802
3104
|
description: The key of the select option.
|
|
2803
3105
|
type: string
|
|
3106
|
+
RecipeActionPermissionsRepresentation:
|
|
3107
|
+
description: The running user's per-action availability on a recipe, one boolean
|
|
3108
|
+
per recipe action. Each flag matches what the backend would enforce for that action.
|
|
3109
|
+
type: object
|
|
3110
|
+
properties:
|
|
3111
|
+
canDelete:
|
|
3112
|
+
description: Whether the user can delete the recipe.
|
|
3113
|
+
type: boolean
|
|
3114
|
+
required: false
|
|
3115
|
+
canDownload:
|
|
3116
|
+
description: Whether the user can download the recipe.
|
|
3117
|
+
type: boolean
|
|
3118
|
+
required: false
|
|
3119
|
+
canEdit:
|
|
3120
|
+
description: Whether the user can edit the recipe.
|
|
3121
|
+
type: boolean
|
|
3122
|
+
required: false
|
|
3123
|
+
canRun:
|
|
3124
|
+
description: Whether the user can run the recipe now.
|
|
3125
|
+
type: boolean
|
|
3126
|
+
required: false
|
|
3127
|
+
canSchedule:
|
|
3128
|
+
description: Whether the user can schedule future runs of the recipe.
|
|
3129
|
+
type: boolean
|
|
3130
|
+
required: false
|
|
3131
|
+
canSetNotifications:
|
|
3132
|
+
description: Whether the user can set up notifications on the recipe.
|
|
3133
|
+
type: boolean
|
|
3134
|
+
required: false
|
|
3135
|
+
canUpload:
|
|
3136
|
+
description: Whether the user can upload / overwrite the recipe.
|
|
3137
|
+
type: boolean
|
|
3138
|
+
required: false
|
|
3139
|
+
canView:
|
|
3140
|
+
description: Whether the user can view / access the recipe's details.
|
|
3141
|
+
type: boolean
|
|
3142
|
+
required: false
|
|
3143
|
+
canMove:
|
|
3144
|
+
description: Whether the user can move the recipe from the folder it is currently associated with
|
|
3145
|
+
type: boolean
|
|
3146
|
+
required: false
|
|
2804
3147
|
RecipeCollectionRepresentation:
|
|
2805
3148
|
description: A collection of Data Prep recipes.
|
|
2806
3149
|
type: object
|
|
@@ -3118,6 +3461,12 @@ types:
|
|
|
3118
3461
|
discriminatorValue: recipe
|
|
3119
3462
|
type: BaseWaveAssetRepresentation
|
|
3120
3463
|
properties:
|
|
3464
|
+
actionPermissions:
|
|
3465
|
+
description: The running user's per-action availability on this recipe, one
|
|
3466
|
+
boolean per recipe action. Each flag matches what the backend would enforce
|
|
3467
|
+
for that action.
|
|
3468
|
+
type: RecipeActionPermissionsRepresentation
|
|
3469
|
+
required: false
|
|
3121
3470
|
conversionDetails:
|
|
3122
3471
|
description: The upconversion details when converting dataflow to R3
|
|
3123
3472
|
type: array
|
|
@@ -7483,6 +7832,87 @@ types:
|
|
|
7483
7832
|
- MaxDailySizeMedOutputCon
|
|
7484
7833
|
- OutputLocalConnectorVolume
|
|
7485
7834
|
(oas-collectionFormat): csv
|
|
7835
|
+
/platform-audit: # TODO Hand-rolled W-24314623
|
|
7836
|
+
get:
|
|
7837
|
+
description: Get the org's latest platform audit run.
|
|
7838
|
+
responses:
|
|
7839
|
+
'200':
|
|
7840
|
+
description: Success
|
|
7841
|
+
body:
|
|
7842
|
+
application/json:
|
|
7843
|
+
type: PlatformAuditSnapshotRepresentation
|
|
7844
|
+
post:
|
|
7845
|
+
description: Trigger a new platform audit run.
|
|
7846
|
+
responses:
|
|
7847
|
+
'200':
|
|
7848
|
+
description: Success
|
|
7849
|
+
body:
|
|
7850
|
+
application/json:
|
|
7851
|
+
type: PlatformAuditRepresentation
|
|
7852
|
+
/platform-audit/{auditId}: # TODO Hand-rolled W-24314623
|
|
7853
|
+
get:
|
|
7854
|
+
description: Get a specific platform audit run.
|
|
7855
|
+
responses:
|
|
7856
|
+
'200':
|
|
7857
|
+
description: Success
|
|
7858
|
+
body:
|
|
7859
|
+
application/json:
|
|
7860
|
+
type: PlatformAuditRepresentation
|
|
7861
|
+
uriParameters:
|
|
7862
|
+
auditId:
|
|
7863
|
+
type: string
|
|
7864
|
+
required: true
|
|
7865
|
+
/platform-audit/{auditId}/checks/{checkId}: # TODO Hand-rolled W-24314623
|
|
7866
|
+
get:
|
|
7867
|
+
description: Get a single check's result within a platform audit run.
|
|
7868
|
+
responses:
|
|
7869
|
+
'200':
|
|
7870
|
+
description: Success
|
|
7871
|
+
body:
|
|
7872
|
+
application/json:
|
|
7873
|
+
type: PlatformAuditCheckRepresentation
|
|
7874
|
+
uriParameters:
|
|
7875
|
+
auditId:
|
|
7876
|
+
type: string
|
|
7877
|
+
required: true
|
|
7878
|
+
checkId:
|
|
7879
|
+
type: string
|
|
7880
|
+
required: true
|
|
7881
|
+
/platform-audit/{auditId}/report: # TODO Hand-rolled W-24362345
|
|
7882
|
+
get:
|
|
7883
|
+
description: Resolve the audit run's already-generated PDF report and return a
|
|
7884
|
+
reference to the downloadable File.
|
|
7885
|
+
responses:
|
|
7886
|
+
'200':
|
|
7887
|
+
description: Success
|
|
7888
|
+
body:
|
|
7889
|
+
application/json:
|
|
7890
|
+
type: AssetReferenceRepresentation
|
|
7891
|
+
post:
|
|
7892
|
+
description: Generate or reuse the audit run's PDF report and return a reference
|
|
7893
|
+
to the downloadable File.
|
|
7894
|
+
responses:
|
|
7895
|
+
'200':
|
|
7896
|
+
description: Success
|
|
7897
|
+
body:
|
|
7898
|
+
application/json:
|
|
7899
|
+
type: PlatformAuditReportRepresentation
|
|
7900
|
+
uriParameters:
|
|
7901
|
+
auditId:
|
|
7902
|
+
type: string
|
|
7903
|
+
required: true
|
|
7904
|
+
/platform-audit/history: # TODO Hand-rolled W-24314623
|
|
7905
|
+
get:
|
|
7906
|
+
description: Get the org's platform-audit history, most recent first. Returns an
|
|
7907
|
+
empty collection (not a 404) when no runs exist. The connect resource hardcodes
|
|
7908
|
+
offset=0/limit=200 server-side and ignores client-supplied paging params;
|
|
7909
|
+
see W-24314623 comments before adding offset/limit here.
|
|
7910
|
+
responses:
|
|
7911
|
+
'200':
|
|
7912
|
+
description: Success
|
|
7913
|
+
body:
|
|
7914
|
+
application/json:
|
|
7915
|
+
type: PlatformAuditCollectionRepresentation
|
|
7486
7916
|
/unsupportedFeatures:
|
|
7487
7917
|
get:
|
|
7488
7918
|
description: Retrieves a list of unsupported features for the current environment.
|
package/src/raml/luvio.raml
CHANGED
|
@@ -47,6 +47,33 @@ types:
|
|
|
47
47
|
(luvio.ttl): 300
|
|
48
48
|
DatasetCoverageRepresentation:
|
|
49
49
|
(luvio.ttl): 300
|
|
50
|
+
PlatformAuditRepresentation: # TODO Hand-rolled W-24314623
|
|
51
|
+
(luvio.ttl): 5000
|
|
52
|
+
(luvio.key):
|
|
53
|
+
id: auditId
|
|
54
|
+
PlatformAuditSnapshotRepresentation: # TODO Hand-rolled W-24314623
|
|
55
|
+
(luvio.ttl): 5000
|
|
56
|
+
# No (luvio.key): getPlatformAuditCheck's URI carries auditId/checkId, but a
|
|
57
|
+
# resource-level key only takes effect if the return type ALSO defines a
|
|
58
|
+
# type-level (luvio.key) (see @luvio/compiler's key-builder.js), and this
|
|
59
|
+
# type's response body has no auditId/checkId field to key on. So this caches
|
|
60
|
+
# by request path only.
|
|
61
|
+
PlatformAuditCheckRepresentation: # TODO Hand-rolled W-24314623
|
|
62
|
+
(luvio.ttl): 300
|
|
63
|
+
PlatformAuditCheckCollectionRepresentation: # TODO Hand-rolled W-24314623
|
|
64
|
+
(luvio.ttl): 300
|
|
65
|
+
PlatformAuditFindingRepresentation: # TODO Hand-rolled W-24314623
|
|
66
|
+
(luvio.ttl): 300
|
|
67
|
+
PlatformAuditUrgencyRepresentation: # TODO Hand-rolled W-24314623
|
|
68
|
+
(luvio.ttl): 300
|
|
69
|
+
PlatformAuditSummaryRepresentation: # TODO Hand-rolled W-24314623
|
|
70
|
+
(luvio.ttl): 300
|
|
71
|
+
PlatformAuditCollectionRepresentation: # TODO Hand-rolled W-24314623
|
|
72
|
+
(luvio.ttl): 300
|
|
73
|
+
PlatformAuditReportRepresentation: # TODO Hand-rolled W-24362345
|
|
74
|
+
(luvio.ttl): 300
|
|
75
|
+
(luvio.key):
|
|
76
|
+
id: id
|
|
50
77
|
RecipeCollectionRepresentation:
|
|
51
78
|
(luvio.opaque): true
|
|
52
79
|
(luvio.ttl): 300
|
|
@@ -331,6 +358,40 @@ types:
|
|
|
331
358
|
get:
|
|
332
359
|
(luvio.adapter):
|
|
333
360
|
name: getAnalyticsLimits
|
|
361
|
+
/platform-audit: # TODO Hand-rolled W-24314623
|
|
362
|
+
get:
|
|
363
|
+
(luvio.adapter):
|
|
364
|
+
name: getLatestPlatformAudit
|
|
365
|
+
post:
|
|
366
|
+
(luvio.adapter):
|
|
367
|
+
name: triggerPlatformAudit
|
|
368
|
+
/platform-audit/{auditId}: # TODO Hand-rolled W-24314623
|
|
369
|
+
get:
|
|
370
|
+
(luvio.adapter):
|
|
371
|
+
name: getPlatformAudit
|
|
372
|
+
(luvio.key):
|
|
373
|
+
id: urlParams.auditId
|
|
374
|
+
/platform-audit/{auditId}/checks/{checkId}: # TODO Hand-rolled W-24314623
|
|
375
|
+
get:
|
|
376
|
+
(luvio.adapter):
|
|
377
|
+
name: getPlatformAuditCheck
|
|
378
|
+
/platform-audit/{auditId}/report: # TODO Hand-rolled W-24362345
|
|
379
|
+
# No (luvio.key): the GET response is an AssetReferenceRepresentation, which has
|
|
380
|
+
# no auditId field to key on (same reasoning as getPlatformAuditCheck above), so
|
|
381
|
+
# this caches by request path only.
|
|
382
|
+
get:
|
|
383
|
+
(luvio.adapter):
|
|
384
|
+
name: getPlatformAuditReport
|
|
385
|
+
# POST uses the separate, keyed PlatformAuditReportRepresentation type (see
|
|
386
|
+
# api.raml) because Luvio requires a POST adapter's return shape to define a
|
|
387
|
+
# (luvio.key).
|
|
388
|
+
post:
|
|
389
|
+
(luvio.adapter):
|
|
390
|
+
name: generatePlatformAuditReport
|
|
391
|
+
/platform-audit/history: # TODO Hand-rolled W-24314623
|
|
392
|
+
get:
|
|
393
|
+
(luvio.adapter):
|
|
394
|
+
name: getPlatformAuditHistory
|
|
334
395
|
/unsupportedFeatures:
|
|
335
396
|
get:
|
|
336
397
|
(luvio.adapter):
|