Documentation
¶
Overview ¶
Package sms wraps Tencent Cloud SMS template + sign listing for the cloudlist `sms` asset.
Tencent's SMS API requires explicit ID sets to query — there is no "list all templates" endpoint with empty filter. We pass an empty IDSet which the service treats as "no targets" and surfaces nothing useful, so callers must populate IDs externally; this driver is therefore a best- effort enumeration. CSPM detection still benefits from the schema slot being filled (templates the operator already knows about).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
Credential auth.Credential
Region string
SignIDs []uint64
TemplateIDs []uint64
// contains filtered or unexported fields
}
func (*Driver) GetResource ¶
GetResource fills schema.Sms with sign + template summaries. With empty SignIDs / TemplateIDs the response will be empty (Tencent requires explicit IDs); the schema slot is still populated so cloudlist output is consistent.